Discord text formatting/commands: Bold, italics, color, strikethrough

Discord formats chat text with markdown symbols: two asterisks on each side make text bold, one asterisk or underscore makes italics, and two tildes strike text through. Discord has no official color syntax for message text, so color comes from role colors and code-block syntax highlighting instead.

This guide gives the exact symbols for every format Discord documents, the keyboard shortcuts, spoilers on desktop and mobile, timestamps, name colors, and fixes when formatting does not render.

Discord text formatting

Type these symbols around your text in any message box, then send. The formatting renders for everyone in the channel. Copy the line you need from this cheat sheet.

*italics*            or   _italics_
**bold**
***bold italics***
__underline__
~~strikethrough~~
||spoiler||
`inline code`
```
multi-line code block
```
> one-line quote
>>> quote everything after this
# Big header
## Medium header
### Small header
-# Subtext
- Bullet item
  - Nested bullet item
1. Numbered item
[Display text](https://example.com)
<t:1618953630:R>

Each pair of symbols wraps the text it formats. Line-start markers (#, -#, >, -, 1.) go at the very beginning of a line and need a space after them.

You should see: The symbols disappear once the message is sent, and the text shows in bold, italics, a header, a quote box, or a gray spoiler bar.

Discord's own reference for these symbols is the Markdown Text 101 help article, last updated in November 2026.

How to bold text in Discord

Put two asterisks directly before and after the words, with no space between the asterisks and the text.

**This text is bold**

Two asterisks on each side switch on bold. Select text in the message box and press Ctrl + B on Windows or Cmd + B on Mac to add the asterisks for you.

You should see: The sent message shows "This text is bold" in heavier type with no asterisks visible.

How to italicize text in Discord

Discord accepts two italics markers, a single asterisk or a single underscore. Both give the same result.

  1. Click the message box in the channel or DM.
  2. Type a single asterisk, your text, and another asterisk, for example *slanted text*.
  3. Or type an underscore on each side instead, for example _slanted text_.
  4. Press Enter to send the message.
  5. To italicize text you already typed, select it and press Ctrl + I on Windows or Cmd + I on Mac.

How to strikethrough text in Discord

Strikethrough, sometimes called crossed-out text, uses two tildes on each side. The tilde key sits left of 1 on a US keyboard and needs Shift.

  1. Click the message box.
  2. Type two tildes, the text, and two more tildes, for example ~~old plan~~.
  3. Check that no space sits between the tildes and the first or last word.
  4. Press Enter to send the crossed-out text.

Strikethrough has no keyboard shortcut in Discord's shortcut list, so type the tildes by hand.

How to underline text in Discord

Underline uses two underscores on each side. One underscore on each side gives italics instead, so count them.

  1. Click the message box.
  2. Type two underscores, the text, and two more underscores, for example __read this first__.
  3. Or select text you already typed and press Ctrl + U on Windows or Cmd + U on Mac.
  4. Press Enter to send.

How to combine text formatting in Discord

Formats stack. Put the underline markers on the outside and the asterisks on the inside, as Discord's markdown guide shows.

***bold italics***
__*underline italics*__
__**underline bold**__
__***underline bold italics***__

Three asterisks on each side give bold italics. Wrapping any of the asterisk formats in two underscores adds an underline on top.

You should see: The sent text carries every style at once, for example bold, slanted and underlined.

How to quote text in Discord

Block quotes put a gray bar beside the text. Use one marker for a single line and three for a longer passage.

  1. Click the message box.
  2. Type > and a space at the start of the line, then the quoted text, for example > Meeting moved to 6 PM.
  3. For several lines, type >>> and a space before the first line only.
  4. Add the remaining lines of the passage under it.
  5. Press Enter to send the quote.

While you type, the message box treats > and >>> the same way. Discord lists this as intended behavior, not a bug.

Discord text formatting/commands: Bold, italics, color, strikethrough
Typing >>> and a space before the first line quotes every line after it, marked by the gray bar. (Image: support.discord.com)

How to make a spoiler in Discord

A spoiler hides text, a link or an attachment behind a dark bar until someone clicks it. Discord gives four ways to add one.

  1. Wrap the text in two vertical bars on each side, for example ||the butler did it||. This works on desktop, browser and mobile.
  2. Or highlight the text in the message box on desktop and click the eye icon in the pop-up.
  3. Or type /spoiler followed by your message and send it.
  4. For an image, video or file, add the attachment, then click the Mark as Spoiler eye icon on it before sending.
  5. On iPhone or iPad, select the text in the message box, tap it to open the menu, and tap Mark as Spoiler.
  6. Press Enter or tap send.

To hide a link, put the vertical bars around the URL. Server invite embeds stay visible even inside spoiler bars.

Readers click the bar to reveal it. Leaving the channel hides every spoiler again.

Make a spoiler in Discord with the eye icon on an attachment
Before sending, click the Spoiler Attachment eye icon on an image, video or file to hide it until clicked. (Image: support.discord.com)

How to show or hide spoilers in Discord settings

Spoiler display is a per-account setting. It can be changed only in the desktop app or the browser version of Discord.

  1. Open User Settings in the desktop app or browser.
  2. Open Text & Images.
  3. Find the spoiler option and choose On click to keep spoilers hidden until clicked.
  4. Choose On servers I moderate to see spoilers uncovered where you have Manage Messages.
  5. Choose Always to show every spoiler uncovered.
Show spoiler content options in Discord Text & Images settings
Pick On click, On servers I moderate or Always; this per-account setting changes only on desktop or browser. (Image: support.discord.com)

How to make a code block in Discord

Code formatting shows text in a fixed-width font on a dark background. One backtick on each side makes inline code. Three backticks above and below make a multi-line block.

Inline: `ipconfig /all`

```
line one of the block
line two of the block
```

The backtick key sits left of 1 on a US keyboard, the same key as the tilde. Put the closing three backticks on their own line, or syntax highlighting switches off on the last line.

You should see: The text shows in a fixed-width font on a dark background, set apart from the rest of the message.

A code block cancels spoiler bars, so spoiler text inside it is never hidden.

Discord code block made with three backticks in the message box
Three backticks before and after the lines turn them into a fixed-width multi-line code block. (Image: support.discord.com)

How to make a masked link in Discord

A masked link shows your own words in place of the raw URL. Put the words in square brackets and the full address in parentheses right after them.

[Discord markdown guide](https://support.discord.com/hc/en-us/articles/210298617)

The text inside the square brackets is what readers see. The address inside the parentheses is where the click goes, and it must start with https:// or http://.

You should see: The sent message shows "Discord markdown guide" as a clickable link.

Links in the message box are not clickable before you send. That is intended behavior, so test the link after it posts.

How to type in color in Discord

Discord's markdown guide lists italics, bold, underline, strikethrough, headers, subtext, masked links, lists, code blocks, quotes and spoilers. It lists no symbol or command that colors message text.

What you want colored What Discord officially offers Where
Words inside a normal message No color syntax exists None
Code you paste Syntax highlighting colors code inside code blocks Three-backtick code block
Your name in chat The color of your highest colored role Server Settings > Roles > Role Color
How strong colors look to you A saturation slider and role-color display options User Settings > App Settings > Accessibility

Discord publishes no list of code-block color codes. Tricks shared on forums depend on unofficial behavior and can stop rendering after an app update.

How to change your name color in Discord

Name color comes from server roles. You need the Manage Roles permission, and you can edit only roles below your own highest role.

  1. Click the server name in the upper-left corner.
  2. Select Server Settings.
  3. Open the Roles tab and select the role to recolor.
  4. Under Role Color, pick a preset or open Custom Color to choose any shade.
  5. Click Save Changes.
  6. Give that role to the member whose name should change color.

Each viewer decides how role colors appear in User Settings > App Settings > Accessibility: Show role colors in names, Show role colors next to names, or Don't show role colors.

Change your name color in Discord with the role color picker
Under Role Color, open the custom picker to choose any shade, then click Save Changes to apply it. (Image: support.discord.com)

How to make headers in Discord

Headers make large bold titles inside a message. Discord supports three sizes.

  1. Start a new line in the message box.
  2. Type # and a space for a big header, for example # Server rules.
  3. Type ## and a space for a medium header.
  4. Type ### and a space for a small header.
  5. Press Enter to send.

The hash marks must be the first characters on the line. Text before them, or a missing space after them, leaves the line as plain text.

Discord headers markdown with #, ## and ### beside the rendered sizes
Each header line starts with one, two or three hash marks and a space, giving big, medium and small titles. (Image: support.discord.com)

How to use subtext in Discord

Subtext is small gray text, handy for footnotes and credits under a message.

  1. Start a new line in the message box.
  2. Type -# followed by a space at the very beginning of the line.
  3. Type the note, for example -# Posted for the weekend event.
  4. Press Enter to send.
Discord subtext line in small gray text under a message
Start a line with -# and a space to turn it into small gray subtext, handy for footnotes and credits. (Image: support.discord.com)

How to make a bullet list in Discord

Lists use a dash or an asterisk at the start of each line. Numbered lists use a number and a period.

  1. Start each item on its own line with - or * followed by a space, for example - Bring snacks.
  2. For a numbered list, start each line with the number and a period, for example 1. Join voice.
  3. To nest an item, add two spaces before its dash or asterisk.
  4. Leave a space between the bullet and the text, or the line stays plain.
  5. Send the message.
Discord bullet list markdown with nested items and the rendered list
Add two spaces before a dash or asterisk to nest that item under the line above it. (Image: support.discord.com)

Discord timestamp formatting

A timestamp tag shows a date or time in each reader's own timezone and language. Write <t: then a Unix time in seconds, an optional style letter, and >. The examples below use <t:1618953630:STYLE>.

Style letter Example output Format
t 16:20 Short time
T 16:20:30 Medium time
d 20/04/2021 Short date
D April 20, 2021 Long date
f (default) April 20, 2021 at 16:20 Long date, short time
F Tuesday, April 20, 2021 at 16:20 Full date, short time
R 4 years ago Relative time

Leave the style letter off and Discord uses f. Unix time counts seconds, so a value in milliseconds shows a date far in the future.

Discord text formatting shortcuts

Select the words in the message box first, then press the shortcut. Discord applies the format to the selection.

Format Windows Mac
Bold Ctrl + B Cmd + B
Italics Ctrl + I Cmd + I
Underline Ctrl + U Cmd + U
Spoiler Select text, click the eye icon Select text, click the eye icon

Discord markdown not working

Most formatting failures come from a missing space, a marker in the wrong place, or a code block that cancels the style.

Discord header not showing

The hash marks are not the first characters on the line, or no space follows them.

  1. Move the #, ## or ### to the start of a new line.
  2. Add one space between the hash marks and the text.
  3. Send the message again.

Discord subtext not working

The -# marker must sit at the very beginning of the line.

  1. Delete any characters or spaces before -#.
  2. Put a space after -#, then type the note.
  3. Send the message.

Discord bold or italics not working on several lines

Discord does not style bold, italics or underline that spans more than one line, and lists this as a known limitation.

  1. Close the asterisks or underscores at the end of each line.
  2. Open them again at the start of the next line.
  3. Send the message and check each line.

Discord spoiler not hiding text

The spoiler bars sit inside a code block, which cancels them.

  1. Remove the backticks around the hidden text.
  2. Keep two vertical bars on each side of it.
  3. Send the message again.

Discord bullet list not showing

No space follows the dash, asterisk or number.

  1. Add a space after each -, * or 1..
  2. Put each item on its own line.
  3. Send the message.

Discord code block colors stop on the last line

The closing three backticks share a line with code.

  1. Edit the message.
  2. Move the closing backticks onto a line of their own.
  3. Save the edit.

/spoiler shows no preview in Discord

Slash commands such as /spoiler and /me never preview the styled text before sending.

  1. Send the message as normal.
  2. Check the posted message, which shows the spoiler bar.

Discord text formatting FAQ

How do you make text bold in Discord?

Put two asterisks before and after the words with no spaces between the asterisks and the text. Or select the words in the message box and press Ctrl + B on Windows or Cmd + B on Mac.

How do you cross out text in Discord?

Type two tildes on each side of the words, then send. The tilde shares the key left of 1 on a US keyboard and needs Shift. Discord has no keyboard shortcut for strikethrough.

Can you change the color of text in Discord?

No. Discord's official markdown includes no color option for message text. Code blocks get automatic syntax highlighting, and names take the color of the member's highest colored role, which server admins set under Server Settings > Roles.

How do you make a spoiler on Discord mobile?

Wrap the text in two vertical bars on each side, which works on every device. On iPhone and iPad you can also select the text, tap it, and choose Mark as Spoiler from the menu.

How do you make big text in Discord?

Start a new line with one hash mark and a space for the biggest header. Two hash marks give a medium header and three give a small one. The marks must be the first characters on the line.

How do you make small gray text in Discord?

Start the line with a dash, a hash mark and a space, then type the note. This subtext format only works when the marker sits at the very beginning of the line.

How do you underline and bold text at the same time in Discord?

Put two underscores on the outside and two asterisks on the inside of the words. Use three asterisks inside the underscores to add italics as well, so the text is bold, slanted and underlined.

How do you put a link behind words in Discord?

Write the words in square brackets and put the full web address in parentheses directly after them. Readers see only the words, and clicking them opens the address.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *