Skip to content

Markdown table generator. A grid in, clean tables out.

Files never leave your browser, everything is generated on your device.


        

Markdown tables, without counting pipes

A Markdown table is just rows of cells separated by |, with a divider line that sets each column's alignment. Getting the colons and dashes right by hand is fiddly, so type into the grid instead. This tool pads every column so the raw Markdown stays readable, writes the alignment colons for you, escapes stray pipes, and rolls the same grid into CSV or an HTML <table>. Paste existing CSV or TSV to start from real data. No account, nothing uploaded, free forever.

§ · written guide

How to use the Markdown Table Generator

This generator turns an editable grid into a Markdown table, and the same grid into CSV or an HTML table. It pads every column so the raw Markdown lines up, writes the alignment colons for you and escapes any pipe characters in your cells. Use it for README files, docs, issue comments or anywhere else that renders Markdown.

Step by step

  1. Start from the grid

    The grid opens with a small example table of three tools, already aligned left, center and right. Type over the cells, or press Reset for a blank 3 by 3 grid headed Column 1, Column 2 and Column 3. Load sample brings the example back.

  2. Or import existing data

    Press Import CSV / TSV, paste rows into the Paste CSV or TSV box and press Load into grid. The delimiter is picked from the first line, choosing whichever of comma, tab or semicolon appears most. Quoted fields work, short rows are padded with empty cells and the old grid is replaced. Press Cancel to close the box.

  3. Grow or trim the table

    Press + Row to add a row at the bottom and + Column to add a column on the right. Use the small cross at the start of a row or the top of a column to delete it. The grid always keeps at least one row and one column.

  4. Set the header and alignment

    Leave First row is header ticked to use the top row as the table heading. Above each column, the three small buttons align it left, center or right. Press the active button again to clear the alignment.

  5. Pick a format and export

    Switch the output panel between Markdown, CSV and HTML. It updates as you type. Press Copy to copy the output, or Download to save it as table.md, table.csv or table.html.

Reading the output

  • In Markdown, the second line sets alignment: a colon on the left for left aligned, colons at both ends for centered, a colon on the right for right aligned, and plain dashes for no alignment.
  • The extra spaces in the Markdown only line the columns up in a text editor. Markdown viewers ignore them, so the table renders the same either way.
  • With First row is header unticked, Markdown still needs a heading row, so one is made for you with the labels Column 1, Column 2 and so on, and every grid row goes into the body.
  • CSV is always comma separated and has no alignment. HTML puts the header row in a thead and sets each aligned column with a text-align style.

Tips and common mistakes

  • In the Markdown output, a pipe character typed in a cell is written as a backslash and a pipe, so it shows as text instead of breaking the table. CSV and HTML keep it as a plain pipe.
  • Cells hold one line each. Markdown tables cannot hold line breaks, so split long notes into extra rows or columns.
  • To convert a spreadsheet, copy the cells and paste them into the import box. Spreadsheets copy as tab separated text, which the importer detects.
  • Importing replaces the whole grid and clears every column alignment, so set alignment after the import.

Privacy and limits

The grid, the import and every export are handled in your browser and nothing is uploaded. The table is not saved anywhere, so reloading the page brings back the example table. Copy or download your work before you leave.

Back to the tool

§ 02 · what you can do

Everything a table generator should do.

  • Build tables visually in an editable grid, no Markdown syntax to remember.
  • Set per-column alignment (left, center or right) with one click; click again to clear it.
  • Toggle a header row to bold the first row and add the separator line automatically.
  • Add or delete rows and columns on the fly as your table grows.
  • Import CSV or TSV by pasting, comma, tab and semicolon delimiters are auto-detected, with quoted fields handled.
  • Export Markdown, CSV or HTML and copy or download the result with one click.
§ 04 · faq

Frequently asked questions.

Is the Markdown Table Generator free?
Yes, completely free for everyone. No sign-up, no account and no usage limits.
Is it private? Is my data uploaded anywhere?
No upload, ever. The generator runs entirely in your browser on your own device, so the data you type and any CSV you paste never leave your computer.
How does the column alignment work?
Click a column's left, center or right button and the tool writes the matching alignment colons into the Markdown separator line, :--- for left, :--: for center, ---: for right. Click the active button again to clear the alignment for that column.
What CSV or TSV can I import?
Paste comma-, tab- or semicolon-separated data, the delimiter is detected from the first line. Quoted fields, escaped double-quotes and line breaks inside quotes are all parsed, and short rows are padded so every row has the same number of columns.
Why does the raw Markdown have extra spaces?
Those spaces pad each column to a consistent width so the raw table is aligned and easy to read in a plain-text editor. They're purely cosmetic, GitHub, GitLab and every Markdown renderer ignore the padding and any pipes inside your cells are escaped automatically.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply