Discord Message Editor
A live markdown editor and preview. Write, format and test Discord messages (spoilers, headers and colored code blocks) before sending them.
Color highlights
Use specific languages on codeblocks to fake color output.
Live Discord preview
About the Discord Message Editor
The Discord Message Editor is a free browser-based message formatter and markdown editor that lets you test and preview Discord markdown in real-time. Whether you are creating elaborate server rules, setting up a new community, or just testing how diff syntax coloring works before you send a message, this message maker replicates the official Discord chat interface perfectly.
How to use Colored Text in Discord?
Discord uses a library called highlight.js to colorize code syntax. By using specific language tags on a fenced code block, you can trigger syntax highlighting to create colored text.
- Red Text: Use
diffand start lines with a hyphen-. - Green Text: Use
diffand start lines with a plus+. - Cyan Text: Use
bashand wrap your text in quotes.
Type these blocks directly into the live editor above to immediately see the color variations.
Frequently asked questions
Read more on this
Longer write-ups covering the background, edge cases and worked examples behind this tool.
How to Make Text Small, Colored, or Hidden in Discord
A complete guide to formatting your Discord messages: from colors and markdown to shrinking text and hiding spoilers.
Discord Colored Text Generator: Every Color & How to Use It
Get red, green, blue, yellow, cyan, and orange text in Discord using code blocks and ANSI codes. Full cheat sheet with copy and paste examples and a live preview tool.
Discord Roleplay Formatting Guide: Style Posts That Read Like a Story
Format Discord roleplay posts the right way: dialogue tags, action lines, scene breaks, character status, and how to split long intro posts without breaking immersion.
Other tools in the suite
Bio Templates
150+ copy & paste Discord bios with a real profile-card preview and a live 190-character counter.
File Compressor
Shrink video, GIFs, images and audio under Discord's 20 MB upload limit without uploading anything.
Message Splitter
Break messages past the 2,000-character limit into clean parts without mangling markdown.
Timestamp Generator
Build timestamp codes that render in every member's own timezone automatically.
Font Transformer
Turn plain text into cursive, gothic, bubble and 20+ other Unicode styles you can paste anywhere.
Avatar Previewer
Check how a profile picture reads at every size Discord crops it to before you upload.