What is a CSV to Markdown table converter?
Markdown tables are fiddly to type. Every row needs pipes in the right places, and a separator line of dashes has to sit under the header. Add a few columns and a long cell, and fixing the layout by hand takes longer than writing the content. If your data already lives in a spreadsheet, copying it as CSV and converting is quicker.
This csv to markdown table converter turns your text into the GitHub-flavored (GFM) syntax used in READMEs, pull requests, wikis and static-site docs. Paste CSV or upload a file; the Markdown appears in the output box, and a Preview tab shows it as a plain table. Above the output, a row of small buttons under Per-column alignment lets you set each column to Left, Center, Right or none, so number columns can be right-aligned.
The three Padding modes change only how the source looks. Minimal and Standard add one or two spaces around each cell. Auto-align pads every cell to its column's widest value, so the source is readable in a monospace editor. All three render the same. Two limits: characters are counted by length, so wide characters such as CJK or emoji may not line up, and only pipes are escaped, not other Markdown symbols.
How to make a Markdown table from CSV
- Paste your CSV into the box, or press Upload CSV. Sample loads an example table of programming languages.
- Choose the Delimiter if the data is tab, semicolon or pipe separated.
- Set Default Alignment and Padding. Tick or clear Bold header text and Escape pipe chars.
- Use the small L, C, R and dash buttons under each column name to override alignment for that column.
- Read the result in the Markdown tab, check the Preview tab, then press Copy Markdown or Download .md (saved as table.md).
What this Markdown table generator does
Per-column alignment
Alignment becomes the :--- , :---: and ---: markers in the separator row, or plain --- for none. Changing Default Alignment resets all columns to the new value.
Three padding modes
One space, two spaces, or auto-align that pads each cell to the longest value in its column for a tidy raw file.
Bold header option
Wraps header text in double asterisks, which makes headers stand out in renderers that style headers lightly.
Pipe escaping
A literal | inside a cell is written as \| so it does not split the column. Line breaks inside a cell are turned into a space.
Quoted CSV support
Fields in double quotes can contain commas, doubled quotes and newlines, and still become a single Markdown cell.
Rendered preview
A table preview and a rows-and-columns count help you catch a wrong delimiter before you paste into a README.
Who uses it, and for what
- Open-source maintainers. Turn a compatibility matrix kept in a spreadsheet into a table for the project README.
- Developers writing documentation. Convert an API parameter list exported from a sheet into a table for a docs site that uses Markdown.
- Note-takers in Obsidian or Notion. Paste a copied table of tasks or budget lines and get Markdown that those apps understand. Use the Markdown editor to check the surrounding page.
- Technical bloggers. Add a benchmark table to a post without spending twenty minutes aligning pipes.
- Teams answering in issues. Convert a small data sample from a CSV log into a table you can paste straight into a GitHub comment.
Tips for tables that render correctly
- Right-align number columns with the R button, and leave text columns on L. The separator row carries the alignment even in Minimal padding mode.
- Use Auto-align if people will read or diff the raw file. Use Minimal for generated docs where tidy source does not matter.
- If a cell contains a literal backslash-pipe or other symbols such as * and _, remember only pipes are escaped, so italics or bold may be triggered by accident.
- Keep cells short. Markdown tables cannot hold multi-line cells or lists, and long paragraphs are better placed outside the table.
- Empty header cells make a table render badly on some platforms. Give every column a name in the first CSV row.
- If you want a tag-based table for a web page rather than a README, use the CSV to HTML table tool.
Is it safe? Privacy and limits
The conversion happens in your browser using plain JavaScript, with no external library and no upload of your CSV. There is no stated size limit, but very large tables make Markdown that is hard to read and slow to render. The preview here is a simple table, not a full Markdown renderer, so check the final result on GitHub or in your docs tool.
CSV to Markdown table FAQ
Paste the CSV into the box and the Markdown appears straight away in the Markdown tab. The first row becomes the header, followed by a separator line of dashes and one pipe-delimited line per data row. Copy it with Copy Markdown, or download table.md. If everything lands in one column, change the Delimiter option, because the tool does not detect it automatically. The preview tab renders the same rows as a plain table, so you can compare.
Yes on any platform that supports GitHub-flavored Markdown tables. That includes GitHub, GitLab, Bitbucket, Docusaurus, MkDocs, VitePress, Obsidian and most static-site generators. Original CommonMark has no table syntax, so a strict CommonMark renderer shows the raw pipes. Some editors, such as older wikis, need an extension turned on. Check with the preview in the destination tool. If your target is on that list but the table still shows raw pipes, check that the table has a blank line above it, because many renderers need one before the header row.
Alignment is set in the separator row under the header. A colon on the left (:---) means left-aligned, on both sides (:---:) centred, on the right (---:) right-aligned, and plain dashes mean the renderer's default. The tool writes these for you from the buttons under Per-column alignment. Change Default Alignment and every column is reset, so pick the default first and fine-tune individual columns afterwards. Test with two columns first if you are unsure which alignment you want.
They only change the spacing in the Markdown source, not how it renders. Minimal puts one space either side of each cell, Standard puts two, and Auto-align pads each cell to match the widest value in the column, so the pipes form straight vertical lines in a monospace editor. Auto-align is nicest for README files that people read raw, but it makes diffs larger when one long cell changes. Pick whichever suits the file's readers.
With Escape pipe chars on, every | in a cell becomes \|, so the cell stays in one column. Line breaks inside a cell are replaced by a space, since a Markdown table row has to stay on one line. Other symbols such as asterisks, underscores and backticks are not escaped, so they may format text in the rendered table. Edit those cells in the CSV if that is not what you want.
It works, but Auto-align counts characters by string length, so CJK text and emoji take up more visual width than the tool allows for, and the raw pipes may not line up in an editor. The rendered table is unaffected. For size, there is no coded limit, but a table with dozens of columns or thousands of rows is hard to maintain in Markdown, and an HTML table or a linked file may suit better.
Yes in the sense that the conversion runs locally in your browser and your CSV is not uploaded by this tool. Nothing is stored after you close the tab. Be careful about where you paste the finished Markdown, because a public README or issue will make the data public. Closing the tab clears the text, and nothing is saved for later. If you share the finished Markdown, remember that a public README or issue makes the data public too.
For JSON, use the JSON to Markdown tool. For an Excel file, first export a sheet with the Excel to CSV converter, then paste the result here. If you would rather publish the data as a web table, the CSV to HTML table page produces styled markup instead. Each of these tools runs in the browser and accepts the same pasted text, so you can try several formats from one export without uploading anything.