Discord Text Formatting Generator
Type your text once and copy the exact Discord markdown for every style — bold, italic, spoilers, strikethrough, code blocks, headers, and even colored text.
Bold
**your text here**
Two asterisks each side
Italic
*your text here*
One asterisk each side
Bold italic
***your text here***
Three asterisks each side
Underline
__your text here__
Two underscores each side
Strikethrough
~~your text here~~
Two tildes each side
Spoiler (hidden)
||your text here||
Two pipes each side — click to reveal
Inline code
`your text here`
Single backticks
Code block
``` your text here ```
Triple backticks on their own lines
Quote
> your text here
Greater-than plus a space
Big header (H1)
# your text here
One hash plus a space
Medium header (H2)
## your text here
Two hashes plus a space
Small header (H3)
### your text here
Three hashes plus a space
Masked link
[your text here](https://example.com)
Replace the URL — works in embeds
Green text (code)
```diff + your text here ```
diff code block, + prefix
Red text (code)
```diff - your text here ```
diff code block, - prefix
How to use it
- 1
Type your text
Enter it once at the top.
- 2
See every style
Bold, spoiler, strikethrough, code, colors, and more.
- 3
Copy the markdown
One click copies the exact syntax.
- 4
Paste into Discord
It renders instantly in any channel or DM.
How Discord formatting works
Discord uses Markdown, a lightweight syntax where symbols around your text change how it renders. Asterisks control bold and italic, tildes strike text through, double pipes hide spoilers, and backticks create code. Because it's all plain characters, you can type it directly — this tool just saves you remembering which symbol does what and lets you copy clean output every time.
The colored text trick
Discord deliberately has no color picker, but syntax highlighting inside code blocks lets you cheat. A code block marked with the diff language colors any line starting with+ green and any line starting with - red. Other languages give other palettes — fix yields yellow, css can produce orange in brackets. It only renders in color on desktop and web, so use it for emphasis, not critical information your mobile users must see.
Combining styles
You can nest most formats: **__bold underline__**, or a spoiler inside a quote. The order of the symbols doesn't matter as long as each pair closes. The two things that don't combine are code (backticks disable all other markdown inside them, on purpose) and colored diff blocks, which are themselves code.
Frequently asked questions
How do I hide text (spoiler) in Discord?+
Wrap the text in double pipes: ||like this||. It shows up as a blacked-out spoiler that other users click to reveal. On mobile, long-press the selected text and choose Spoiler, or type the pipes manually. To spoiler an image, upload it and tick “Mark as spoiler” before sending.
How do I cross out text in Discord?+
Put two tildes on each side: ~~like this~~ renders as strikethrough. It's the same syntax as bold or italic, just with tildes.
How do I make bold text in Discord?+
Wrap it in double asterisks: **bold**. Use single asterisks for *italic*, three for ***bold italic***, and double underscores for __underline__.
Can you use colored text in Discord?+
Discord has no native color picker, but you can fake it with syntax-highlighted code blocks. A triple-backtick block with the “diff” language turns lines starting with + green and lines starting with - red. This tool generates both for you. Note: colors only show on desktop, not mobile.
How do I make headers in Discord?+
Start a line with #, ##, or ### followed by a space for large, medium, or small headers. Headers were added to Discord in 2023 and work in messages, not just posts.
Does Discord formatting work on mobile?+
Markdown (bold, italic, spoilers, code) works everywhere. The one exception is colored text via diff code blocks — the color highlighting only renders on the desktop and web apps, though the text still appears (just uncolored) on mobile.
How do I write a code block in Discord?+
Wrap text in triple backticks for a multi-line code block, or single backticks for inline code. Add a language name right after the opening triple backticks (like ```js) for syntax highlighting.
Building Discord bots or tools?
Captapi returns social profiles, posts, and stats as clean JSON across TikTok, Instagram, YouTube, Twitch, and more. Start free with 100 credits.
- 100 free credits, no card required
- 179 endpoints across 29 platforms
- Clean JSON — MCP, CLI, n8n, Make & Apify ready