Open editor
Discord markdown

Discord markdown preview

Write a message with Discord markdown and see exactly how it will look in a channel before you send it: bold, underline, spoilers, code blocks, quotes and headings.

How Discord markdown works

Discord formatting is based on markdown, with a few rules of its own. **bold**, *italic* and ~~strikethrough~~ work as usual, and ***bold italic*** combines them. Two underscores, __like this__, give underlined text rather than bold. Two pipes, ||like this||, hide text as a spoiler that readers click to reveal.

Discord also supports block formatting. Lines starting with #, ## or ### become headings, and -# makes small grey subtext. A line starting with > is a quote, and >>> quotes everything after it. Lines starting with - or a number make lists. Three backticks make a code block, and adding a language name such as js or py after them turns on syntax colours. Masked links, [text](https://…), show text instead of the address.

This Discord markdown preview renders your message the way a Discord channel does, on Discord's dark background, so you can check your Discord text formatting before posting an announcement or patch notes. The buttons wrap selected text in the right marks, and a counter shows how close you are to the 2,000 character limit. Spoilers in the preview can be clicked to reveal them, just as in the app. For general markdown syntax, see the markdown cheat sheet; for Slack's version, use Markdown to Slack.

Why use this Discord markdown tool

Discord's own rules

Underline with __text__, spoilers with ||text||, subtext with -# and masked links, the way Discord renders them.

Formatting buttons

Wrap selected text in bold, italic, underline, strikethrough, spoiler or code with one click.

Character count

See how close you are to Discord's 2,000 character message limit.

Copy and paste

Copy the message and paste it straight into Discord.

How to format a Discord message

  1. Type your message, or select text and press a formatting button.
  2. Check the preview, which looks like a Discord channel.
  3. Press Copy message and paste it into Discord.

Common uses for the Discord markdown preview

Frequently asked questions

How do I underline text in Discord?

Wrap it in two underscores: __underlined__.

How do I make a spoiler?

Wrap it in two pipes: ||spoiler||. Readers click it to reveal the text.

How do I make a code block?

Put three backticks on the lines before and after the code, optionally with a language name for colours.

Does Discord support headings?

Yes, lines starting with #, ## or ###, and -# for small subtext.

Why does my Discord formatting not show up?

Check that the marks touch the text, with no space inside: **bold** works, ** bold ** may not. Headings need a space after the # and must start the line. Formatting also does not work inside code blocks or inline code. Marks can be combined, as in __**bold underline**__. Markdown tables are not rendered by Discord, so put a table in a code block to keep its columns lined up.

Is the Discord markdown preview free and private?

Yes. It is free, needs no Discord login or bot, and your message stays in your browser until you press Copy message and paste it into Discord yourself. Copying keeps the raw markdown, so Discord applies the formatting when you send. It works in a phone browser too.

Related markdown tools

See all 41 free markdown tools →