Format your messages

Message formatting helps add detail and clarity to communication in Slack. When you format your messages, you’ll see what they look like as you type, and you can even add multiple formatting options to the same selection of text.

Note: We’re in the process of gradually rolling out new and improved ways to format your messages. If you’re not seeing this new functionality yet, please stay tuned in the coming weeks.

 

New

Legacy

When you format your messages, you’ll see exactly what they look like before you send them. There are three ways to format your messages:

  • Use the formatting toolbar in the message input box
  • Use keyboard shortcuts to format selected text
  • Surround text with the symbols associated with each format

Note: To display or hide the formatting toolbar, click the   text icon in the bottom-right corner of the message input box.

01_WYSIWYG-Final_1.1.gif

Bold

Screenshot of message formatting in Slack with text in bold
  • Select text, then click the  bold icon in the formatting toolbar
  • Select text, then press B on Mac or CtrlB on Windows/Linux
  • Surround your text with asterisks: *your text*


Italic

Screenshot of message formatting in Slack with text in italic

  • Select text, then click the  italic icon in the formatting toolbar
  • Select text, then press I on Mac or CtrlI on Windows/Linux
  • Surround your text with underscores: _your text_


Strikethrough

Screenshot of message formatting in Slack with text in strikethrough
  • Select text, then click the  strikethrough icon in the formatting toolbar
  • Select text, then press ShiftX on Mac or CtrlShiftX on Windows/Linux
  • Surround your text with tildes: ~your text~

 


Inline code

Screenshot of message formatting in Slack with text in inline code

One word or one line:

  • Select text, then click the  code icon in the formatting toolbar 
  • Select text, then press  ShiftC on Mac or CtrlShiftC on Windows/Linux 
  • Surround your text with backtick symbols (`):
    `Format one word or one line`

Blocks of text:

  • Select text, then click the   code block icon in the formatting toolbar
  • Select text, then press AltShiftC on Mac or CtrlAltShiftC on Windows/Linux 
  • Begin your text with triple backticks (```):
    ```
    Format blocks of text
     

Note: Other formatting, like bold or italic text, will not display in code block. For enhanced code sharing, we suggest creating a snippet.


Blockquote

Screenshot of message formatting in Slack with text in blockquote

 

  • Select text, then click the   blockquote icon in the formatting toolbar 
  • Select text, then press Shift9 on Mac or CtrlShift9 on Windows/Linux
  • Begin your text with angled brackets (>): 
    Quote one or multiple sentences

Press ShiftEnter to create a new pre-formatted line


Lists

Screenshot of message formatting in Slack with text in a numbered and bullet list

 

Ordered list:

  • Select text, then click the   ordered list icon in the formatting toolbar 
  • Select text, then pressShift7 on Mac or CtrlShift7 on Windows/Linux
  • Begin your message with 1, followed by a period (1.) and press Space

Press ShiftEnter to create a new pre-formatted line

Bulleted list:

  • Select text, then click the   bulleted list icon in the formatting toolbar 
  • Select text, then press Shift8 on Mac or CtrlShift8 on Windows/Linux
  • Begin your message with a bullet (•) by typing an asterisk (*)

Press ShiftEnter to create a new pre-formatted line

 

Note: The following formatting options work as described when using full-width (JP) input mode. When using half-width (EN) input mode, you'll need to add spaces before and after the formatting symbols.

Note: To include a URL, paste it into the message input box — it’s not currently possible to create hyperlinks in messages. Learn more about sharing links in Slack.

There are two ways to format your text, depending on which Slack app you're using:

  • Format as you type: On desktop and mobile, you can format as you type by using the symbols described below.
  • Use keyboard shortcuts: On desktop, you can also use keyboard shortcuts to format selected text. For example, to bold the word Slack in your message, select and highlight the word Slack, then press B.

Tip: You can use multiple formats in the same selection of text. For example, typing *I am _very_ excited* will display as I am very excited.

 

Bold

bold.png


To bold, surround your text with asterisks: *your text*

Desktop shortcuts:
Select text, then press B on Mac or CtrlB on Windows/Linux


Italics

italics.png

To italicize, surround your text with underscores: _your text_

Desktop shortcuts:
Select text, then press I on Mac or CtrlI on Windows/Linux


Strikethrough

strikethrough.png


To strikethrough, surround your text with tildes: ~your text~

Desktop shortcuts:
Select text, then press ShiftX on Mac or CtrlShiftX on Windows/Linux

Note: Unfortunately, strikethrough does not work using full-width input mode. 


Quotes

quotes.png

To quote, add angled brackets (>) before your text:
Quote one sentence
>>>
Quote multiple sentences

Desktop shortcuts:
Select text, then press  Shift> on Mac   or CtrlShift> on Windows/Linux


Inline code

inlinecode.png


To format inline code, surround your text with backtick symbols (`):
`Format one word or one line`
```
Format blocks of text```

Desktop shortcuts:
Select text, then press Shift on Mac   or CtrlShiftC on Windows/Linux

Note: Other formatting like bold or italic text will not display in inline code. For enhanced code sharing, we suggest creating a snippet!


Lists

lists.png


To format a list, begin your message with a number or a bullet (•). Type Shift Enter to create a new preformatted line. 

Desktop Shortcuts:
For numbers:
Shift7 on Mac
CtrlShift7 on Windows
For bullets:
Shift8 on Mac
CtrlShift8 on Windows

Tip: Add a bullet (•) from your keyboard by pressing Option8 on Mac, or Alt7 (using the number pad) on most Windows machines. Or, simply start your list with an asterisk (*) and it'll convert to a bullet. 

A note about Markdown

Our message formatting was designed to support the majority of our customers. Since most are not familiar with Markdown, we’ve chosen not to support it.

For more formatting options, try composing a post to share with other members. 

Note: Hyperlinking a message isn't supported. To include a URL, you can paste it into the message field. Visit Share links in Slack for more. 

Tip: See the Message Formatting page in our API docs for details on formatting bot messages.