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 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 can’t see this new functionality yet, please stay tuned!

 

Legacy

New

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 make a word bold 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, *I am _very_ excited* will be displayed as I am very excited.

 

Bold

bold.png


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

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


Italics

italics.png

To italicise your text, surround it with underscores: _your text_

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


Strikethrough

strikethrough.png


To cross out (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


In-line code

inlinecode.png


To format in-line 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 in-line 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 point (•). Type Shift Enter to create a new preformatted line. 

Desktop shortcuts:
For numbers:
Shift7 on Mac
CtrlShift7 on Windows
For bullet points:
Shift8 on Mac
CtrlShift8 on Windows

Tip: Add a bullet point (•) 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 get converted to a bullet point. 

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. See Share links in Slack for more. 

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

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 crossed out (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~

 


In-line code

Screenshot of message formatting in Slack with text in in-line 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, such as bold or italic text, will not be displayed in a code block. For enhanced code sharing, we suggest creating a snippet.


Block quote

Screenshot of message formatting in Slack with text in block quote

 

  • Select text, then click the   block quote 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 preformatted line


Lists

Screenshot of message formatting in Slack with text in a numbered and bullet point 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 full stop (1.) and press Space

Press ShiftEnter to create a new preformatted line

Bullet point list:

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

Press ShiftEnter to create a new preformatted line

 

Note: The following formatting options work as described when using full-width (JP) input mode. When using half-width (EN) input mode, you 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.