Discord Text Formatter and Markdown Preview
Write a Discord message with bold, underline, spoilers, headers, subtext, lists, quotes and code blocks, and see how it will look before you send it. Click a button to wrap the selected text.
console.log("see you there")Click a spoiler in the preview to reveal it. The preview is an approximation of Discord's own renderer.
Discord text formatting, quick reference
These are the formats in Discord's own Markdown Text 101 help article (updated November 2026), which also covers spoilers.
| You type | You get |
|---|---|
*italics* or _italics_ | italics |
**bold** | bold |
***bold italics*** | bold italics |
__underline__ | underline |
__**underline bold**__ | underline bold |
~~strikethrough~~ | |
||spoiler|| | hidden until clicked |
# Big header, ## Smaller, ### Smallest | headers (needs the space after #) |
-# small text | grey subtext |
[text](https://example.com) | masked link |
- item or * item, indent 2 spaces to nest | bulleted list |
1. item | numbered list |
> quote | one-line block quote |
>>> quote | quote that runs to the end of the message |
`code` | inline code |
```js ... ``` | multi-line code block with syntax highlighting |
What Discord does not support
- Tables. A Markdown table shows as raw pipes. Put it in a code block so the columns stay aligned. The "Clean up pasted Markdown" button does this for you.
- Images in Markdown (
). Paste the image URL on its own line or upload the file instead. - Headers deeper than ###.
####is shown as plain text. - Horizontal rules (
---) and footnotes. - Text color outside code blocks. Use an ansi code block for colored text.
- Spoilers inside code blocks. Discord's help article says a code block cancels spoiler formatting.
Why paste ChatGPT or Claude output here first
AI chat answers are full Markdown: tables, #### headings, horizontal rules and images. Pasted straight into Discord, they show stray pipes and dashes. "Clean up pasted Markdown" turns tables into code blocks, demotes deep headings to bold, removes horizontal rules and turns images into links, then you can check the preview before posting.
Escaping formatting characters
Put a backslash before a character to show it literally: \*not italic\*. Inline code also stops formatting, so `**this**` shows the asterisks.
More Discord tools
- Discord Colored Text Generator: text and background colors with ansi code blocks.
- Discord Timestamp Generator: dates and times that show in every reader's timezone.
- Discord Markdown cheat sheet: longer guide with examples and platform differences.
- Markdown to Slack and Markdown to Plain Text for other destinations.