BYTETOOLS

Discord Text Formatter

Build Discord markdown — bold, italic, underline, spoilers, quotes — plus colored text with ANSI code blocks. Live preview and copy-ready output.

Discord preview

Server update: the event starts tonight.
Bring one friend each.
The secret boss is a giant duck.

Colored text (ANSI code block)

Colored text!

Paste this into Discord

```ansi
\u001b[31mColored text!\u001b[0m
```

The copied block contains real escape characters (shown here as \u001b). Colors render on Discord desktop and web; most mobile apps show the block without color.

What is the Discord Text Formatter?

Discord Text Formatter builds Discord's message markup for you. Select text and apply bold (**), italic (*), underline (__), strikethrough (~~), spoiler (||), inline code or blockquotes, with a live preview styled like a Discord message so you can see the result before you send it.

  • One-click Discord markdown: bold, italic, underline, strikethrough, spoiler, inline code, quotes
  • ANSI color block builder with Discord's real 8-color palette
  • Live Discord-style preview, including spoiler and quote rendering
  • Copy-ready output for messages, bios and channel descriptions
  • Bold and underline options for colored text
  • Fully offline — messages never leave your browser

How to use the Discord Text Formatter

  1. 1

    Type your message and select the part you want to style.

  2. 2

    Click a style — bold, italic, underline, strikethrough, spoiler, code or quote — and check the preview.

  3. 3

    For colored text, enter the text, pick a foreground and optional background color, and copy the generated ```ansi block.

  4. 4

    Paste the result into Discord and send.

About the Discord Text Formatter

Discord Text Formatter builds Discord's message markup for you. Select text and apply bold (**), italic (*), underline (__), strikethrough (~~), spoiler (||), inline code or blockquotes, with a live preview styled like a Discord message so you can see the result before you send it.

It also generates colored text: Discord renders ANSI escape codes inside ```ansi code blocks, and the formatter builds those blocks from a simple foreground and background color picker — no memorizing escape sequences. A preview swatch shows the exact palette Discord uses on desktop and web.

Everything is generated 100% locally in your browser. Nothing you type is uploaded, and the output is plain text you paste straight into Discord.

Frequently asked questions

How do I write colored text in Discord?

Discord renders ANSI escape codes inside a code block that starts with ```ansi. This tool builds the block for you — pick a color, copy the output, and paste it into Discord. Colors show on desktop and web; most mobile apps still display the block without color.

What colors can Discord ANSI text use?

Eight foreground colors (gray, red, green, yellow, blue, pink, cyan, white) and eight background shades, following the terminal palette Discord adopted. The picker shows the actual rendered colors so you can choose visually.

How do spoiler tags work in Discord?

Wrap text in double pipes — ||like this|| — and Discord hides it behind a gray bar until the reader clicks. The formatter adds the pipes around your selection and previews the hidden style.

Can I combine styles, like bold underline?

Yes. Discord markdown nests, so __**bold underline**__ works. Apply one style, keep the selection, and apply the next — the preview shows the combined result.

Is anything I type here sent to Discord or any server?

No. The formatter runs entirely in your browser and only produces text for you to copy — nothing is uploaded anywhere.

Related tools