Tools / Markdown Table Generator

Markdown Table Generator.

Turn spreadsheet, CSV or TSV data into an aligned Markdown table, or reformat an existing one.

Runs in your browser

Auto right-aligns columns that contain only numbers.

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
Markdown
Table

About Markdown Table Generator

Markdown Table Generator turns tabular data into a GitHub-flavored Markdown table you can drop into a README, a pull request, a wiki page or documentation. The fastest path is to select cells in Excel, Google Sheets or Numbers, copy them and paste: spreadsheets put tabs between cells, and the generator detects that automatically, as well as commas, semicolons (common in European CSV exports) and pipes. Quoted CSV fields work as expected, including commas, doubled quotes and line breaks inside a cell; a line break becomes <br> because a Markdown table row must stay on one line. A literal pipe character inside a cell is escaped as \| so it does not split the column, which is the most common reason hand-written tables break. With padding on, every column is widened so the raw Markdown lines up and stays readable in a code review, and wide characters such as Chinese, Japanese, Korean and most emoji are counted as two columns so the alignment still holds in a monospace editor. Alignment can be set for all columns, or left on auto, which right-aligns columns that contain only numbers, prices or percentages, for example a price list with values like $12 and 1,299.00. If your first row is data rather than a header, switch the header off and generic column names are added, because Markdown tables always need a header row. You can also paste an existing Markdown table to re-align it. Short rows are filled with empty cells. Everything happens in your browser.

How to Use

  1. Paste cells from a spreadsheet, CSV, TSV or an existing Markdown table.
  2. Check the header and alignment options.
  3. Copy the Markdown table into your README or document.

Frequently Asked Questions

How do I convert an Excel range to Markdown?

Select the cells in Excel or Google Sheets, copy them and paste them here. The tab-separated data is detected automatically and the first row becomes the header.

Why does my cell show \| instead of a pipe?

An unescaped pipe would end the cell and shift every column after it. The backslash is hidden when the Markdown is rendered, so readers only see the pipe.

Can I put a line break inside a cell?

Markdown tables do not allow real line breaks, so line breaks in your data are converted to <br>, which GitHub and most renderers display as a new line.

Is my data uploaded?

No. The table is generated in your browser and the page makes no network requests while you use it.

Related Tools