Discord Text Formatting
Write your message, press the buttons, and copy it with Discord's markdown already in place.
Saturday photo walk
Discord colored text
Color comes from an ```ansi code block. Inside it, escape codes set 8 text colors (30–37) and 8 backgrounds (40–47). Switch the tool to Colored text, select words and pick a color: it writes the codes for you.
Desktop and web show the colors; the phone app shows the block as plain text.
```ansi \u001b[31mred words\u001b[0m ```
Bold, italic and underline in Discord
Wrap the words in markers: two stars for bold, one for italic, two underscores for underline. They combine, so three stars give bold italic. Each row shows what you type and what Discord shows.
**bold***italic*__underline__***bold italic***__*underline italic*__~~strikethrough~~||spoiler||`inline code`inline codeStrikethrough in Discord
Two tildes on each side draw a line through the words. It works in messages, threads and forum posts, not in names.
meet at ~~10am~~ 11am at the ~~station~~ river stepsSpoiler text
Two bars on each side hide the words behind a dark box until someone taps it. Tap the box on the right to see it open.
the ending: ||the photographer was the narrator||Headers and subtext
A # at the start of a line makes a header, ## a smaller one and ### the smallest. -# makes small grey subtext for notes and credits.
Big header
Medium header
Small header
Quotes and code blocks
> quotes one line and >>> quotes everything after it. One backtick marks inline code; three backticks open a block, and a language name after them (js, py, ansi) colors it.
/roll 2d6 to decidemeet: 11:00 place: river steps
Links with your own text
Square brackets, then the address in round brackets: the message shows your words as a blue link instead of the long address. It works in messages and embeds.
route: [photo walk map](https://example.com/map)Questions
How do I use * in Discord without formatting?
Put a backslash in front: \*like this\*. The same works for _, ~, | and `.
How do I use ``` in Discord?
Three backticks on their own line open a code block and three more close it. Text between them keeps its spacing and isn't formatted.
Does formatting work in names?
No. Names take styled letters instead: copy one from Discord fonts.
Can I show a time in everyone's time zone?
Yes, with a timestamp like <t:1733421600:F>. Make one with the Discord timestamp generator.