Markdown Table Generator Convert
Paste CSV, TSV or pasted spreadsheet cells and get an aligned markdown table.
Markdown Table Generator is a free online tool that paste CSV, TSV or pasted spreadsheet cells and get an aligned markdown table. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Convert
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- plain JavaScript
- Settings
- 4
- Works offline
- Yes, after the first visit
About Markdown Table Generator
Copy a range out of a spreadsheet and the clipboard gives you tab-separated text, which is exactly what this expects. Separator detection reads the first line and picks whichever candidate appears most, so pasted cells, CSV and pipe-delimited text all work without a setting. Padding the cells is optional and worth leaving on — it does not change how the table renders, but it makes the markdown source readable and reviewable in a diff.
How to use it
- Paste the text you want to run through markdown table generator.
- Set input separator, column alignment and pad cells so the source lines up and the remaining options.
The 4 settings
| Setting | What it does | Default |
|---|---|---|
| Input separator | Choose from 5: Detect automatically, Tab, Comma, Semicolon, Pipe. | Detect automatically |
| Column alignment | Choose from 4: Left, Center, Right, Numbers right, text left. | Left |
| Pad cells so the source lines up | On or off. On by default. | On |
| First row is a header | On or off. On by default. | On |
Under the hood
| Runs on | plain JavaScript — runs the whole thing |
| Controls | Input separator, Column alignment, Pad cells so the source lines up, First row is a header |
Questions
Does the padding change anything for readers?
No. Markdown ignores the whitespace inside cells, so a padded and an unpadded table render identically. The difference is entirely in the source, where an aligned table can be read and edited by a person.
What is the auto alignment option?
It checks each column and right-aligns the ones that contain only numbers, which is the typographic convention — digits line up by place value and become comparable at a glance. Text columns stay left-aligned.
What if my data contains pipe characters?
They are escaped, since an unescaped pipe would end the cell early and shift every column after it. The escaping renders as a normal pipe.