Markdown Table Generator
Edit a table like a spreadsheet, set the alignment of each column, import CSV, TSV or an existing Markdown table, and copy clean GitHub Flavored Markdown.
Private by design: anything you enter is processed in your browser only. It is never uploaded to or logged on our servers. Share links contain the table cells and options.
Tab moves between cells. Enter jumps to the cell below and adds a row at the end. The round + button adds a column (up to 30).
Paste CSV, TSV (for example cells copied from Excel or Google Sheets) or an existing Markdown table. The format and delimiter (comma, semicolon or tab) are detected automatically.
About Markdown tables
Tables are part of GitHub Flavored Markdown and work on GitHub, GitLab, Bitbucket, most static site generators and documentation tools. A table is a header row, a separator line made of dashes and rows of cells separated by pipes.
Type into the grid, add or remove rows and columns, and choose an alignment for each column. Pipes inside cells are escaped as \| and line breaks become <br>, so the table never breaks. Pad columns lines up the pipes so the table is readable in the source file, counting wide characters such as CJK and emoji as two columns; turn it off for compact output with smaller diffs.
To convert existing data, paste CSV, cells copied from a spreadsheet, or a Markdown table you want to edit. Quoted CSV fields with commas, doubled quotes and line breaks are handled. To preview the rendered Markdown, use the Markdown editor.
Reference Guide
Alignment is set by colons in the separator line:
| Separator | Alignment |
|---|---|
--- | Default (left in most renderers) |
:--- | Left |
:---: | Centre |
---: | Right |
Cells can contain inline Markdown (**bold**, `code`, links and images) but not block elements such as lists or headings. A table always needs a header row; when "First row is header" is off, an empty header is written.
Example input
| Command | Description | Default | | :------------------ | ---------------------------- | :-------------: | | `git status` | Show the working tree status | — | | `git log --oneline` | One commit per line | 10 \| 20 \| all | | `git stash` | Shelve local changes | off |
This sample loads automatically when you open the tool. Use Load Sample to bring it back.
Was this tool useful?
Thanks for your feedback!
Could not send your feedback. Please try again later.
Frequently Asked Questions
Alignment is set with colons in the separator line under the header: :--- is left, :---: is centred and ---: is right. In the generator, pick the alignment from the menu above each column and the separator is written for you.
Type them as normal. A | inside a cell is written as \| so it does not split the cell, and a line break becomes <br>, which GitHub, GitLab and most renderers display as a new line inside the cell.
Yes. Copy the cells in Excel or Google Sheets and paste them into the Import box, or open a .csv or .tsv file. Comma, semicolon and tab delimiters and quoted fields with commas or line breaks are detected automatically. You can also paste an existing Markdown table to edit it.
It adds spaces so the pipes line up and the table is easy to read in the source file, counting Chinese, Japanese and Korean characters and emoji as double width. The rendered table looks the same either way; turn padding off for compact output and smaller diffs.
Related Tools
All Editor Tools →Online Code Editor
Write and edit HTML, CSS and JavaScript in the browser with...
Online SVG Editor & Viewer
Edit, view, and modify SVG files online with a visual editor...
SVG Optimizer
Optimize and compress SVG files online. Remove metadata and...
JavaScript Beautifier & Formatter Online
Beautify and unminify JavaScript code online. Fix JS indenta...
JSON Beautifier & Pretty Printer Online
Prettify and format JSON data online with configurable inden...
XML Beautifier & Formatter Online
Format and prettify XML documents online with proper indenta...