Discord Color Text Generator

Create colored and styled messages for Discord chats, announcements, and server rules. Highlight text, pick your ANSI colors, and copy ready-to-paste markdown code blocks.

Templates
Text Color:
Background:
Choose your colors

Custom colors use RGB ANSI codes on supported Discord desktop versions. Appearance may vary by client and theme.

Message Editor125 / 2000 chars

Formatting applies to the whole message

💡 Select text in the editor or preview, then change its colors or styles. With no selection, changes apply to the whole message.

Color preview
```ansi
[ALERT] Scheduled Server Maintenance Status: OFFLINE at 02:00 UTC Estimated Downtime: 30 Minutes Thank you for your patience!

Message length (including formatting): 207 / 2000

Rendering varies by Discord client and theme. Check the pasted message in Discord; mobile clients may omit ANSI styling.
ANSI Documentation

How to Send Colored Text on Discord

Format a message, copy the ANSI code block and check the result in your Discord client.

Copy an ANSI code block

The tool adds escape sequences and code fences to your message. It does not send messages to Discord.

Preview your selection

The preview helps you compose your message. Discord client versions, themes, and display settings can affect the final appearance.

Start with a message template

Load an announcement, rules or event template, then replace its sample text. Loading a template replaces the current message.

Formatting runs in your browser

Text styling and ANSI serialization run locally in this tool; no Discord account connection is needed.

How to format part of a message

Select text in the editor or preview before choosing a color, background, bold or underline. Random changes both colors in that selection. Without a selection, changes apply to the whole message.

Copying and message length

Copy Discord Code includes the ansi code fence and escape characters. Paste the complete result into Discord. The tool limits the full output, including formatting, to 2000 characters.

Color support and preview limits

The swatches provide classic ANSI shortcuts. Custom pickers output RGB ANSI sequences. Client versions, themes and display settings can affect the result; the website preview is an approximation.

Mobile clients may show plain code-block text or omit styles. Check the message in the clients your readers use, and keep its meaning understandable without color.

Frequently Asked Questions

Does colored text work on phones?
Support varies by client and version. Mobile clients may omit ANSI colors or styles. Check the result on the devices your readers use.
Does the tool require a bot or account connection?
No. It generates text in your browser. You copy the result and send it yourself in a channel where you can post.
Can I use this in a profile bio or nickname?
This output is intended for ANSI chat code blocks. It does not add color to Discord profile bios or nicknames.
Why does the pasted message look different?
Keep the opening ansi code fence, closing fence and escape characters intact. Client support and themes can also change the appearance.
Why is copying disabled?
The full message exceeds this tool’s 2000-character limit. Shorten the text or reduce formatting; escape sequences count toward the limit.