Markdown Table Generator

Build Markdown tables.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Type or paste one row per line with cells separated by commas. The first line becomes the header, and you get a pipe-delimited Markdown table ready for a README or docs page.

How to use

1
Step 1
Enter one row per line, with commas between cells (first row is the header).
2
Step 2
Press Run.
3
Step 3
Copy the Markdown table.

How it works

The text is parsed as CSV, so quoted cells may contain commas, and short rows are padded with empty cells. The tool writes the header row, a separator row of --- cells, and then the remaining rows. Cells are not padded to equal width, which Markdown renderers do not require.

Worked example

Three columns, two rows

Input
Name, Role, Age Ada, Admin, 36 Lin, Editor, 29
Output
| Name | Role | Age | | --- | --- | --- | | Ada | Admin | 36 | | Lin | Editor | 29 |
Walkthrough
The first line became the header and the second line the --- separator row.

Limitations

  • Input is read as CSV, so wrap a cell containing a comma in double quotes. Tab-separated text pasted from a spreadsheet also works.
  • No column alignment markers (:---, ---:).
  • Short rows are padded with empty cells and a pipe inside a cell is escaped.

Questions

How do I make a Markdown table?
Enter rows separated by commas, one per line, and press Run.
How do I put a comma inside a cell?
You cannot with this tool, because commas always split cells. Add the comma afterwards.
Can I align columns?
Not automatically. Edit the separator row to:---,:---: or ---: yourself.
Does the first row always become the header?
Yes. The first row you enter is used as the table's header row.

Features

  • Header and separator rows
  • Trims cell spacing
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • How base64 encoding works

    Andrew Schmelyun

    Mental model for Base64 encode/decode tools.

    Watch on YouTube
  • Learn JSON - Full Crash Course

    freeCodeCamp.org

    JSON is the payload format behind many developer tools here.

    Watch on YouTube
  • MDN Web Docs

    MDN

    Primary reference for web APIs these developer tools touch.

  • Base64

    MDN

    When Base64 is appropriate versus raw binary transfer.