Skip to content
ToolZone

Markdown Table Generator

Create properly formatted Markdown tables with an easy-to-use editor, including support for alignment and quick editing.

Runs in your browser. Nothing you enter or upload leaves your device.

Import from a spreadsheet or CSV
Markdown output
| Name  | Role     | Location |
| ----- | -------- | -------- |
| Alice | Engineer | Remote   |
| Bob   | Designer | NYC      |

Pipe characters inside cells are escaped as \| so they don't break the table.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Markdown Table Generator

Writing Markdown tables by hand means counting pipes and dashes. This Markdown Table Generator gives you an editable grid instead and turns it into a clean, column-aligned Markdown table that renders on GitHub, GitLab, and most documentation sites.

How it works

A Markdown table has a header row, a separator row of dashes, and one row per line of data, with cells separated by pipes. The generator measures the longest entry in each column (minimum three characters) and pads every cell in that column with spaces to the same width.

The separator row also sets alignment. Default writes plain dashes, Left starts with a colon (:---), Right ends with one (---:), and Center has colons on both ends (:---:). The alignment button in each header cycles through these four options and shows the first letter of the current setting: D, L, C, or R.

How to use

  1. 1

    Edit the header cells at the top of the grid, and click + at the end of the header row to add a column or - next to a header to remove it.

  2. 2

    Type your data into the body cells; use Add Row for more rows and the - at the end of a row to delete it.

  3. 3

    Click the small D/L/C/R button in a header to cycle that column's alignment.

  4. 4

    Or open Import from a spreadsheet or CSV and paste cells from Excel or Google Sheets. Copy the Markdown output, or Copy link to share the table.

Worked examples

The starter table

The default team table, with no alignment set.

Input
Headers: Name, Role, Location Rows: Alice, Engineer, Remote / Bob, Designer, NYC
Result
| Name | Role | Location | | ----- | -------- | -------- | | Alice | Engineer | Remote | | Bob | Designer | NYC |

Right-aligned prices

A price list where numbers should line up on the right.

Input
Headers: Plan, Price (Price set to Right) Rows: Basic, $5 / Pro, $15
Result
| Plan | Price | | ----- | ----: | | Basic | $5 | | Pro | $15 |

Alignment only changes the separator row; renderers apply it when displaying the table.

Limitations
Column padding counts characters, so emoji and wide characters (such as Chinese) may not line up in plain text; untick Align columns if that matters. Line breaks inside a cell aren't supported by Markdown tables; they're turned into spaces. At least one column must remain; the last column cannot be removed.
Assumptions
The target renderer supports GitHub Flavored Markdown tables. Cell content is single-line text.
Privacy
The table is built in your browser, and its contents are not sent or saved.

Frequently asked questions

How does column alignment work in Markdown tables?+

Alignment is set with colons in the separator row under the header: :--- for left, ---: for right, and :---: for center. Plain dashes use the renderer's default, usually left.

Will this table render correctly on GitHub and other platforms?+

Yes. The output is standard GitHub Flavored Markdown table syntax, which GitHub, GitLab, and most Markdown renderers support.

Why is the output padded with spaces?+

Padding lines up the pipes so the table is readable in plain text. Renderers ignore the extra spaces, so it does not change how the table looks.

Can I use bold text or links inside a cell?+

Yes. Type Markdown such as **bold** or [text](url) in a cell and it will render in most viewers.

How do I include a | character in a cell?+

Just type it. The generator writes it as \| in the output so the renderer treats it as text instead of a column divider.

Related tools