Markdown Table Generator
Paste CSV or TSV data (from a spreadsheet or file), set column alignment, get clean GitHub-flavored Markdown table syntax.
Rendered preview
How it works
The input is split on whichever delimiter, comma or tab, appears more often in the first line, so pasting straight from a spreadsheet (tab-separated) or a .csv file (comma) both work without a settings toggle. Values are padded to each column's widest cell so the output is neatly aligned in a plain text editor too, not just when rendered, and the separator row's colons encode whichever alignment you picked per column, the standard GitHub-flavored Markdown syntax every renderer, GitHub, GitLab, most static site generators, understands.
Parsing and formatting happen in this page's JavaScript. Nothing you paste is uploaded.
Common questions
Does it handle both commas and tabs?
Yes, paste from a spreadsheet (tab-separated) or a CSV file (comma-separated) and the tool detects which delimiter you're using automatically based on which appears more often in the first line.
How does column alignment work?
Pick left, center, or right per column, and the separator row under the header gets colons in the right place (:--- for left, :---: for center, ---: for right), which is exactly how GitHub-flavored Markdown signals alignment to renderers.
Is my data sent anywhere?
No, the table is parsed and built entirely in your browser. Nothing is uploaded.