How to Format Text on Discord: Bold, Italics, Spoilers
To format text on Discord, wrap words in symbols before and after them: bold, italics, underline, strikethrough, and ||spoiler||. Start a line with # for a header, -# for small subtext, > for a quote, or – for a list. Discord has no font menu or color picker, so these symbols are the whole system, and they work on desktop, in a browser, and on phones.
Intro
Discord has no bold button and no font menu in the message box. Formatting works with Markdown, a plain text system where a few symbols around your words change how they look. You type the symbols yourself, and Discord renders them when you send the message. Our site started as a text repeater, and the same copy-paste tricks power the Discord guides below.
This post covers every formatting code Discord supports: bold, italic, underline, strikethrough, headers, subtext, spoilers, code, block quotes, lists, masked links, and colored text. It also covers what does not work and the two rules that fix almost every failed format.
What is Discord text formatting?
Discord formats messages with Markdown, a plain text system where symbols around words change how they look. You type the symbols yourself, and Discord renders them when you send the message. There is no font menu, no bold button in the message box on desktop, and no color picker. The symbols are the formatting.
Formatting works in text channels, direct messages, group chats, threads, and forum posts, and in your About Me. It does not work in usernames, display names, server nicknames, or channel names. Those fields show the symbols as typed, which is why styled names use Unicode letters instead. Our Fancy Text Generator makes those styles: https://quicktextrepeater.com/fancy-text-generator/
Two rules cover almost every mistake. First, keep the symbols tight against the words. ** bold ** with spaces does not work. Second, whole-line styles (headers, subtext, quotes, lists) must start at the beginning of a line, with a space after the marker. A # mid-sentence does nothing.
Discord formatting cheat sheet
| Format | Type this | Result |
|---|---|---|
| Bold | text | bold text |
| Italic | text or text | slanted text |
| Bold italic | text | bold and slanted |
| Underline | text | underlined text |
| Strikethrough | crossed out text | |
| Spoiler | ||text|| | hidden until clicked |
| Inline code | text | fixed width text |
| Header 1, 2, 3 | # text, ## text, ### text | large, medium, small heading |
| Subtext | -# text | small grey text |
| Quote | > text | quoted line |
| Multi-line quote | >>> text | everything after is quoted |
| Bullet list | – text or * text | bullet point |
| Numbered list | 1. text | numbered item |
| Masked link | [text](url) | clickable text |
Bold, italic, underline, and strikethrough
Bold is two asterisks on each side: like this. Italic is one asterisk or one underscore: like this or like this. Underline is two underscores: like this. Strikethrough is two tildes: like this.
The underline rule catches people. In standard Markdown, text means bold. On Discord it means underline, because standard Markdown has no underline syntax at all. If you want bold on Discord, always use **, never __.
Styles stack by nesting the markers: bold italic, underline bold, underline italic, and all three. Keep the markers in matching pairs, with no space between a marker and the text it wraps.
Headers
Headers make a line big. Use # for the biggest, ## for a medium one, and ### for a small one. Always put a space after the hash, and always start the line with it. Only three levels exist. Type #### and Discord prints it back as plain text.
Headers arrived in 2023. They suit announcement titles, rules posts, and section breaks. A header must start a line, and a missing space after the hash breaks it. Type # Announcement, not #Announcement.
Subtext
Subtext is the small grey line you make with -# and a space at the start of a line. It suits a date, a disclaimer, or a credit under a bigger message. Our small text in Discord post covers it in full, with every use and limit: https://quicktextrepeater.com/how-to-make-small-text-in-discord/
Spoiler tags
Wrap text in two vertical bars, ||like this||, and Discord hides it behind a dark bar until someone clicks it. You can also type /spoiler before a whole message, or highlight text on desktop and click the eye icon. Our spoiler tags post covers every method, images, videos, links, and the limits: https://quicktextrepeater.com/discord-spoiler-tags/
Inline code and code blocks
Single backticks make inline code: like this. It renders in a fixed-width font inside a dark box, and suits a command, a file name, or a short value.
Use three backticks for a multi-line block. Put the opening three backticks on their own line, your text, then three backticks on their own line. Code blocks keep your line breaks and spacing exactly as typed, and Discord applies no other formatting inside them. That is why a spoiler tag inside a code block does nothing. Discord says so directly in its spoiler article: text marked as spoiler within code blocks will not be hidden.
Add a language name after the opening backticks, and Discord highlights the code in that language’s colors. That language tag is also the trick behind colored text, covered below.
Block quotes
A single line quote starts with > and a space, and shows with a grey bar on the side. A multi-line quote starts with >>> and a space, and everything after it in the message becomes part of the quote. You never need a closing marker for >>>.
Discord does not nest quotes. A quote inside a quote renders as flat text. Quotes suit replies, rules, and announcements.
Lists
A bullet list starts each line with – or * plus a space. A numbered list starts each line with 1. plus a space, then 2. , 3. , and so on. Indent two spaces for a sub-item.
Lists suit rules, steps, and checklists. One warning: a line starting with – becomes a list item even when you did not mean it. If a literal hyphen must stay unchanged, put it in a code block instead.
Masked links
A masked link hides a long URL behind a word. Put the label in square brackets and the address in round brackets, with no space between them: Read the server rules. The label becomes clickable and the long URL stays hidden. Masked links have worked on Discord since 2023, according to 2026 guides.
Wrap a bare URL in angle brackets, like https://example.com, and Discord hides the preview embed. One caution: Discord may show a confirmation when the link text differs from the destination, so do not mask a link to something the label does not describe.
Colored text
Discord has no color picker for normal messages. Color comes from code blocks, two ways.
The first way is syntax highlighting. Discord highlights code with highlight.js, and each language paints different words in different colors. The diff language is the most reliable: lines starting with + turn green, and lines starting with – turn red. Fix turns a whole block yellow, yaml paints keys before a colon blue, and css paints bracketed text cyan. These colors come from the Solarized Dark palette, so you get a small set, not any color you want.
The second way is ANSI. A code block tagged ansi reads real ANSI escape sequences: an escape character, then a code, then your text. The common codes are 31 for red, 32 for green, 33 for yellow, 34 for blue, and 36 for cyan, with 0 to reset at the end. Typing the invisible escape character is awkward, so most people copy an ANSI block from a generator instead.
One limit matters: colors show on desktop and in a browser. Mobile apps are widely reported to show code blocks as plain text, so do not rely on color for anything readers must understand. Colored text also lives inside a code block, in a dark box in a fixed-width font. It is a highlight trick, not normal colored text.
What does not work
Tables do not work. Type a Markdown table and Discord prints the pipes as plain text. Images with , raw HTML, task lists, and footnotes do not work either. There is no way to change the font of a normal message, or to color normal message text outside a code block.
Markdown also does not work in names. Your username, display name, server nickname, and channel name all show the symbols as typed. Styled names use Unicode characters that look like bold or italic letters, not Markdown. Our Fancy Text Generator builds those styles for names and bios: https://quicktextrepeater.com/fancy-text-generator/
Invisible names are a separate trick. They use a blank Unicode character, not formatting. Our guide covers it: https://quicktextrepeater.com/discord-invisible-name/
Blank messages use the same idea: an invisible character that looks like nothing. Copy one from our Blank Text Generator: https://quicktextrepeater.com/blank-text-generator/
Formatting on mobile
The same symbols work on phones. Typing ** on a phone keyboard takes more taps, so the mobile app also gives you a formatting toolbar. Type the message, select the words, and tap B for bold, I for italic, U for underline, S for strikethrough, or the spoiler and code options. The app adds the symbols for you.
Headers, subtext, quotes, and lists still need the symbols typed at the start of a line, because the toolbar only covers inline styles. If a format shows as plain symbols on your phone, update the app. Headers and subtext need a recent build.
Why your formatting is not working
The most common cause is a space inside the markers. ** bold ** does not work. Keep the symbols tight: bold.
The second cause is a missing space after a line marker. #Hello is not a header. Type # Hello. The same applies to -# , > , >>> , – , and 1.
The third cause is the marker not being at the start of the line. Headers, subtext, quotes, and lists only trigger there.
The fourth cause is a spoiler inside a code block. Discord ignores spoiler tags inside triple backticks. Move the text out of the block.
The fifth cause is Markdown in a name. Usernames, display names, and nicknames do not render Markdown. Use Unicode styles from the Fancy Text Generator instead.
The last cause is an old app version. Headers and subtext need a recent build, so update from your app store and try again.
FAQ
How do you bold text in Discord?
Wrap the text in two asterisks, like bold text. On mobile, select the words and tap the B button in the formatting toolbar. Do not use double underscores for bold. On Discord, text means underline.
How do you make text small in Discord?
Start a line with -# and a space, like -# small text. It only works in messages, at the start of a line. For small text in a name or bio, use Unicode small letters from a generator. Our full guide: https://quicktextrepeater.com/how-to-make-small-text-in-discord/
How do you color text in Discord?
There is no color picker. Use a code block with a language tag: diff with + for green and – for red, fix for yellow, yaml for blue, css for cyan, or ansi with escape codes. Colors show on desktop and in a browser. Mobile apps are widely reported to show code blocks as plain text.
Why is my Discord formatting not working?
The most common cause is a space inside the markers, like ** bold **, or a missing space after a line marker, like #Hello. Headers, subtext, quotes, and lists also need to start at the beginning of a line. Markdown does not work in usernames or nicknames.
Can you use Discord formatting in your username?
No. Usernames, display names, server nicknames, and channel names show Markdown symbols as typed text. To style a name, use Unicode letters that look bold, italic, or small. Our Fancy Text Generator builds them: https://quicktextrepeater.com/fancy-text-generator/
References
- Discord Support, Markdown Text 101 (Chat Formatting: Bold, Italic, Underline) (bold, italic, underline, strikethrough, headers, subtext, masked links, lists, code blocks, block quotes, spoiler negated by code blocks): https://support.discord.com/hc/en-us/articles/210298417-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline
- Discord Support, Spoiler Tags! (code block exception: text marked as spoiler within code blocks will not be hidden): https://support.discord.com/hc/en-us/articles/360022320632
- OpenMark, The Complete Discord Markdown Guide (published 2026-10-05; full syntax table, underline gotcha, headers and subtext, no tables or images): https://openmarkapp.com/blog/discord-markdown-guide
- Format Studio, Discord Text Formatting: The Complete Guide (2026) (updated 2026-11-12; headers arrived 2023, subtext 2024, masked links since 2023, angle brackets hide embeds, no nested quotes): https://www.formatstudio.site/blog/discord-text-formatting.html
- Ezainfozone, Discord Text Formatting: The Complete Markdown Guide (updated 2026-11-11; bullet and numbered lists, masked links, single and multi-line quotes, space rule): https://ezainfozone.com/social-media-guides/discord-text-formatting/
- MarkdownTools, Discord Markdown Cheat Sheet (updated November 2026; headers, subtext, timestamps, ANSI colors, subset rendering via simple-markdown): https://www.markdowntools.io/discord-markdown
- CopyProgramming, How to Colour Text in Discord: Complete Code Examples and 2026 Best Practices (diff, fix, yaml, css colors, ANSI codes, Solarized Dark palette, mobile shows plain text): https://copyprogramming.com/howto/how-to-colour-text-in-discord-code-example







