Design and Social Media

Discord Text Formatting: Bold, Spoilers, Headers and Colour Text

A clear guide to Discord markdown: bold, underline, spoilers, headers, subtext, code blocks and coloured ANSI text, with an example announcement.

Saizul Amin
Saizul Amin5 Nov 2026 · 3 min read
Discord Text Formatting: Bold, Spoilers, Headers and Colour Text

Discord Text Formatting: Bold, Spoilers, Headers and Colour Text

Discord messages can look like a plain wall of text or like a tidy announcement with headers, highlights and hidden spoilers. The difference is a handful of symbols. The Discord Text Formatter adds them for you with buttons and shows a preview, and this guide explains what each symbol does.

Inline formatting

These wrap a word or phrase:

  • Bold: two asterisks each side, \\like this\\.
  • Italic: one asterisk each side.
  • Underline: two underscores each side.
  • Strikethrough: two tildes each side.
  • Spoiler: two vertical bars each side. Readers click to reveal it.
  • Inline code: one backtick each side, good for channel names and commands.
  • Masked link: the words in square brackets followed by the address in round brackets.

In the tool, select the words and press the button. The selection stays highlighted, so you can press Bold and then Italic to stack them.

Line formatting

These go at the start of a line:

  • One hash and a space: large header. Two: medium. Three: small.
  • A hyphen, a hash and a space: subtext, a small grey line for footnotes.
  • A greater-than sign and a space: quote.
  • A hyphen and a space: bullet list.

Select several lines and press List or Quote, and every line gets the marker.

Code blocks

Three backticks above and below a block of text keep its spacing and use a fixed-width font. If you write a language name right after the opening backticks, such as js, py or json, Discord adds syntax colours. Type the language in the tool's box before pressing Code block.

Coloured text

Normal Discord messages have no colour picker, but code blocks marked ansi accept terminal colour codes. That is how servers post green "online" notes and red warnings.

The tool writes the codes. Choose one of eight text colours, such as green or red, and optionally a background. Tick Bold or Underline, select the words and press Colour selection. If you are not already inside an ansi block, the tool creates one.

One catch: colours show on Discord desktop and in the browser, but the phone apps show plain text. Never use colour as the only way to say something important.

A worked example

Here is the kind of announcement the default text shows:

  • A large header line: "Server update".
  • "Event night is on Friday at 8 pm."
  • A quote: "Bring a friend!"
  • A list with the voice channel in inline code and the prize behind spoiler bars.
  • A subtext line: "Rules apply".
  • An ansi block with "Online" in bold green and "maintenance at 9" in red.

To build your own, replace each piece. Select "a mystery role", press Spoiler, and it becomes hidden until clicked. Check the preview and the character count, which must stay under 2,000 for one message, then press Copy message.

Saving your work

The message you are working on stays in your browser, so you can close the tab and come back to a half-written announcement later.

Common mistakes

Forgetting the space after a hash. "#Update" is just text. "# Update" is a header.

Mixing underscores in usernames. A name with two underscores can accidentally underline half your message. Put names in inline code.

Long announcements in one message. Over 2,000 characters will not send for most users. Split into two posts at a natural break.

Colour for warnings only. Mobile users will not see it. Add a word like "Warning" too.

Headers everywhere. Three large headers in a row look like shouting. One header and bold labels read better.

Plain text when you need it

Sometimes you need the same message without markup, for an email or a website. The Strip formatting button removes the symbols and colour codes, leaving clean text. Keep your formatted version first, because stripping cannot be undone except by pasting again.

Final tip

The preview is close to Discord but not identical. For an important announcement, paste it into a private test channel first, look at it on both desktop and phone, and only then post it for everyone.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages