Format your messages

Message formatting helps add detail and clarity to communication in Slack. When you format your messages with Slack's automatic formatting, 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.

Note: If you'd prefer to format your messages with markup instead of automatic formatting on desktop, visit Set your formatting preference on desktop to learn more.

 

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 field
  • 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 field.


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

Tip: When you copy and paste formatted messages into Slack, the formatting is retained. To quickly apply new formatting, press ShiftF (Mac) or CtrlShiftF (Windows/Linux). To undo formatting, press Z or CtrlZ.

Note: We’re in the process of gradually rolling out new and improved ways to format your messages on the mobile app. If you’re not seeing 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 in strikethrough
  • Select text, then tap the  strikethrough icon in the formatting toolbar
  • 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 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

 

Blockquote

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

 

Lists

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

Ordered list:

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

Bulleted list:

  • Select text, then tap the   bulleted 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'll need to add spaces before and after the formatting symbols.

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