Paste CSV and get a clean Markdown table, with column alignment and a live preview.
| Product | Region | Units | Revenue |
|---|---|---|---|
| Lone Star Mug | TX | 240 | $3597.60 |
| Bluebonnet Tote | TX | 85 | $1912.50 |
| Golden Gate Print | CA | 18 | $630.00 |
Processed in your browser. A copy of each run is saved to your past runs so you can reopen it. Privacy
About
What the CSV to Markdown Table does
The CSV to Markdown Table Converter turns pasted CSV into a GitHub Flavored Markdown table as you type. It detects commas, semicolons or tabs, handles quoted fields that contain commas, and can treat the first row as the header or not. The grid below lets you fix cells and set each column's alignment before copying, and the output can be padded so it lines up in plain text.
Steps
How to use it
- 1Paste the CSV into the box at the top.
- 2Check the header setting and set column alignment in the grid.
- 3Copy the Markdown or download a .md file.
Example
A real run
Input
Product,Region,Units,Revenue Lone Star Mug,TX,240,$3597.60 Bluebonnet Tote,TX,85,$1912.50 "Golden Gate Print, large",CA,18,$630.00
Output
| Product | Region | Units | Revenue | | :----------------------- | :----- | ----: | -------: | | Lone Star Mug | TX | 240 | $3597.60 | | Bluebonnet Tote | TX | 85 | $1912.50 | | Golden Gate Print, large | CA | 18 | $630.00 |
The quoted product name keeps its comma in one cell, and the Units and Revenue columns are right-aligned with ---: in the separator row.
Options
Every setting, and when to use it
- Delimiter detection
- Commas, semicolons (European Excel exports) and tabs (cells copied from a spreadsheet) are all recognized, and quoted values such as "Golden Gate Print, large" stay in one cell.
- First row is header
- On, the first CSV row becomes the table header. Off, generic Column 1, Column 2 headers are added and every row stays data.
- Alignment and padding
- Click a column's alignment in the grid to right-align numbers or center labels. Padding lines the columns up when the Markdown is read as text, as in a README.
Good to know
Common problems and limits
The grid edits up to 500 rows and 50 columns; larger pastes are converted directly without the grid.
Pipes in values are escaped and line breaks inside quoted fields become <br>, which GitHub renders.
To build a table from scratch, use the Markdown Table Generator; to render the Markdown as HTML, use Markdown to HTML.
Audience
Who uses it
- DevelopersPut benchmark results, a CSV of options or a data sample into a README, an issue or a pull request.
- Technical writersTurn exported data into tables for Markdown documentation sites.
- AnalystsShare a small result set in a Markdown-based wiki or notes app without a screenshot.
FAQ
Frequently asked
How do I convert CSV to a Markdown table in VS Code or Python?
VS Code needs an extension for it; pasting here is quicker. In Python with pandas, pd.read_csv("data.csv").to_markdown(index=False) produces a Markdown table; it needs the tabulate package.
What about commas inside quoted fields?
They are handled: a value written as "Golden Gate Print, large" stays in one cell, as CSV defines. Splitting on every comma, as some quick scripts do, would shift the columns.
How do I handle very wide tables?
Markdown has no column-width controls, so wide tables scroll sideways on GitHub. Drop columns you do not need in the grid, or keep the padding off so the source stays compact.
Can I edit the table before copying?
Yes. After pasting, every cell is editable in the grid, and you can add or remove rows and columns and set alignment. The Markdown updates immediately.
Does it work with tab-separated data from Excel?
Yes. Cells copied from Excel or Google Sheets are tab-separated, and tabs are detected automatically.
Is my data sent anywhere?
No. The table is built in your browser. A copy is saved to your past runs when you copy or download the Markdown.
Automation: an MCP tool make_markdown_table(rows, align) → markdown and an n8n node are planned for this tool.