Markdown Table Generator
Paste cells from Excel, Google Sheets or a CSV and get a ready to use Markdown table.
INPUT
CHARS: 0WORDS: 0LINES: 0
OUTPUT
CHARS: 0WORDS: 0LINES: 0
How the Markdown Table Generator works
Copying a range from a spreadsheet gives tab separated text, and the tool detects that automatically; commas, semicolons and pipes work as well. Quoted CSV fields are supported.
The first row becomes the header unless you turn that off, in which case generic column names are added. Alignment can be left, center or right for the whole table, and padding makes the raw Markdown line up in columns so it stays readable in an editor. Pipe characters inside cells are escaped automatically.
Markdown Table Generator examples
Sample input with the default options
Input
Name,Role,Years Ada,Engineer,5 Grace,Admiral,40
Result
| Name | Role | Years | | ----- | -------- | ----- | | Ada | Engineer | 5 | | Grace | Admiral | 40 |
When it is useful
- •Adding a data table to a GitHub README or issue.
- •Documenting an API with a table of parameters.
- •Moving a table from a spreadsheet into a Markdown based knowledge base.
- •Generating comparison tables for a blog post.
Frequently Asked Questions
How do I paste from Excel?
Select the cells, copy them and paste into the input box. They arrive tab separated, which the tool detects.
Does Markdown support merged cells?
No. Standard Markdown tables have no merged cells or multi line rows. The tool converts line breaks inside a cell to a br tag.
Will it work on every Markdown platform?
Pipe tables work on GitHub, GitLab, most static site generators and many note apps, but not in the original Markdown specification.
Guides that use this tool
Related tools
- CSV to JSON ConverterPaste CSV and get an array of JSON objects, or an array of arrays if there is no header.
- Markdown FormatterTidy a Markdown document so that lists, tables and spacing are consistent.
- HTML to Markdown ConverterPaste HTML and get Markdown you can drop into a README, a wiki or a static site.
- Text Diff CheckerPaste an original and a changed version to see exactly what differs.