CSV → Markdown / HTML Table
Convert CSV into a Markdown table, an HTML table, or a padded plain-text table, live.
About this tool
The CSV → Markdown / HTML Table converter turns pasted CSV data into three different table formats: GitHub-Flavored Markdown tables (for READMEs, wikis, and PR descriptions), semantic HTML table markup (for blog posts or web pages), and plain padded ASCII tables (for terminal output or plaintext emails). Conversion happens live as you type or paste.
Toggle whether the first row of your CSV is a header row — when it's not, columns are auto-labeled Column 1, Column 2, and so on. For Markdown output, set per-column text alignment (left, center, or right), which controls the marker row that most Markdown renderers respect.
Escaping is handled per format: Markdown output escapes pipe characters so embedded pipes don't break the table structure, and converts embedded newlines to line-break tags. HTML output escapes special characters into their entity equivalents to prevent broken markup. The ASCII table pads every column to the width of its longest cell. All parsing uses PapaParse and runs entirely in your browser.
