About the Markdown Table Generator
Markdown Table Generator lets you build a table in a simple grid and turns it into a Markdown pipe table, the format used by GitHub, GitLab, many documentation sites and note apps. The first row is always the header row, which Markdown tables require. Add, delete and reorder rows and columns, and choose default, left, centre or right alignment for each column.
Cell text is escaped so the table does not break: pipes become \| and backslashes become \\. Line breaks inside a cell become <br> or a space. By default <, > and & are escaped too, so HTML typed into a cell is shown as text rather than run as HTML by Markdown apps. The preview shows the table with your alignment and the cell text exactly as typed; inline Markdown such as **bold** is left for your Markdown app to style.
How to use
- Type the column headings in the header row.
- Fill in the cells; add rows and columns as needed.
- Set each column’s alignment and reorder rows or columns.
- Choose how line breaks and HTML characters are written.
- Copy the Markdown or download the .md file.
Key features
- Grid editor with a header row.
- Add, delete and reorder rows and columns.
- Default, left, centre and right alignment.
- Escapes pipes, backslashes and line breaks.
- Optional HTML escaping, on by default.
- Padded output that lines up in plain text.
- Safe preview, Copy Markdown and Download .md.
Best practices
- Keep cells short; long text is hard to read in tables.
- Use right alignment for numbers.
- Avoid line breaks in cells if your Markdown app does not support <br>.
- Check the table in the app where it will be published.
- Use the Markdown Editor & Preview for the rest of your document.
Benefits
- No need to count pipes and dashes by hand.
- Correct escaping prevents broken tables.
- Easy reordering without retyping.
- Private: runs entirely in your browser.
Frequently asked questions
Which Markdown flavour does this produce?
GitHub-flavoured Markdown (GFM) pipe tables, which are also supported by GitLab, many static-site generators and note-taking apps. The original Markdown specification has no tables, so some apps will show the raw text.
How are pipes and backslashes escaped?
A | in a cell becomes \| so it does not start a new column, and a backslash becomes \\ so it is shown literally.
How are line breaks in a cell handled?
Markdown table rows must be on one line, so line breaks are written as <br> (which most GFM renderers show as a line break) or replaced by a space — your choice.
Is HTML in cells run?
Not by this tool: the preview shows cell text as plain text. With HTML escaping on (the default), <, > and & are written as entities so Markdown apps also show them as text. If you turn escaping off, Markdown apps may render HTML tags.
How does alignment work?
The separator row sets it: :--- is left, :---: is centre, ---: is right and --- uses the app’s default (usually left).
Why does my table look different in another app?
Markdown apps differ in support for tables, alignment, <br> line breaks, escaped pipes inside code and wide characters, so the same Markdown can render differently. Check it where you will publish it.
What are the limits?
Up to 30 columns and 200 rows plus the header row.
Is anything saved?
No. The table exists only on this page. Nothing is uploaded or stored, and Reset clears it.