Markdown Table Generator
Create and customize Markdown tables with live preview
Table Editor
Live Preview
Table preview will appear here...
Markdown tables are the standard way to put tabular data into READMEs, docs, and GitHub issues — but writing pipe-and-dash syntax by hand is tedious, and one miscounted column breaks the whole table. This generator gives you a spreadsheet-style grid to type into and produces perfectly formatted Markdown.
Markdown Table Syntax Explained
Tables were not in the original 2004 Markdown spec; GitHub Flavored Markdown popularized them, and they are now supported almost everywhere. A table has three parts: a header row of column names between pipes, a separator row of dashes with optional colons that sets alignment (:--- left, ---: right, :---: center), and the data rows that follow.
Two details trip people up. Every row must have the same number of cells as the header, or renderers drop the table. And a literal pipe inside a cell must be escaped as \|, because pipes are column delimiters. The generator escapes pipes automatically, and the grid keeps column counts honest.
How to Use
- Set the size: Enter the row and column counts, then apply to build the grid.
- Fill it in: Type headers and cell values directly into the grid.
- Set alignment: Use the dropdown above each column for left, center, or right.
- Copy the output: The Markdown source updates live, with a rendered preview.
Features
- Spreadsheet-style grid editor — no manual pipe counting
- Live Markdown output with rendered preview
- Per-column alignment: left, center, right
Use Cases
- Documentation: Build comparison tables for READMEs and wikis.
- GitHub workflows: Format tables for issues and pull request descriptions.
Related Tools
Frequently Asked Questions
What is a Markdown table?
A Markdown table is a way to represent tabular data in Markdown format using pipe characters (|) and dashes (-). It is widely supported on platforms like GitHub, GitLab, Stack Overflow, and most static site generators.
How does column alignment work?
Alignment is set in the separator row using colons. Left alignment uses :---, right alignment uses ---:, and center alignment uses :---:. You can set each column independently from the dropdown above each column in the grid editor.
Can I use special characters in cells?
Yes, most special characters work fine. Pipe characters (|) within cells are automatically escaped with a backslash to prevent them from breaking the table structure.
Where can I use Markdown tables?
Markdown tables are supported on GitHub (README, issues, PRs, wikis), GitLab, Bitbucket, Stack Overflow, Reddit, Discord, Notion, Obsidian, Jupyter Notebooks, and many static site generators like Hugo, Jekyll, and Astro.