Back to FAQ

How to make a table in markdown?

Learn how to create tables in Markdown using pipes and dashes.

How to Make a Table in Markdown

Tables in Markdown are created using pipes (|) to separate columns and dashes (-) to create the header separator row.

Basic Table Syntax

Markdown

| Column 1 | Column 2 | Column 3 |
|---------|---------|---------|
| Data 1  | Data 2  | Data 3  |
| Data 4  | Data 5  | Data 6  |

Result

Column 1 Column 2 Column 3
Data 1 Data 2 Data 3
Data 4 Data 5 Data 6

Tips

  • • The header row is separated by a row of dashes
  • • Align columns using colons: :---: for center, :--- for left, ---: for right
  • • You can add formatting inside table cells (bold, italic, links)
  • • Keep tables simple for best compatibility