Markdown table generator
Build Markdown tables in a visual grid with column alignment. Runs in your browser.
Runs 100% in your browserHow to make a Markdown table
- Set the size. Choose the number of rows and columns.
- Fill the cells. Type into the grid; the first row is the header. Set column alignment.
- Copy the Markdown. Copy the generated table into your README or docs.
Why Markdown tables are fiddly
A Markdown table is just rows of text divided by pipe (|) characters, with a separator line
under the header. That's simple in theory, but hand-writing one means counting pipes, keeping every row the
same column count, and getting the separator line exactly right — and a single missing pipe silently breaks
the whole table. Editing a visual grid instead and letting the tool emit the syntax removes all of that
friction, especially once a table grows past a few columns.
Column alignment
Alignment lives in the separator row, encoded with colons: :--- for left, :---:
for centre and ---: for right. The per-column dropdowns set these for you. It's the standard
GitHub-Flavored Markdown form, so the same output renders correctly on GitHub, GitLab, and most static-site
and docs renderers — numbers right-aligned, labels left, whatever you choose.
Pipes and line breaks in cells
The other classic trap is content that collides with the syntax. A literal | inside a cell would
end the column early, so this generator escapes it to \| automatically; line breaks within a
cell are flattened to spaces, since a Markdown table row must stay on one line. The result is valid no matter
what you type. Paste the output straight into a README, an issue or a docs page — or, if you'd rather author
in prose and convert, see the
Markdown to HTML converter.
Frequently asked questions
- Fill in the grid (the first row is the header), set per-column alignment, and the Markdown table is generated live below. Add or remove rows and columns with the buttons.
- Left, center and right — emitted as the standard
:---,:---:and---:separator syntax that GitHub, GitLab and most Markdown renderers support. - No — literal
|characters in cells are escaped to\|so the table stays valid. - Yes — generation runs entirely in your browser.