Discord Colored Text Generator
Discord hides real color behind ANSI escape codes inside a code block. Build your message segment by segment: pick text and background colors, add bold or underline. Then copy code that's ready to paste.
- Free
- No sign-up
- No ads
Colors are approximate, and Discord's exact palette varies slightly by theme.
```ansi [0m[1;36mDigital Den[0m ```
The invisible escape characters won't show above. That's expected. Paste the copied text into Discord and it renders in color on desktop and web. It appears as plain text inside a code block on many mobile clients.
Discord ANSI color codes
Inside an ```ansi code block, Discord reads ANSI escape sequences of the form ESC[<code>m. Combine a style and a color with a semicolon (for example ESC[1;31m for bold red). Background colors use codes 40β47.
| Effect / color | ANSI code |
|---|---|
| Reset all styling | 0 |
| Bold / bright | 1 |
| Underline | 4 |
| Gray text | 30 |
| Red text | 31 |
| Green text | 32 |
| Yellow text | 33 |
| Blue text | 34 |
| Pink text | 35 |
| Cyan text | 36 |
| White text | 37 |
| Background colors | 40β47 |
Colored Discord text, explained
How do I make colored text in Discord?+
Type your text above and pick a foreground color, background color, bold, or underline for each segment. Click Copy, then paste the result into a Discord message. Because the text is wrapped in an "ansi" code block, Discord renders it with the colors you chose.
Why don't colors show on mobile?+
Discord only renders ANSI colors on the desktop app and the web client. Many mobile versions ignore the codes and display plain text inside a code block instead. The message is still readable everywhere. It just is not colorful on those clients.
What are ANSI codes?+
ANSI escape codes are a long-standing terminal standard for styling text. Each code (such as 31 for red or 4 for underline) is introduced by an invisible escape character. Discord supports a small subset of these codes inside "ansi" code blocks.
Is it free?+
Yes. This generator is completely free, needs no login or account, and runs entirely in your browser. Nothing you type is uploaded anywhere.
Related tools
All tools βLearn how it works
πDiscord Markdown: Every Text Formatting Code6-min guideπHow to Make Colored Text in Discord4-min guideMore in Discord Tools.
Need a Discord bot that does exactly what your server needs?
The studio behind this free tool builds custom bots, game servers and websites.