---
title: "Discord Text Formatting: Markdown and Mentions | VulCode"
description: "How to bold, strike through and hide text on Discord? Live Markdown preview plus mention syntax for roles, channels and emoji. Free, no account."
url: "https://vulcode.com/en/tools/discord-text-formatting"
lang: "en"
---

[Home](https://vulcode.com/en) [Resources](https://vulcode.com/en/resources) [Tools](https://vulcode.com/en/tools)

# Discord message formatting

How to bold, strike through and hide text on Discord? Live Markdown preview plus mention syntax for roles, channels and emoji. Free, no account.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

Formatting

Mentions and emoji

Bold **...**

Italic *...*

Underline __...__

Strikethrough ~~...~~

Spoiler ||...||

Code `...`

Code block ```...```

Quote >

Header #

Plain text \*

Clear

Message text 77 / 2000

Discord takes 2000 characters at most.

## What the reader sees

Copy the message

What you insert

User Role Channel Emoji Command /

ID

A Discord ID is 15 to 20 digits.

Emoji name

Animated emoji

## To paste into a message

`<@123456789012345678>`

Copy

Enter the ID

## How it looks on Discord

Hi @user, have a look.

## How to use it in three steps

Step by step, with this page's example.

Formatting

- Type the message text.

- Add spoilers, code, quotes and headers with buttons.

- Copy the result and paste it into Discord.

What you enter

A server password hidden under a spoiler and a command in a code block

What you get

```
Password: ||open-sesame||
```
/join mc.example.com
```
```

Mentions and emoji

- Choose what to mention: a user, role, channel or emoji.

- Paste the ID.

- Copy the ready syntax for a message or a bot.

What you enter

Role ID 123456789012345678

What you get

```
<@&123456789012345678>
```

## Questions

- **How do I format text on Discord?**: Discord uses a Markdown-style syntax: ** for bold, * for italic, || for a spoiler and ``` for a code block. The tool previews each one before you paste the text into a message.
- **How do I make bold text on Discord?**: Put two asterisks on both sides of the text: **text**. Italic is one asterisk, strikethrough is two tildes ~~text~~ and underline is two underscores __text__.
- **How do I insert a code block on Discord?**: Wrap the code in three backticks (```) on separate lines, and a short snippet in single backticks. After the opening backticks you can add a language name, for example json.
- **Does Discord support headers?**: Yes, since 2023 messages accept #, ## and ### headers, lists and masked links.
- **How do I send an asterisk without bold?**: Put a backslash before it: \*. The tool does the same for characters that should stay plain text.
- **Why the syntax instead of a click?**: Bots and webhooks cannot click a person. They send text in this syntax, and Discord turns it into a mention.
- **How do I reference a server emoji?**: The syntax is <:name:ID>, or <a:name:ID> for animated ones. The tool builds both.

## Related tools

Each tab of the tool does one job. If the same thing should happen automatically in your bot, server or system, we build it.

- ### [Discord webhook and embed](https://vulcode.com/en/tools/discord-webhook-embed-builder)
  Build an embed with a preview, copy the JSON or send it to a webhook.

- ### [Discord timestamps](https://vulcode.com/en/tools/discord-timestamp-generator)
  Pick a date and get all seven <t:...> formats with a preview.

- ### [Discord snowflake](https://vulcode.com/en/tools/discord-snowflake-decoder)
  Paste an ID and get the exact creation date of an account, server or message.

- ### [Discord bots](https://vulcode.com/en/services/discord-bots)
  When the same thing should happen automatically in your bot, server or system.

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
