Slack Text Formatting

How to format text in Slack messages using mrkdwn syntax

Note: Slack uses its own format called "mrkdwn" which is similar to Markdown but has some key differences. Standard Markdown syntax may not work.

Need to convert? Paste standard Markdown (or a ChatGPT/Claude answer) and get Slack-ready mrkdwn instantly.

Try the Markdown to Slack converter →

Supported Formatting

Bold

Uses single asterisks

*bold text*

Italic

Uses underscores

_italic text_

Strikethrough

Uses single tildes

~strikethrough~

Inline Code

Single backticks

`code`

Code Block

Triple backticks

```
code block
```

Block Quote

Greater than symbol

> quoted text

Multi-line Quote

Triple greater than

>>> all following
lines quoted

Bulleted List

Use • or - on new lines

• Item one
• Item two

Numbered List

Number followed by period

1. First
2. Second

Link

URL|display text in angle brackets

<https://example.com|Link Text>

User Mention

Mention a user

<@USER_ID>

Channel Link

Link to a channel

<#CHANNEL_ID>

Emoji

Use emoji shortcodes

:emoji_name:

Not Supported in mrkdwn

  • Headers (H1-H6)
  • Standard Markdown links [text](url)
  • Images in text
  • Tables
  • Footnotes
  • Horizontal rules
  • Bold italic combined
  • Task lists

This list is about mrkdwn and the messages people type. An app can send standard Markdown in a Block Kit markdown block instead, which renders headers, tables, task lists, dividers, [text](url) links and syntax-highlighted code blocks.

Slack vs Standard Markdown

FormatMarkdownSlack
Bold**bold***bold*
Italic*italic*_italic_
Strikethrough~~strike~~~strike~
Link[text](url)<url|text>

Frequently Asked Questions

Does Slack support Markdown?

Slack does not use standard Markdown. It uses its own format called mrkdwn, which is similar but different: bold uses single asterisks (*bold*), italic uses underscores (_italic_), and strikethrough uses single tildes (~strike~). Headers, images, and tables are not part of mrkdwn; an app that needs them can send standard Markdown in a Block Kit markdown block.

How do I make text bold in Slack?

Wrap the text in single asterisks: *bold text*. Note this is different from standard Markdown, which uses double asterisks.

How do I underline text in Slack?

mrkdwn has no underline syntax, so there is nothing to type and apps cannot send it. In the Slack app, select the text and choose Underline in the formatting toolbar.

How do I add a link with custom text in Slack?

Use angle brackets with a pipe: <https://example.com|Link Text>. Standard Markdown links like [text](url) are not part of mrkdwn; a Block Kit markdown block accepts them.

How do I make a code block in Slack?

Use triple backticks before and after your text for a multi-line code block, or single backticks for inline code. Code blocks in mrkdwn are not syntax highlighted; an app can send a highlighted one by putting a fenced block with a language name in a Block Kit markdown block.