Format your messages

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

 

Add formatting to your messages

Desktop

Mobile

On desktop, 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
01_WYSIWYG-Final_1.1.gif

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


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 OptionShiftC 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.

Tip: When you copy and paste text in markdown from another source into Slack, you can quickly apply formatting by pressing CmdShiftF (Mac) or CtrlShiftF (Windows/Linux).

Note: We’re in the process of gradually rolling out new and improved ways to format your messages in the mobile app. If you can’t see this new functionality yet, please stay tuned!

On mobile, there are two ways to format your messages:

  • Use the formatting toolbar in the message input box
  • Surround text with the symbols associated with certain formats

Note: To display the formatting toolbar, tap the   text icon at the bottom of the message input box. To hide it, tap the  close icon.


Bold

Screenshot of message formatting in Slack with text in bold
  • Select text, then tap the  bold icon in the formatting toolbar
  • Surround your text with asterisks: *your text*

 

Italic

Screenshot of message formatting in Slack with text in italic
  • Select text, then tap the  italic icon in the formatting toolbar
  • Surround your text with underscores: _your text_

 

Strikethrough

Screenshot of message formatting in Slack with text crossed out (in strikethrough)
  • Select text, then tap the  strikethrough icon in the formatting toolbar
  • 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 tap the  code icon in the formatting toolbar 
  • Surround your text with backtick symbols (`):
    `Format one word or one line`

Blocks of text:

  • Select text, then tap the   code block icon in the formatting toolbar

 

Block quote

Screenshot of message formatting in Slack with text in block quote
  • Select text, then tap the   block quote icon in the formatting toolbar 

 

Lists

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

Ordered list:

  • Select text, then tap the   ordered list icon in the formatting toolbar 

Bullet-point list:

  • Select text, then tap the   bullet-point list icon in the formatting toolbar 

 

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.