B
Basic Text Formatting
8 formats
| Syntax | Result | Name |
|---|---|---|
**bold** |
bold | Bold |
*italic* |
italic | Italic |
_italic_ |
italic | Italic (alt) |
__underline__ |
underline | Underline |
~~strikethrough~~ |
Strikethrough | |
***bold italic*** |
bold italic | Bold Italic |
__*under+italic*__ |
underline italic | Combined |
||spoiler|| |
spoiler — click me | Spoiler |
💡 Click the spoiler above to reveal it.
</>
Code Formatting
3 types
| Syntax | Use Case |
|---|---|
`inline code` |
Short snippets, commands, variable names |
```code block``` |
Multi-line code, no syntax highlighting |
```python |
Syntax highlighting (python, js, css, go, rust…) |
Example Discord message
You
Use
npm install first, then run:
node index.js --port 3000
Works with python too!
H
Headers & Lists
5 elements
| Syntax | Result |
|---|---|
# Heading 1 |
Heading 1 |
## Heading 2 |
Heading 2 |
### Heading 3 |
Heading 3 |
- item |
• Bullet list item |
1. item |
1. Numbered item |
> quote |
quote text |
>>> multi |
multi-line blockquote |
ℹ️ Headers (#) were added to Discord in 2023.
★
Discord-Specific Features
6 features
| Syntax | What it does |
|---|---|
||spoiler|| |
Hidden text revealed on click |
-# small text |
Subtext / smaller font |
\*escaped\* |
Backslash escapes formatting |
@username |
Mentions a user |
#channel |
Links to a channel |
:emoji: |
Custom server emoji |
▶
Live Discord Formatter
Type Discord Markdown on the left and see a Discord-style preview on the right. Click a quick button to insert example syntax.
Your Discord Message
Discord Preview
You
?
Frequently Asked Questions
How do I make text bold in Discord?
Wrap the text with double asterisks:
**bold text**. The result will appear bold in all Discord clients.
How do I create a spoiler in Discord?
Use double vertical bars:
||your spoiler||. The text is hidden until clicked by the reader.
Does Discord support syntax highlighting in code blocks?
Yes. Add a language name right after the opening triple backticks — for example
```python or ```javascript. Discord will highlight the code accordingly.
How do I use headers in Discord?
Use one, two, or three hash symbols at the start of a line:
# H1, ## H2, ### H3. Discord added header support in 2023.
Can I combine bold and italic in Discord?
Yes. Use triple asterisks for bold italic:
***bold italic***. You can also combine underline and italic: __*underline italic*__.
How do I stop Discord from formatting my text?
Put a backslash before the symbol to escape it. For example, type
\**not bold\** to show literal asterisks without bold formatting.