Technical Documentation

Discord Markdown & Text Formatting Guide

Discord uses a customized flavor of Markdown tailored for real-time messaging. This technical reference explains all supported formatting rules, limits, and edge cases.

Interactive Formatting Sandbox

Markdown Editor0 / 2,000
0 Characters0 Words0 Lines
Standard: Within Limit
Copied to Clipboard!
0%

Quick Syntax Reference

Essential Discord formatting patterns at a glance with instant copy shortcuts.

View Complete Cheat Sheet →
ElementSyntax PatternRendered EffectCopy
Bold**bold text**bold text
Italic*italic text*italic text
Underline__underlined text__underlined text
Strikethrough~~crossed out~~crossed out
Spoiler Mask||hidden secret||hidden secret
Inline Code`const app = 1;`const app = 1;
Blockquote> Quoted line
Quoted line
Heading 1# Large HeaderLarge Header
Subtext Footnote-# Small subtextSmall subtext
Dynamic Timestamp<t:1774435200:R>🕒 in 3 weeks
Masked Link[MarkdownDiscord](https://markdowndiscord.com)MarkdownDiscord
Suppress Embed Link<https://markdowndiscord.com>https://...

Text Styling & Emphasis

Standard text formatting in Discord supports bold, italics, underline, strikethrough, and nested combinations.

**bold** → Bold text
*italic* or _italic_ → Italic text
__underline__ → Underlined text
~~strike~~ → Strikethrough
__***combo***__ → Underlined Bold Italic

Spoilers & Dynamic Timestamps

Spoilers hide content behind interactive black masks. Timestamps dynamically convert Unix epoch seconds into each reader's local timezone.

||secret|| → Clickable spoiler bar
<t:1774435200:R> → Relative time ("in 2 hours")
<t:1774435200:F> → Long localized date & time

Headings & Subtext

Discord supports 3 heading levels and a special subtext header (-#). Always include a space after the prefix.

# Header 1 → Large title
## Header 2 → Medium subtitle
### Header 3 → Small section header
-# Footnote → Subtle muted subtext

Code Blocks & Syntax Highlighting

Enclose code in triple backticks with a language keyword (e.g. js, py, json, cpp, bash, diff, ansi).

`inline code` → Monospace badge
```python ... ``` → Highlighted Python block