Type into the grid, or paste cells straight from Excel, Google Sheets or a CSV file, and a neatly aligned Markdown table is written for you. Set each column's alignment, sort, transpose, then copy it into your README, docs or notes.
Last updated:
The first row is the header. Tip: copy cells from Excel or Google Sheets and paste them into any cell to fill the grid.
Advertisement
Advertisement
How to use the Markdown Table Generator
Fill in the grid. The first row (H) is the header. Press Enter to move down; pressing Enter on the last row adds a new one.
Or bring in data: copy a range in Excel or Google Sheets and paste it into a cell, or click Import data to paste CSV, TSV or a Markdown table.
Set alignment with the L, C and R buttons above each column. Use ⇅ to sort, + to insert a column and × to delete one.
Choose the output style: aligned (pretty) columns, with or without the outer pipes.
Copy the Markdown or download it as a .md file. Check the Preview tab to see how it renders.
Markdown table syntax
A GitHub Flavored Markdown table has a header row, a separator row and any number of body rows:
Inside cells you can use inline Markdown: **bold**, _italic_, `code`, [links](https://example.com) and ~~strikethrough~~. Escape a literal pipe as \|.
Tips for readable tables
Right-align numbers so digits line up, and center short status values such as Yes/No.
Keep cells short. Long paragraphs make tables hard to read on phones; link to details instead.
Use the pretty option when the table lives in a README that people read as plain text. Turn it off for very wide tables to keep diffs small.
Converting a whole web page? The HTML to Markdown converter turns HTML tables into Markdown tables automatically.
Frequently asked questions
How do you make a table in Markdown?
Write the header cells separated by pipes (|), then a separator row of dashes such as | --- | --- |, then one line per row: | Ann | Designer |. Pipes at the start and end of each line are optional, and the columns do not have to line up, but aligned columns are easier to read.
How do I align columns in a Markdown table?
Add colons to the separator row: :--- aligns left, :---: centers and ---: aligns right. In this generator, click L, C or R above a column and the separator row is written for you.
How do I convert Excel or Google Sheets to a Markdown table?
Select the cells in your spreadsheet, copy them, click the top-left cell of the grid here and paste. The data is copied as tab-separated text, which the generator spreads across the grid. The first row becomes the header.
How do I put a pipe character in a table cell?
Escape it with a backslash: \|. The generator does this automatically when you type a | into a cell.
Can a Markdown table cell contain a line break or a list?
Markdown table cells must stay on one line, so block content such as lists or code blocks is not allowed. For a line break, most renderers including GitHub accept <br> inside a cell; line breaks in imported cells are converted to <br>.
Do Markdown tables work everywhere?
Tables are part of GitHub Flavored Markdown and are supported by GitHub, GitLab, Bitbucket, Reddit, Obsidian, Notion imports, most static site generators and many documentation tools. The original Markdown specification and plain CommonMark do not include tables.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.