Preview your Discord markdown before you send it
Discord markdown is a smaller set of formatting than the markdown on GitHub, with a few things of its own: spoilers, underline and small grey subtext. Type a message below and the preview shows roughly how Discord will draw it. That way a broken spoiler, or a heading that did not render, shows up here and not in front of your whole server.
Writing something longer, like a README or a changelog? The markdown cheat sheet covers the full markdown that works elsewhere, and the README preview shows how GitHub will draw a file.
Discord markdown live preview
Edit the sample or paste your own message, and the preview updates as you type. You write the symbols yourself, the same way you would in Discord. Click a spoiler to reveal it.
415 / 2,000
Preview
/roll 2d6.
const rules = ['be kind', 'no spam'];Discord markdown guide: what each symbol does
Every line below works in an ordinary chat message. Leave a space after #, -#, -, > and >>>, or Discord shows them as typed. Headings and quotes only work at the start of a line.
| What it does | Type this | You get |
|---|---|---|
| Italic | *text* or _text_ | Slanted letters |
| Bold | **text** | Thicker letters |
| Bold italic | ***text*** | Thick and slanted |
| Underline | __text__ | A line under the text |
| Strikethrough | ~~text~~ | A line through the text |
| Spoiler | ||text|| | Hidden until someone clicks it |
| Inline code | `text` | Monospace text inside a sentence |
| Code block | ``` | A box of monospace text. Put three backticks on the line before your code and on the line after it. |
| Quote | > text | One quoted line |
| Multi-line quote | >>> text | Everything after it is quoted |
| Heading | # text, ## text or ### text | Large, medium or smaller heading |
| Subtext | -# text | Small grey text |
| List | - item, * item or 1. item | Bullets or numbers |
| Link | [words](https://example.com) | Clickable words |
Checked against Discord's own guide, Markdown Text 101, on 1 December 2026. Discord changes its formatting from time to time, so that guide is the place to confirm anything that looks different.
Does Discord support markdown tables?
No. Discord's formatting guide has no table, image or HTML syntax, and a table typed into a message shows as plain pipes and dashes. If you need columns to line up, put the rows in a code block so they use a monospace font. This preview shows tables the same way, as plain text.
``` Name Score Asha 12 Ravi 9 ```
How do I make a link in Discord markdown?
Put the words in square brackets and the address in round brackets straight after them. Discord shows readers a prompt before they open a link hidden behind words. To stop a pasted address from making an embed, wrap it in angle brackets.
[the events page](https://example.com/events) <https://example.com/events>
How do I strike through text in Discord?
Put two tildes on each side of the words. They stay readable with a line through them. You can put another style inside, like bold, to combine the two.
~~old plan~~ ~~**old plan**~~
How do I hide a spoiler in Discord?
Put two vertical bars on each side of the words. Readers see a dark block until they click it. A spoiler around a link hides the embed too. Inside a code block nothing is hidden, because code stays as typed.
||the butler did it||
What is subtext in Discord?
Subtext is small grey text. Start the line with -# and a space. It works on any line of a message, so it suits a date or a footnote under a longer post.
-# Last updated 1 December
How do I make a list in Discord?
Start each line with - or * and a space for bullets, or with a number and a full stop for a numbered list. Indent a line with spaces to nest it under the one above.
- first - second - nested 1. one 2. two
How do I add a code block in Discord?
Put three backticks on a line, then your code, then three backticks to close. Add a language name straight after the opening backticks to ask for colour. Discord's guide says the mobile app does not show it. For code inside a sentence, use one backtick on each side. This preview shows code in plain monospace, without colour.
```js const name = "Asha"; ```
How do I stop Discord from formatting my text?
Put a backslash in front of the symbol. For a longer stretch, put the text in a code block, where nothing is formatted. This preview follows the same rule.
\*not italic\*
What this preview does not do
It gets close to Discord but is not a copy. It does not draw timestamps, mentions, custom emoji, embeds or the colours Discord adds to code blocks, and fonts and spacing differ a little between the desktop app, the browser and a phone. Before you post something important, paste it into Discord and check it there. Nothing you type here leaves your browser.