CSV to Markdown Table Converter
Paste CSV, TSV, or cells from Excel or Google Sheets, pick an alignment, and copy a GitHub-flavored Markdown table.
Your data never leaves your browser.
Paste CSV or TSV text, or cells copied from Excel or Google Sheets, or select Load example to try the converter.
Live preview
Paste the output into GitHub, GitLab, or any Markdown editor.
How to convert CSV to a Markdown table
-
Paste your data
Drop in CSV or TSV text, or cells copied from Excel or Google Sheets, or select Load example to try the converter.
-
Choose delimiter and alignment
Leave the delimiter on Auto or pick comma, semicolon, tab, or pipe. Set column alignment, header handling, and optional padding.
-
Copy or download
Review the preview, then copy the GitHub-flavored Markdown or download it as a .md file.
The conversion runs locally in your browser. Nothing is uploaded.
Frequently asked questions
Does this upload my CSV data?
No. The conversion runs locally in your browser, and nothing is uploaded or sent to a server.
Can I paste data copied from Excel or Google Sheets?
Yes. Cells copied from Excel or Google Sheets are tab separated. Leave the delimiter on Auto and the tool detects tabs, commas, semicolons, or pipes automatically.
How do I set column alignment?
Use the alignment control to pick left, center, right, or none. It sets the colons in the Markdown separator row, so :--- is left, :---: is center, and ---: is right.
What happens to commas, pipes, and line breaks inside a cell?
Quoted fields keep their commas and newlines. Pipes are escaped as backslash pipe so they do not break the table, and line breaks inside a cell become <br> tags.
Is the output GitHub-flavored Markdown?
Yes. The table uses GitHub-flavored Markdown syntax, so it renders on GitHub, GitLab, and most Markdown editors. Turn on padding for columns that line up in the raw text too.
Related tools: all tools, CSV to JSON, JSON to CSV, HTML Table to CSV, Remove Duplicates from CSV, JSON Formatter, CSV to SQL, and Unix Timestamp Converter.
Want tables straight from the page you are viewing, without copying HTML? LightCube Data Extractor is a free Chrome extension that does it in one click.
More guides