Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Markdown Table Generator

Fill in a grid, pick per-column alignment, and copy a neatly padded markdown table with the pipes lined up.

Processed locally in your browser — nothing is uploaded.

Markdown Table Generator

2 to 30

1 to 12

Cells

The first row is the header. Click a column's alignment button to cycle left → center → right.

Markdown table

|     |     |     |
| --- | --- | --- |
|     |     |     |
|     |     |     |

About Markdown Table Generator

Markdown tables are easy to read and miserable to type. Set the row and column counts, fill in the cells, and click each column's alignment button to cycle left, center, and right. The output pads every column so the pipes line up in monospace, and pipes or line breaks inside cells are escaped automatically.

Common uses

  • Add a tidy table to a README or wiki page
  • Convert a small set of values into documentation
  • Fix a hand-written table whose columns drifted out of line

Frequently asked questions

How do I align columns in a markdown table?

With colons in the divider row under the header: :--- is left-aligned, :---: is centered, and ---: is right-aligned. The alignment buttons here write those colons for you, one setting per column.

Can I put a pipe character or a line break inside a cell?

Not literally — a raw pipe would split the cell and markdown tables are single-line. The generator escapes pipes as \| and converts line breaks to <br> tags automatically, which most renderers, including GitHub's, display correctly.

Why is the output padded with extra spaces?

Padding makes every pipe line up in a monospace font, so the raw markdown is readable in code reviews and editors. Renderers collapse the extra spaces, so the padded and unpadded versions produce an identical rendered table.

Do all markdown renderers support tables?

No — tables are a GitHub-flavored markdown extension, not part of original markdown. GitHub, GitLab, and most modern renderers support them, but some minimal or older parsers will show the raw pipes instead.

Where does the table data I type end up?

Nowhere but your browser. The grid and the generated markdown exist only on your device and nothing is uploaded or stored, so tables of internal figures stay private.