Home › Text Tools › Discord Colored Text Generator

Discord Colored Text Generator

Type your message, highlight any part of it and click a color. The tool writes the ANSI escape codes for you and gives a ready-to-paste ```ansi code block that shows up in color in Discord.

Last updated:

Tip: highlight words, then pick a color. Nothing selected? The style applies to what you type next.

Discord preview

YouToday at 12:00

        

Code to paste


      

Colors show in Discord on desktop and in the browser. The mobile apps display ansi blocks as plain text. ESC marks the invisible escape character that is copied with the text.

Advertisement
Advertisement

How to use the Discord Colored Text Generator

  1. Type or paste your message into the dark editor.
  2. Highlight the words you want to color with your mouse or Shift + arrow keys.
  3. Click a text color, a background color, Bold or Underline. Click Clear style to make the selection plain again.
  4. Check the Discord preview below the editor.
  5. Press Copy for Discord and paste it into any Discord channel or DM on desktop or web.

Discord ANSI color codes

Discord colors text only inside a code block that starts with ```ansi. Each style is switched on with an escape sequence: the invisible ESC character (Unicode U+001B), an opening bracket, one or more numbers separated by semicolons and the letter m. For example ESC[1;31m means bold red and ESC[0m resets everything back to plain text.

CodeText colorCodeBackground color
30Gray40Firefly dark blue
31Red41Orange
32Green42Marble blue
33Yellow43Greyish turquoise
34Blue44Gray
35Pink45Indigo
36Cyan46Light gray
37White47Cream white

Format codes: 0 resets all styles, 1 is bold and 4 is underline. You can combine them, so ESC[1;4;33;40m gives bold, underlined yellow text on a dark blue background. The color names above are the ones Discord's palette resembles; the exact shades are set by Discord.

Tips for colored Discord messages

  • Use it for announcements, rules and role lists. A few highlighted words stand out more than a fully colored message.
  • Keep contrast in mind. Gray text and the dark blue background are hard to read on Discord's dark theme; white or cream backgrounds work well with gray text.
  • Remember mobile readers. On phones the block shows as plain monospace text, so don't rely on color alone to carry meaning.
  • Other markdown doesn't work inside the block. Emoji shortcodes, mentions, links and **bold** markdown are shown literally inside code blocks; use the Bold button instead.

Frequently asked questions

How does colored text work in Discord?

Discord renders code blocks tagged with the language ansi and understands ANSI escape codes inside them. A code such as ESC[31m switches to red, ESC[1m to bold and ESC[0m resets. This generator inserts those invisible ESC characters for you, so you only have to paste.

Which colors can Discord show?

Discord supports 8 text colors (gray, red, green, yellow, blue, pink, cyan and white, codes 30 to 37) and 8 background colors (codes 40 to 47), plus bold (1) and underline (4). Other ANSI codes such as 256-color or RGB codes are ignored.

Why is my colored text not showing on my phone?

The Discord mobile apps currently show ansi code blocks as plain monospace text without colors. The colors appear in the Discord desktop app and in the browser version. Your friends on mobile will still see the text, just uncolored.

Why do I see strange characters like [31m?

That happens when the invisible ESC character was lost, for example when the code was typed by hand or copied through an app that strips control characters. Use the Copy for Discord button and paste directly into Discord. The message must start with ```ansi on its own line.

Is there a length limit?

A Discord message can be up to 2,000 characters, or 4,000 with Nitro. The escape codes count toward the limit, so heavily styled text uses more characters. The counter under the output shows the real length including the codes.

Can I edit colored text I made earlier?

Yes. Paste the whole ```ansi block (with the escape codes) into the editor and the colors are read back in, so you can change them and copy again.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Discord Font GeneratorFancy fonts for Discord names and bios, plus ready-made Discord markdown formatting.Fancy Text GeneratorTurn text into cool Unicode fonts for bios.Bold Text GeneratorConvert text to bold Unicode letters you can copy and paste anywhere.Invisible CharacterCopy blank and invisible characters (ㅤ U+3164, U+2800, zero width space) for names and messages.Reverse Text GeneratorWrite text backwards, reverse words or lines, mirror or flip it upside down.Upside Down Text GeneratorFlip text upside down with Unicode characters, or turn it back to normal.Emoji CounterCount every emoji in your text, including flags, skin tones and ZWJ sequences.Small Text GeneratorTurn text into tiny superscript, subscript and small caps letters you can copy and paste.Zalgo Text GeneratorMake creepy glitch text with separate up, middle and down sliders, or clean zalgo back to normal.Emoji PickerSearch 1,900+ emoji by name, pick skin tones and copy and paste them with one click.Special CharactersCopy and paste 1,500+ symbols: arrows, math, currency, stars, checkmarks, © ® ™ and more.Word UnscramblerUnscramble letters into every possible word, with blank tiles, length filters and Scrabble scores.Braille TranslatorTranslate English text to Grade 1 Unicode braille and back, with dot numbers and printing.ASCII Art GeneratorTurn text into big ASCII banners or convert any image into ASCII art you can copy.Italic Text GeneratorConvert text to italic Unicode letters you can copy and paste anywhere.Cursive Text GeneratorConvert text to cursive Unicode letters you can copy and paste anywhere.Strikethrough Text GeneratorConvert text to strikethrough Unicode letters you can copy and paste anywhere.Underline Text GeneratorConvert text to underlined Unicode letters you can copy and paste anywhere.Bubble Text GeneratorConvert text to bubble Unicode letters you can copy and paste anywhere.Wide Text GeneratorConvert text to wide Unicode letters you can copy and paste anywhere.Old English Text GeneratorConvert text to Old English Unicode letters you can copy and paste anywhere.Superscript GeneratorConvert text to superscript Unicode letters you can copy and paste anywhere.Subscript GeneratorConvert text to subscript Unicode letters you can copy and paste anywhere.Remove Special CharactersStrip symbols, emoji and odd characters, keeping only letters, numbers, spaces and what you allow.Emoji TranslatorTranslate text to emoji: words like love, pizza and dog become ❤️ 🍕 🐶, with a density slider.Monospace Text GeneratorTurn text into 𝚖𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎 typewriter-style Unicode letters to copy and paste.Aesthetic Text GeneratorMake aesthetic text with vaporwave letters, sparkles, hearts and frames to copy.Emoji Letters GeneratorTurn words into 🇭 🇪 🇱 🇱 🇴 regional indicator, 🅰️ block and keycap 1️⃣ emoji letters.Remove Emojis from TextStrip every emoji, flag, skin tone and ZWJ sequence from text, with a count of what was removed.Fill in the Blank GeneratorTurn any text into a printable fill-in-the-blank worksheet with word bank and answer key.Instagram Font GeneratorMake bold, cursive and aesthetic fonts for your Instagram bio, name and captions.Stylish Name GeneratorDecorate your name with ꧁ ꧂, ★彡, 亗 and other symbols for games and profiles.Tattoo Font GeneratorPreview a word or name in gothic, script and other tattoo-style fonts to copy.Alt Codes ListSearchable Windows Alt code chart (Alt+0176 °, Alt+0169 ©) with Mac shortcuts and one-click copy.Check Mark SymbolCopy and paste check marks and ballot boxes ✓ ✔ ☑ ✅ ☐ ✗ with Alt, Unicode and HTML codes.Degree SymbolCopy the degree sign ° (and °C, °F) in one click, with Alt code and how to type it anywhere.Kaomoji Copy and Paste2,000+ Japanese kaomoji text faces by emotion and animal. Search and copy with one click.LaTeX Equation EditorWrite LaTeX math with a symbol palette and live preview; export PNG, SVG or MathML for Word.Bullet Point SymbolsCopy and paste bullet symbols • ◦ ▪ ➤ ✓ ‣ for lists and resumes, plus a bulleted list maker.Copyright and Trademark SymbolsCopy © ® ™ ℠ ℗ with Alt and HTML codes, when to use each, and a copyright notice maker.Currency SymbolsCopy and paste $ € £ ¥ ₹ ₿ and 80+ world currency signs with ISO codes and Alt codes.Em Dash Copy and PasteCopy the em dash —, en dash – and every hyphen or minus sign, with when to use each.Emoji CipherTurn secret messages into emoji with a shared key, then decode them back to text.Text Border GeneratorWrap text in a copyable ASCII or Unicode box: single, double, rounded, heavy, stars and more.Text Divider GeneratorCopy aesthetic Unicode line dividers like ─── ⋆⋅☆⋅⋆ ─── or build your own symmetric divider.Text Pixel Width CalculatorMeasure how many pixels wide text renders in any font and size, and check it against a limit.Lenny Face GeneratorBuild your own ( ͡° ͜ʖ ͡°) by picking ears, eyes and mouth, or copy 60+ ready-made Lenny faces.Math Symbols Copy and PasteCopy math symbols like ∑ √ ∞ ≤ ∫ π ∈ with their Unicode, HTML entity and LaTeX command.Copy and Paste Text ArtCute one-line and multi-line text art (animals, hearts, faces, borders) to search and copy.Emoji MeaningsLook up what an emoji means: meaning, slang use, Unicode name, version and related emojis.Fancy Text to Normal Text ConverterTurn bold, cursive, bubble, small caps, fullwidth and zalgo Unicode text back into plain text.Mail Merge Text GeneratorFill a {placeholder} template with CSV rows to create a personalized message for each person.Mirror Text GeneratorCreate mirrored and reflected text with Unicode look-alike letters (ɘ, ꓘ, Я) and copy it.Shrug EmoticonCopy ¯\_(ツ)_/¯ in one click, plus Discord, Reddit and Markdown-safe versions and 30 shrug variants.Vertical Text GeneratorTurn text into vertical columns, one character per line, to copy into posts, bios and chats.Arrow SymbolsCopy and paste 600+ arrow symbols → ⇒ ➜ ↑ ↻ by direction and style, with Alt and HTML codes.Fraction SymbolsCopy fraction symbols ½ ¼ ¾ ⅓ ⅛ or build any fraction like ¹⁵⁄₁₆ with superscript digits.Heart SymbolsCopy and paste heart symbols ♥ ❤ ♡ ❥ 💕 and decorative hearts with Alt, Unicode and HTML codes.Star SymbolsCopy and paste star symbols ★ ☆ ✦ ✩ ✪ ⭐ ✨ and asterisms with Unicode, Alt and HTML codes.Unicode NormalizerNormalize text to NFC, NFD, NFKC or NFKD and see exactly which code points changed.
See all 61 Fonts, Symbols & Emoji →