Discord uses a Markdown-style syntax that lets you format text directly in the message box. Wrap words in asterisks for bold, underscores for italic, tildes for strikethrough, backticks for code, and double pipes for spoilers. No apps or bots needed. Type the symbols around your text and Discord renders the formatting instantly.
Quick-reference table
| Format | Syntax |
|---|---|
| Bold | **text** |
| Italic | *text* or _text_ |
| Bold italic | ***text*** |
| Underline | __text__ |
| Strikethrough | ~~text~~ |
| Spoiler | ` |
| Inline code | `text` |
| Code block | Three backticks before and after |
| Block quote | > text or >>> text |
| Header | # / ## / ### before text |
| List | - item or 1. item |
| Link | [text](url) |
Each of these is covered in detail below.
Bold
Type two asterisks before and after your text: **like this**. Discord renders it in bold. This is the most common formatting option and works the same way Markdown bold works on other platforms.
Bold is useful for emphasizing key points in longer messages or making announcements stand out in busy channels. For a broader look at using bold text across different apps and platforms, see our guide on how to format bold text.
Italic
You have two options for italics. Wrap text in a single asterisk (*like this*) or a single underscore (_like this_). Both produce the same result.
The asterisk method is generally more reliable when you're mixing italic with other formatting. Underscores can sometimes conflict with Discord's underline syntax if you're not careful with spacing.
Underline
Discord includes underline formatting that standard Markdown does not. Type two underscores before and after your text: __like this__.
This is one area where Discord's Markdown variant differs from the original spec. In standard Markdown, double underscores produce bold text. In Discord, they produce underlined text. Keep this difference in mind if you use Markdown on other platforms.
Strikethrough
Wrap text in two tildes on each side: ~~like this~~. The result is text with a horizontal line through the middle.
Strikethrough works well for corrections, crossing items off a list, or adding a humorous retraction to a message.
Combining bold, italic, and underline
You can stack formatting symbols to combine multiple styles in a single piece of text:
- Bold italic:
***text***(three asterisks on each side) - Underline italic:
__*text*__(double underscores wrapping single asterisks) - Underline bold:
__**text**__(double underscores wrapping double asterisks) - Underline bold italic:
__***text***__(double underscores wrapping triple asterisks)
The order matters. Place the underline markers on the outside, with bold and italic markers nested inside them.
Inline code and code blocks
For short code snippets within a sentence, wrap the text in a single backtick on each side. Discord displays it in a monospace font with a gray background, making it visually distinct from regular text. This is handy for mentioning variable names, commands, or short technical references.
For multi-line code, place three backticks on a line by themselves before your code and three backticks on a line after it. Discord renders this as a separate code box with its own background.
You can also add a language name right after the opening three backticks (for example, python or javascript) to enable syntax highlighting. Discord supports highlighting for dozens of programming languages, including Python, JavaScript, CSS, HTML, Java, C++, Ruby, and many more.
For a deeper look at monospace formatting, see our guide to monospace text on Discord.
Block quotes
Start a line with > followed by a space to create a single-line block quote. Discord displays it with a vertical bar on the left side, visually setting the quoted text apart from the rest of your message.
Use >>> followed by a space to quote everything that follows in your message, spanning multiple lines. This is useful when you want to quote a longer passage or respond to a multi-paragraph message.
Spoiler tags
Wrap text in double pipes to mark it as a spoiler: ||like this||. The text appears blacked out until the reader clicks on it to reveal the content.
Spoiler tags also work on images and file attachments. When you upload an image, you can mark it as a spoiler so it stays hidden until someone deliberately reveals it. This is useful for content warnings or hiding answers to questions in community channels.