دعوة البوتتسجيل الدخول
Free tool

Discord Colored Text Generator

Write your message, select words and pick a color. The tool builds a Discord ANSI code block that shows colored, bold and underlined text in the desktop app and browser.

Text

No selection: styling all text
Text color
Background

Preview

Welcome to Strom Bot!
Select any words and pick a color.

Output

118 / 2000
```ansi
\u001b[0;1;34mWelcome\u001b[0m to \u001b[0;1;35mStrom Bot!\u001b[0m
\u001b[0;33mSelect\u001b[0m any words and pick a \u001b[0;4;36mcolor\u001b[0m.
```

The highlighted \u001b markers are invisible escape characters. Use the copy button so they are included. Colors show on desktop and browser, not on mobile.

How to write colored text in Discord

  1. 1

    Type your message

    Write or paste the text you want to send in the Message box.

  2. 2

    Select and style

    Highlight words, then pick a text color, a background, bold or underline.

  3. 3

    Check the preview

    The preview shows the message the way Discord’s desktop app renders it.

  4. 4

    Copy into Discord

    Press Copy for Discord and paste it into any channel, DM or bot message.

Discord ANSI text colors

CodeColor
\u001b[30mGray
\u001b[31mRed
\u001b[32mGreen
\u001b[33mYellow
\u001b[34mBlue
\u001b[35mPink
\u001b[36mCyan
\u001b[37mWhite

Discord ANSI background colors

CodeBackground
\u001b[40mDark blue
\u001b[41mOrange
\u001b[42mMarble blue
\u001b[43mTurquoise
\u001b[44mGray
\u001b[45mIndigo
\u001b[46mLight gray
\u001b[47mCream

Bold, underline and reset

CodeEffect
\u001b[0mReset all styles
\u001b[1mBold
\u001b[4mUnderline
\u001b[1;4;31;40mCombine codes with semicolons

Frequently asked questions

How do I make colored text in Discord?

Discord colors text inside code blocks marked as ansi. Type your text here, select words, pick a color, then copy the result and paste it into Discord. The block keeps its colors after you send it.

Why don’t I see colors on my phone?

ANSI colors only render in the Discord desktop app and in the browser. The mobile apps show the same text without colors, so the message is still readable there.

Which colors are available?

Discord supports 8 text colors (gray, red, green, yellow, blue, pink, cyan and white) and 8 background colors, plus bold and underline. Other ANSI codes are ignored.

Why does the copied text look strange?

The color codes start with an invisible escape character. Always use the Copy button so the escape characters are included; typing the codes by hand will not work.

Can bots send colored text?

Yes. A bot can send the same ```ansi block in a message or an embed description. Paste the copied output into your bot’s message string.

Is there a length limit?

The whole message, including the color codes, must fit in Discord’s 2000 character limit (4000 with Nitro). The counter on this page includes the hidden codes.

More free Discord tools

Let Strom Bot do it for you

Strom Bot handles moderation, welcome messages, leveling, tickets and social feeds with rich embeds. Browse the bot commands, read the guides or see what Premium adds.