Discord Text Formatting

Write your message, press the buttons, and copy it with Discord's markdown already in place.

166 characters / 2,000
MayaToday at 18:42

Saturday photo walk

Meet: Praça do Comércio, 11am
• bring film or a phone
• 10am moved to 11
the light is best by the river
secret spot after lunch

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.

30Gray31Red32Green33Yellow34Blue35Pink36Cyan37White
40Firefly dark blue41Orange42Marble blue43Greyish turquoise44Gray45Indigo46Light gray47White
```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**
bold
Bold
*italic*
italic
Italic
__underline__
underline
Underline
***bold italic***
bold italic
Bold italic
__*underline italic*__
underline italic
Mixed
~~strikethrough~~
strikethrough
Strikethrough
||spoiler||
spoiler
Spoiler
`inline code`
inline code
Code

Strikethrough in Discord

Two tildes on each side draw a line through the words. It works in messages, threads and forum posts, not in names.

You type
+meet at ~~10am~~ 11am at the ~~station~~ river steps
Discord shows
R
rafa Today at 18:45
meet at 10am 11am at the station river steps

Spoiler 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.

You type
+the ending: ||the photographer was the narrator||
Discord shows
J
jules Today at 18:45
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
normal text
subtext for small notes

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.

the light is best by the river
use /roll 2d6 to decide
meet: 11:00
place: river steps

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.