Discord understands a small set of symbols, a flavor of Markdown. Put them around your words and the text changes style. There is no formatting toolbar in the message box, so it helps to know the symbols by heart.
This is the cheat sheet I wish I had when I started. Everything here goes straight into the Discord message box.
The basics: bold, italic, underline, strikethrough
Put the symbols on both sides of your text, with no spaces between the symbols and the words.
text
bold
italic or italic
bold italic
underline
strikethrough
You can stack them. For example, bold underline gives you underlined bold text.
Spoilers
Wrap text in two pipes and it stays hidden until someone clicks it.
text
||this is a spoiler||
This works well for plot details, answers in a quiz channel or anything you do not want to show in the preview.
Headers and small text
Discord supports three header sizes, plus a small grey line. These need the symbol at the start of the line, followed by a space.
text
Big header
Medium header
Small header
-# Small grey text
If a header does not render, check that you left a space after the # and that the symbol is the first thing on the line.
Quotes
One > quotes a single line. Three >>> quote everything until the end of the message.
text
a one line quote
a longer quote
that keeps going
across lines
Lists
Start a line with - or * followed by a space. Numbered lists work too.
text
- first item
- second item
- step one
- step two Code: inline and blocks
Single backticks make inline code. Three backticks make a block, and you can name a language after the opening ticks for syntax colors.
text
inline code
const hello = "discord";
console.log(hello);
Nothing inside a code block gets formatted. That is useful when you want to show the symbols themselves, for example bold, without turning them into bold text.
Colored text
Discord has no color button for normal messages. The workaround is a code block marked ansi, which understands color codes.
The codes start with an invisible escape character, which is almost impossible to type by hand, so it is easier to build the block with a tool and paste the result. Colors show on Discord desktop and web, and can look plain on some phones. I would not rely on them for anything important.
How to stop Discord from formatting something
Put a backslash before a symbol and Discord shows it as text. For example, *not italic* shows the stars.
You can also hide the preview of a link by wrapping it in angle brackets, like https://example.com.
Timestamps
This one is not about style, but it is very useful. Discord shows a time in each reader's own time zone if you use a Unix timestamp.
text
full date and time
relative time, like "in 2 hours"
Replace the number with the Unix time you need.
When formatting does not work
These are the usual causes:
Spaces inside the symbols. ** bold ** does not work. Write bold.
Missing space after # or -#. Headers and small text need a space.
The symbol is not at the line start. Headers, quotes and lists must start the line.
You are inside a code block. Code blocks turn formatting off.
Color on mobile. ansi colors may not show on every phone.
Also remember the message limit. A normal message can hold 2,000 characters, and formatting symbols count toward it.
A faster way to do it
If you do not want to type the symbols each time, I built a free Discord text formatter with copy buttons. You type your text, tap the effects you want, and copy the result into Discord. It does not need a sign-up.
Quick reference
Effect What you type
Bold text
Italic text
Bold italic text
Underline text
Strikethrough text
Spoiler ||text||
Header # text, ## text, ### text
Small text -# text
Quote > text
Inline code text
Which one do you use the most? I use spoilers and quotes every day, and headers when I post long announcements. If I missed a code you rely on, tell me in the comments.
Top comments (0)