Markdown Table Generator
Edit a table in a grid, add rows and columns, set per-column alignment, or paste a CSV/TSV to fill it in one shot. Copy tidy, aligned GitHub-Flavored Markdown.
Aligned Markdown tables without counting pipes
Markdown tables are simple until a column changes width and the pipes stop lining up, or until you need to hand-write the :---: delimiter row for alignment. This generator keeps the grid and the delimiter row correct as you edit, and pads every cell so the raw Markdown stays readable in a diff, not just in the rendered view.
The CSV and TSV import covers the common case of a table that already lives in a spreadsheet: paste the values and the first row becomes the header. The output is plain GitHub-Flavored Markdown, so it renders anywhere GFM is supported and stays easy to edit by hand afterwards.
How to use it
- Type into cells, and use + / − Row and Column to size the table.
- Click a header’s alignment glyph to set left / center / right, or paste CSV/TSV to import.
- Copy the generated Markdown from the right panel.
FAQ
Does it support column alignment?
Yes. Each column can be left, center or right aligned, the tool writes the correct :---, :---: or ---: delimiter row for GitHub-Flavored Markdown.
Can I import an existing table?
Paste comma- or tab-separated values into the import box and click Import. The first row becomes the header.
Will it render on GitHub and in my docs?
The output is standard GFM, which renders on GitHub, GitLab, most static-site generators and anywhere GitHub-Flavored Markdown is supported.
Why pad the cells if the rendered table looks the same?
Padding keeps the source aligned so it is readable in a pull request diff and easy to edit by hand. GitHub renders padded and unpadded tables identically.
Can I paste from Excel or Google Sheets?
Yes. Copying a range from a spreadsheet puts tab-separated values on the clipboard, which the import box reads directly.
Converting the same doc over and over?
md2gd keeps your Markdown and the real Google Doc in two-way sync, edit in either, no copy-paste, no re-formatting.