Discord Text Formatter and Markdown Preview

Write a Discord message with bold, underline, spoilers, headers, subtext, lists, quotes and code blocks, and see how it will look before you send it. Click a button to wrap the selected text.

353 / 2000
Game night is Friday
Bring snacks, and don't forget to install the update first.
Last week's scores are pinned.
•Doors open at 7
•Voice channel: Lounge
◦Spectators welcome
1.Warm-up round
2.Tournament
Rules are in #rules
The winner is Sam, again.
console.log("see you there")

Click a spoiler in the preview to reveal it. The preview is an approximation of Discord's own renderer.

Discord text formatting, quick reference

These are the formats in Discord's own Markdown Text 101 help article (updated November 2026), which also covers spoilers.

You typeYou get
*italics* or _italics_italics
**bold**bold
***bold italics***bold italics
__underline__underline
__**underline bold**__underline bold
~~strikethrough~~strikethrough
||spoiler||hidden until clicked
# Big header, ## Smaller, ### Smallestheaders (needs the space after #)
-# small textgrey subtext
[text](https://example.com)masked link
- item or * item, indent 2 spaces to nestbulleted list
1. itemnumbered list
> quoteone-line block quote
>>> quotequote that runs to the end of the message
`code`inline code
```js ... ```multi-line code block with syntax highlighting

What Discord does not support

  • Tables. A Markdown table shows as raw pipes. Put it in a code block so the columns stay aligned. The "Clean up pasted Markdown" button does this for you.
  • Images in Markdown (![alt](url)). Paste the image URL on its own line or upload the file instead.
  • Headers deeper than ###. #### is shown as plain text.
  • Horizontal rules (---) and footnotes.
  • Text color outside code blocks. Use an ansi code block for colored text.
  • Spoilers inside code blocks. Discord's help article says a code block cancels spoiler formatting.

Why paste ChatGPT or Claude output here first

AI chat answers are full Markdown: tables, #### headings, horizontal rules and images. Pasted straight into Discord, they show stray pipes and dashes. "Clean up pasted Markdown" turns tables into code blocks, demotes deep headings to bold, removes horizontal rules and turns images into links, then you can check the preview before posting.

Escaping formatting characters

Put a backslash before a character to show it literally: \*not italic\*. Inline code also stops formatting, so `**this**` shows the asterisks.

More Discord tools