Discord Markdown Cheat Sheet
Master Discord's markdown syntax for better message formatting. Learn how to use bold, italic, code blocks, spoilers, mentions, and more to enhance your Discord communication.
Quick Reference
Jump to any Discord syntax to get started quickly
Inline Elements
(18 items)Block Elements
(8 items)Discord Markdown Syntax
Essential Discord markdown elements for formatting messages, creating emphasis, and organizing content. These features help you communicate more effectively on Discord servers and direct messages.
Inline Elements
Plain Text
inlineBasic text content without any special formatting.
Discord Input
Plain text message.
Rendered Output
💡 Tips
- No special syntax needed for regular text.
- Forms the foundation of all Discord messages.
Bold Text
inlineMake text bold using double asterisks.
Discord Input
**bold text**
Rendered Output
💡 Tips
- Use double asterisks: **text**
- Works within sentences and across multiple words.
- Cannot be nested with other formatting without closing tags properly.
Italic Text
inlineMake text italic using single asterisks or underscores.
Discord Input
*italic text* or _italic text_
Rendered Output
💡 Tips
- Use single asterisks: *text* or underscores: _text_.
- Both methods work identically.
- Avoid mixing symbols in the same phrase to prevent parsing issues.
Bold Italic Text
inlineCombine bold and italic formatting using triple asterisks.
Discord Input
***bold italic text***
Rendered Output
💡 Tips
- Use triple asterisks: ***text***.
- Combines both bold and italic formatting.
- Ensure you have exactly three asterisks on each side.
Underlined Text
inlineUnderline text using double underscores.
Discord Input
__underlined text__
Rendered Output
💡 Tips
- Use double underscores: __text__.
- Discord-specific formatting not available in standard Markdown.
- Useful for highlighting important information.
Strikethrough Text
inlineCross out text using double tildes.
Discord Input
~~strikethrough text~~
Rendered Output
💡 Tips
- Use double tildes: ~~text~~.
- Useful for showing corrections or humor.
- Can be combined with other formatting if nested properly.
Spoiler Text
inlineHide text behind spoiler bars using double pipes.
Discord Input
||spoiler text||
Rendered Output
💡 Tips
- Use double pipes: ||text||.
- Text is hidden until clicked by users.
- Perfect for plot spoilers or sensitive content.
- Discord-specific feature.
Inline Code
inlineDisplay code inline using single backticks.
Discord Input
`inline code`
Rendered Output
inline code
💡 Tips
- Use single backticks: `code`.
- Text appears in monospace font with a gray background.
- Useful for commands, variables, or short code snippets.
User Mentions
inlineMention users using @ symbol with user ID.
Discord Input
<@123456789012345678>
Rendered Output
💡 Tips
- Format: `<@userID>`.
- User receives a notification when mentioned.
- ID can be obtained by enabling Developer Mode in Discord.
- Appears as clickable username in Discord.
Channel Mentions
inlineLink to channels using the hash symbol with channel ID.
Discord Input
<#123456789012345678>
Rendered Output
💡 Tips
- Format: `<#channelID>`.
- Creates a clickable link to the channel.
- Appears as #channel-name in Discord.
- Users can click to navigate to the channel.
Role Mentions
inlineMention roles using @ symbol with role ID.
Discord Input
<@&123456789012345678>
Rendered Output
💡 Tips
- Format: `<@&roleID>`.
- All users with that role get notified.
- Use carefully to avoid spam notifications.
- Appears in role color if configured.
@everyone Mention
inlineNotify all members in the current channel.
Discord Input
@everyone Attention!
Rendered Output
💡 Tips
- Type `@everyone` to notify everyone in the channel, whether online or offline.
- Use sparingly—overuse can lead to annoyance or being muted by admins.
- Cannot be suppressed by role permissions unless specifically disabled.
@here Mention
inlineNotify all online members in the current channel.
Discord Input
@here Show of hands!
Rendered Output
💡 Tips
- Type `@here` to notify only those currently online or idle.
- Won’t ping offline members.
- Useful for getting attention without disturbing everyone offline.
Unicode Emojis
inlineUse standard Unicode emojis directly in text or via shortcodes.
Discord Input
:smile: :thumbsup: or 😀 👍
Rendered Output
💡 Tips
- Copy and paste Unicode emojis directly into messages.
- Alternatively use shortcode `:shortcode:`, e.g., `:smile:`.
- Client automatically replaces shortcodes with corresponding emojis.
- Works on all platforms—no special server permissions needed.
Escaped Characters
inlineDisplay Discord formatting characters literally using backslashes.
Discord Input
\*not italic\* \`not code\`
Rendered Output
💡 Tips
- Use backslash before special characters (\*, \_, \`, \~, \|) to display them literally.
- Useful when you want to show Discord syntax without formatting.
- Ensure you escape each special character you want to show.
Links
inlineDiscord automatically formats URLs as clickable links.
Discord Input
https://discord.com
Rendered Output
💡 Tips
- URLs are auto-converted to clickable links.
- Link previews (embed cards) appear by default for supported websites.
- To suppress a preview, wrap the URL in angle brackets: `<https://discord.com>`.
Masked Links
inlineCreate links with custom text using bracket and parenthesis syntax.
Discord Input
[Click here](https://discord.com)
Rendered Output
💡 Tips
- Format: `[display text](URL)`.
- Hides the actual URL behind custom text.
- Some clients may show a URL preview on hover.
- Use with caution—can be used for phishing if misused.
Timestamps
inlineDisplay dynamic timestamps using Unix timestamp format.
Discord Input
<t:1640995200:F>
Rendered Output
💡 Tips
- Format: `<t:timestamp:style>`.
- Styles: `t` (short time), `T` (long time), `d` (short date), `D` (long date), `f` (short datetime), `F` (long datetime), `R` (relative).
- Timestamp must be an integer Unix time (seconds since epoch).
- Automatically adjusts to each user’s timezone.
Block Elements
Block Spoiler
blockHide multi-line spoilers (text or images) using >! and !<.
Discord Input
>! This is a hidden spoiler line
And this line is also hidden !<
Rendered Output
And this line is also hidden
💡 Tips
- Use `>!` at the start and `!<` at the end of the content to hide.
- Everything between `>!` and `!<` will be concealed until clicked.
- Supports multiple lines and even images when between the tags.
Code Blocks
blockDisplay multiple lines of code using triple backticks.
Discord Input
```
multi-line
code block
```
Rendered Output
multi-line
code block
💡 Tips
- Use triple backticks for multi-line code.
- All text inside is displayed in monospace font.
- Preserves formatting and line breaks.
- Does not perform syntax highlighting by default.
Syntax Highlighted Code Blocks
blockAdd syntax highlighting by specifying a language after the opening backticks.
Discord Input
```javascript
function hello() {
console.log("Hello Discord!");
}
```
Rendered Output
function hello() {
console.log("Hello Discord!");
}
💡 Tips
- Add the language name (e.g., javascript, python, css, diff, yaml) immediately after the opening triple backticks.
- Supports many languages: javascript, python, css, html, diff, yaml, bash, etc.
- Makes code more readable with color coding in supported Discord clients.
Diff Highlight
blockHighlight additions and deletions using diff syntax in a code block.
Discord Input
```diff
+ Added line
- Removed line
```
Rendered Output
+ Added line
- Removed line
💡 Tips
- Use ```diff to start a diff-highlighted block.
- + at the beginning of a line highlights it in green; - highlights in red.
- Great for showing code changes or patches.
Block Quotes
blockCreate quote blocks using the greater-than symbol.
Discord Input
> This is a quote
> spanning multiple lines
Rendered Output
This is a quote
spanning multiple lines
💡 Tips
- Use `>` at the beginning of each line you want to quote.
- Great for quoting other messages or emphasizing text.
- Can contain other formatting like bold or italic inside.
Multi-line Block Quotes
blockCreate multi-line quotes using triple greater-than symbols.
Discord Input
>>> This is a multi-line quote
All text after >>> will be quoted
Until the message ends
Rendered Output
This is a multi-line quote
All text after >>> will be quoted
Until the message ends
💡 Tips
- Use `>>>` at the beginning for multi-line quotes.
- Everything after `>>>` becomes part of the quote until the message ends.
- No need to add `>` to each subsequent line.
- Discord-specific feature; requires no additional `>` on each line.
Headers
blockCreate headers using hash symbols (limited Discord support).
Discord Input
# Large Header
## Medium Header
### Small Header
Rendered Output
Large Header
Medium Header
Small Header
💡 Tips
- Limited support in Discord—mainly works in embeds (bot messages or rich embed content).
- In normal chat, Discord does not automatically resize header text.
- Better to use **bold text** or **__underline__** for emphasis in regular messages.
Lists
blockCreate simple lists using hyphens or numbers (limited Discord support).
Discord Input
- First item
- Second item
- Third item
1. First step
2. Second step
3. Third step
- Parent item
- Child item
- Grandchild item
Rendered Output
- First item
- Second item
- Third item
- First step
- Second step
- Third step
- Parent item
- Child item
- Grandchild item
- Child item
💡 Tips
- Unordered lists: use hyphens (`- `) at the start of each line.
- Ordered lists: use numbers with periods (`1. `) at the start.
- Nested lists require indentation (two spaces per level) in Discord to visually appear nested.
- Lists in normal chat do not auto-indent; they simply display bullet or number prefixes.
Explore More Cheatsheets
Discover other Markdown guides for different platforms and use cases
Markdown Cheatsheet
Complete guide to standard Markdown syntax with examples and live previews