Markdown Table Generator

Create Markdown tables online. Paste from Excel, import an existing Markdown table, align columns, sort rows, and copy the result as Markdown, HTML, or LaTeX — no signup.

Tip: Paste from Excel (Ctrl+V)
Operations:
Row actions

Table Output

| Header 1 | Header 2 | Header 3 |
| --- | --- | --- |
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |

Preview

Header 1 Header 2 Header 3
Cell 1 Cell 2 Cell 3
Cell 4 Cell 5 Cell 6

How to Use This Tool

  1. Edit the table headers and cells by clicking on them
  2. Use the alignment buttons to set column alignment
  3. Add or remove rows and columns as needed
  4. Copy the generated Markdown and paste it anywhere

Make Markdown Tables from Spreadsheets

The fastest way to turn spreadsheet data into Markdown is to copy a cell range, click inside the table editor, and paste. The generator reads the tab-separated rows, keeps the first row as headers, and builds the Markdown table automatically.

Paste from Excel

Copy cells from Excel, Google Sheets, Numbers, or LibreOffice and paste directly into the table editor.

Import Markdown

Load an existing Markdown table into the visual editor, then clean, sort, align, or transpose it.

Copy clean output

Use the generated Markdown in GitHub, docs sites, README files, wikis, and Markdown editors.

About Markdown Tables

Markdown tables use pipes (|) and dashes (-) to create a structured format. The alignment of columns is controlled using colons (:) in the separator row.

  • :--- for left alignment
  • :---: for center alignment
  • ---: for right alignment

When This Table Generator Helps

  • Create README comparison tables without hand-writing pipes and separator rows.
  • Turn spreadsheet data into GitHub-flavored Markdown tables.
  • Clean copied tables by removing empty rows, deleting duplicate rows, and sorting columns.

Table editing runs in your browser, so pasted spreadsheet content does not need to be uploaded just to create Markdown output.

Frequently Asked Questions

How do I make a table in Markdown?

Write the header row between pipes, add a separator row of dashes, then one line per row: | Name | Role |, | --- | --- |, | Ada | Engineer |. The generator above writes this for you as you type into the cells, so you never count pipes by hand.

Can I paste a table from Excel or Google Sheets?

Yes. Copy the cell range, click inside the table editor and paste: the first row becomes the header. For a CSV file or a whole sheet, the CSV to Markdown table and Excel to Markdown converters take the data in one go.

How do I align columns left, center or right?

Use the alignment buttons above each column. They set colons in the separator row: :--- left, :---: center, ---: right. The table alignment guide shows each one rendered.

Does Discord support Markdown tables?

No. Discord shows the pipes as plain text. The usual workaround is to line the columns up with the Markdown table formatter and paste the result inside a Discord code block, where the monospace font keeps the columns straight. GitHub, GitLab, Obsidian and most docs sites do render tables.

Can I merge cells or leave out the header row?

Not in standard GitHub-flavored Markdown: every table needs a header row and cells cannot span columns. See merging cells and tables without a header for the HTML and empty-header workarounds.

Related Tools