What the Markdown Table Generator does
The Markdown Table Generator turns data pasted from Excel, Google Sheets or a CSV into a Markdown table for GitHub, documentation, Notion, Obsidian and README files. It detects tabs, commas or semicolons, escapes the | character inside cells so it cannot break the table, sets each column’s alignment, and pads the columns so the table lines up in plain text too.
How to use it
- Paste cells from a spreadsheet, or CSV.
- Choose the alignment for each column.
- Keep Line up the columns on for neat plain text.
- Copy the Markdown or download it as a .md file.
Example
Three rows pasted from a spreadsheet, Item, Qty and Rate, become a table with Qty and Rate right-aligned (shown by ---: in the separator line). The cell “Hosting | 12 months” is written as “Hosting \| 12 months”, so the pipe shows as text instead of starting a new column.
Markdown table rules
The first row is the header and the second line sets alignment: :--- for left, :---: for centre and ---: for right. Line breaks are not allowed inside cells, so the tool turns them into <br>, which GitHub and most viewers show as a new line.
Large tables are hard to edit as Markdown. Keep the data in a spreadsheet or CSV as the master copy, and paste it here again whenever it changes, rather than editing the Markdown by hand.
Questions people ask
Is my data uploaded?
No. Everything is worked out in your browser, and nothing you enter is kept once you close the page.
Does it work with GitHub?
Yes. GitHub Flavored Markdown supports tables, alignment and escaped pipes.
Why pad the columns?
Padding makes the table readable in plain text and in code reviews; it looks the same when rendered.
Can I paste from Google Sheets?
Yes. Copied cells arrive as tab-separated text, which is detected automatically. An empty top-left cell stays as an empty header, so the columns keep their places.