Markdown table generator
Type in the grid or paste a block of cells from Excel, set the alignment per column and copy a tidy GitHub-flavored Markdown table.
Type in the grid or paste a block of cells from Excel, set the alignment per column and copy a tidy GitHub-flavored Markdown table.
| Left | Center | Right | |:-------|:------:|------:| | a | b | c |
:---, center :---:, right ---:.**bold**, `code`, links.Convert straight from a file: CSV to Markdown, Excel to Markdown or JSON to Markdown table. To go the other way, use Markdown to CSV.
GitHub and GitLab READMEs, issues and wikis, Bitbucket, Obsidian, Typora, Docusaurus, MkDocs, Hugo and Jekyll (kramdown). Plain CommonMark does not include tables; they are a GFM extension.
Write the header cells between pipes, add a separator row of dashes under it, then one line per row: | Name | Score | then | --- | --- | then | Ada | 98 |. This is the GitHub Flavored Markdown (GFM) table syntax, which GitHub, GitLab, Obsidian, Notion import, Reddit and most static-site generators understand.
Put colons in the separator row: :--- aligns left, :---: centers and ---: aligns right. In the generator, click the arrow button above a column to cycle through the alignments.
Escape a pipe as \| so it is not read as a column boundary; the generator does this for you. GFM has no multi-line cells, but <br> works on GitHub and most renderers, so line breaks are written as <br>.
No. GFM tables have no colspan or rowspan. If you need merged cells, use an HTML table (our HTML table generator), which most Markdown renderers accept inline.
No. Renderers ignore the extra spaces. Padding just makes the raw file easier to read and diff. Turn off “Pad columns” for the most compact output.