Skip to content
Categories
Markdown Table Generator
Generate a Markdown table from CSV or TSV data.
Overview
- Converts tabular CSV or TSV data into a GitHub Flavored Markdown table.
- The delimiter (comma or tab) is automatically detected from the input data, so you can paste either format as-is.
- A pipe (|) inside a cell is automatically escaped, and line breaks are replaced with a space, so the output stays a valid Markdown table.
Usage
- Enter tabular data in CSV or TSV format into the input field (the first row is treated as the header).
- Click "Generate".
- A formatted Markdown table is displayed in the result field.
Example
Input
Name,Age Alice,30 Bob,25
Output
| Name | Age | | ----- | --- | | Alice | 30 | | Bob | 25 |
Use Cases
- Converting data copied from a spreadsheet (TSV) into a Markdown table to paste into a README
- Formatting the content of a CSV file as a table for documentation
- Quickly converting data at hand into a Markdown table to share it in tabular form
FAQ
Does it support both CSV and TSV?
Yes, both are supported. The delimiter (comma or tab) is automatically detected from the input data.
What happens if rows have different numbers of columns?
Rows are padded with empty cells to match the row with the most columns.
What about a pipe (|) or a line break inside a cell?
A pipe is escaped as \|, and since Markdown table cells must fit on a single line, line breaks are replaced with a space.
Notes
- The first row is always treated as the header row.
- If rows have different column counts, they are padded with empty cells to match the row with the most columns.
- Since Markdown table cells must fit on a single line, line breaks inside a cell are replaced with a space.
Related Tools
Convert CSV data into JSON format.
Preview Markdown in real time.
Format and normalize Markdown to make it easier to read.