Skip to content

Discord text formatting

Write your message, press a button to format it, and copy the Markdown into Discord. The preview shows it the way Discord will.

Start from
202 / 2,000

Ctrl+B, Ctrl+I, Ctrl+U and Ctrl+Z work here (Cmd on a Mac). Your draft stays in this browser.

How it looks in Discord
TomToday at 9:41 PM
Movie night
When: Friday, December 4, 2026 at 9:00 PM (in 4 days)
Where: the Cinema voice channel
The film is a until we start
Vote in the poll by Thursday
Bring snacks
Hosted by Tom

Discord Markdown cheat sheet

Every Discord format, what to type, and how it looks, combinations included. Press Copy on any row, or post the whole list in your server.

FormatType thisLooks likeGood to know
Bold**text**
text
Ctrl or Cmd + B in Discord too.
Italic*text* or _text_
text
Ctrl or Cmd + I.
Underline__text__
text
Two underscores each side. Ctrl or Cmd + U.
Strikethrough~~text~~
text
Two tildes each side.
Spoiler||text||
Hidden until someone presses it. Also /spoiler.
Inline code`text`
text
No other formatting works inside it.
Masked link[text](https://...)Discord asks before opening it.
Bold italic***text***
text
Three asterisks each side.
Bold underline__**text**__
text
Underscores outside, asterisks inside.
Bold, italic and underline__***text***__
text
All three at once.
Bold strikethrough~~**text**~~
text
Works in either order.
Bold spoiler||**text**||
The bold shows once it is revealed.
Big heading# text
text
Start of a line, then a space.
Medium heading## text
text
Small heading### text
text
Subtext-# text
text
Small grey line, good for notes and credits.
Quote one line> text
text
Quote the rest>>> text
text
Everything after it in the message is quoted.
Bulleted list- text
text
Or *. Indent with spaces to nest.
Numbered list1. text
text
Code block```text```
text
Add a language after the first ``` for colours, like ```js.
Green and red lines```diff
+ added
- removed
Lines starting with + turn green, - turns red.
Time for everyone<t:1767225600:R>
11 months ago
Shows in each reader's time zone. Use the Time button.
Mention everyone@everyone
@everyone
Pings the whole server if you have the permission.
Show a symbol\*text\*
*text*
A backslash stops the formatting.

Post it in your server

One message with every basic format and the symbols to type, ready to pin in a help or rules channel. Need an empty line Discord won't remove? Paste a blank invisible character on it.

FabianToday at 9:41 PM
How to format your messages
Bold **text**
Italic *text*
Underline __text__
Strikethrough ~~text~~
||text||
Quote > text
Small grey text -# text

How to bold, italicize, underline, and strike through on Discord

Type the symbols on each side of the words. They work the same in the desktop app, the browser, and the phone apps.

  • Bold

    Type **text**

    Shortcut Ctrl+B, or Cmd+B on a Mac

    FabianToday at 9:41 PM
    The raid starts at 9 PM sharp.

    Three asterisks each side make it bold and italic: ***like this***.

  • Italic

    Type *text* or _text_

    Shortcut Ctrl+I, or Cmd+I on a Mac

    FabianToday at 9:41 PM
    That was definitely on purpose.

    One asterisk or one underscore each side. Two underscores make underline instead.

  • Underline

    Type __text__

    Shortcut Ctrl+U, or Cmd+U on a Mac

    FabianToday at 9:41 PM
    Read the pinned message first.

    Mix it with bold for a heading inside a line: __**like this**__.

  • Strikethrough

    Type ~~text~~

    Or Select the text and press S in the menu that pops up

    FabianToday at 9:41 PM
    Movie night is Friday Saturday.

    Two tildes each side. On a computer the tilde is Shift and the key left of 1; on an iPhone press 123, then #+=; on Android press ?123, then =\<. For a nickname or role name, use the strikethrough generator below.

Hiding text works the same way with two vertical bars. To hide a word or each letter on its own, use the Discord spoiler text tool.

Strikethrough text generator for names

In a message, type ~~ around the words. A nickname, a role name, or a server name shows ~~ as typed, so copy one of the struck versions below for those.

The struck versions put a line through each letter, so they keep it in places that ignore Markdown. Screen readers may read them letter by letter, so keep them for short names.

  • In a messageMarkdown. Works in messages, embeds and your About Me.
    Old role name
  • Long line24 characters. Works in nicknames, role names and server names.
    O̶l̶d̶ r̶o̶l̶e̶ n̶a̶m̶e̶
  • Short line24 characters. Works in nicknames, role names and server names.
    O̵l̵d̵ r̵o̵l̵e̵ n̵a̵m̵e̵
  • Slash24 characters. Works in nicknames, role names and server names.
    O̸l̸d̸ r̸o̸l̸e̸ n̸a̸m̸e̸

How to make big text and headers on Discord

Start a new line with one, two, or three # and a space. One gives the biggest header, three the smallest. The header takes the whole line, so press Shift and Enter to carry on with normal text below it.

  • # text Biggest header, for a title or an announcement.
  • ## text Medium header, for sections in a long message.
  • ### text Small header, a bold label a little bigger than text.

It only works when the # is the first thing on the line. Four or more, a missing space, or a header inside a code block shows the symbols as typed. For the opposite, a small grey line, use -# or the Discord small text generator, and to turn words in a header into a link, see how to hyperlink in Discord.

TomToday at 9:41 PM
Big header
Medium header
Small header
Normal text for comparison
Subtext, the smallest

Coloured text for Discord

Discord has no colour button, but an ansi code block takes colour codes. Add your lines here and copy the block. The phone apps show it as plain text. To colour single words, use the Discord colored text generator.

Text colour
Background
How it looks in Discord for desktop
FabianToday at 9:41 PM
Server rules
Be kind to everyone
  • Server rules
  • Be kind to everyone

Formatted messages from your own bot

A bot uses the same Markdown. With BotGhost, the no-code Discord bot maker, you write a message once in the command builder and the bot posts it, headings and spoilers included, whenever someone runs a command or joins the server.

BotGhostToday at 9:41 PM
Welcome, Vez!
Read #rules, then grab your roles in #roles.
You are member 1,204

Discord formatting questions

Times and dates have their own codes: make them with the Discord timestamp generator.

How do I make text bold on Discord?
Put two asterisks on each side: **like this**. You can also select the text in Discord and press Ctrl+B (Cmd+B on a Mac).
How do I strikethrough text on Discord?
Put two tildes on each side: ~~like this~~. On desktop you can also select the text and press the strikethrough button in the menu that appears.
Why is my strikethrough not working on Discord?
Check there are two tildes on each side with no gap between them and the word, and that the text isn't inside a code block, where formatting shows as typed. Names (nicknames, roles, servers) ignore ~~ entirely: copy struck letters from the strikethrough generator on this page instead.
Can I put strikethrough in my Discord name or a role name?
Not with ~~, because names show the text exactly as typed. The strikethrough generator on this page adds a line through each letter itself, so you can paste it into a nickname, a role, or a server name.
How do I combine bold, italic and underline?
Stack the symbols: ***text*** is bold italic, __**text**__ is bold underline, and __***text***__ is all three. The cheat sheet on this page lists every combination with a preview.
How do I italicize text on Discord?
Put one asterisk or one underscore on each side: *like this* or _like this_. Ctrl+I (Cmd+I on a Mac) does it for selected text.
How do I make a spoiler on Discord?
Put two vertical bars on each side: ||like this||. The text stays hidden until someone presses it. For an image, tick "Mark as spoiler" before you send it. The spoiler text tool can hide each word or letter on its own.
How do I make big text on Discord?
Start the line with # and a space for the biggest heading, ## for medium, or ### for small. It only works at the very start of a line.
Why is my Discord header not working?
The # has to be the first thing on the line, followed by a space. Four or more # signs, a missing space, or a header inside a code block show the symbols as typed.
How do I make small grey text on Discord?
Start the line with -# and a space. Discord calls it subtext.
How do I make coloured text on Discord?
Use a code block with ansi after the first three backticks and colour codes in the text. The coloured text maker on this page writes the codes for you. Colours show on Discord for desktop and in the browser; the phone apps show plain text.
How do I stop Discord formatting my text?
Put a backslash before the symbol, like \*this\*, and Discord shows the asterisks. Inline code with single backticks also shows the text exactly as typed.
Does Discord formatting work in embeds and bots?
Yes. Bots and webhooks use the same Markdown in their messages, and in an embed's description and field values.