MarkdownNew

Markdown Table Generator with Excel and CSV Paste

Build GitHub Markdown tables in an editable grid, paste from Excel or CSV, set alignment and copy aligned output

100% client-side — your data never leaves your browserNo data stored or uploadedFree for lifetime · No signup

Row 1 is the header. Paste cells from Excel or Google Sheets into any cell to fill the grid from there.

Markdown table

See it rendered in the Markdown preview.

Make a Markdown table without counting pipes

Markdown tables are easy to read and tedious to write: every row needs the right number of pipes, the second line needs a separator for each column, and one missing | breaks the whole table. This Markdown table generator gives you a spreadsheet-style grid instead. Type into the cells, add or remove rows and columns with the buttons, and the Markdown underneath updates as you go. The first row is the header.

Each column has an alignment control that cycles through default, left, center and right, which writes the matching separator (---, :---, :---: or ---:). With pretty output on, every column is padded to the same width so the raw Markdown lines up and stays readable in a code review or a plain-text editor; wide characters such as Chinese text and emoji count as two columns for that padding. Turn it off for compact output with no padding — renderers treat both forms identically. The trade-off shows up in version control: pretty output reads better, but making one cell wider than the rest of its column re-pads every row, while compact output keeps diffs to the lines you actually changed.

The output is GitHub Flavored Markdown (GFM) table syntax, which is what GitHub, GitLab, Bitbucket, Notion imports, Obsidian, Docusaurus, MkDocs and most static site generators understand. Original Markdown from 2004 has no table syntax at all, so if a renderer shows your table as raw pipes, it probably does not support GFM.

Excel paste, CSV to Markdown table, and importing existing tables

To convert a spreadsheet, select the cells in Excel or Google Sheets, copy, and paste into any cell of the grid. Spreadsheets put tab-separated text on the clipboard, and the grid spreads it across rows and columns starting from the cell you pasted into, growing the table if needed. For a CSV to Markdown table conversion, paste the file contents into the import box instead: the delimiter (comma, semicolon or tab) is detected from the first line, and quoted fields are handled properly, including commas, doubled quotes and line breaks inside quotes.

The same import box also reads Markdown. Paste an existing table — from a README you need to edit, say — and it is parsed back into the grid with its alignment, so you can add a column or reorder data without hand-editing pipes. Only the first table in the pasted text is imported, and rows with fewer cells are padded.

Escaping and cell content

A literal | inside a cell would end the cell early, so pipes are written as \| automatically and turned back into | when a table is imported. Line breaks inside a cell, which GFM tables cannot contain, are written as <br>, which GitHub and most renderers display as a line break. Inline Markdown in cells — **bold**, `code`, [links](https://example.com) — is passed through untouched, so you can format cell text as usual. Block content such as lists or code fences cannot go inside a GFM table cell at all.

Everything runs in your browser; nothing you type or paste is uploaded. Use the Markdown preview tool to see the rendered table.

How to use the Markdown Table Generator with Excel and CSV Paste tool

  1. 1

    Fill the grid or paste

    Type in the cells, or paste cells copied from Excel or Google Sheets straight into the grid.

  2. 2

    Add rows, columns and alignment

    Use the buttons to grow or shrink the table and set each column to left, center or right.

  3. 3

    Import CSV or an existing table

    Paste CSV, TSV or a Markdown table into the import box to load it into the grid.

  4. 4

    Copy the Markdown

    Copy the aligned GFM table and paste it into your README, docs or issue.

Frequently asked questions

How do I convert Excel to a Markdown table?

Copy the cells in Excel, click a cell in the grid and paste. The tab-separated clipboard data is spread across the grid, and the Markdown table is generated immediately.

How do I align columns in a Markdown table?

Put colons in the separator row: :--- for left, :---: for center and ---: for right. The alignment button above each column writes these for you.

How do I put a pipe character in a table cell?

Escape it as \|. The generator does this automatically, and converts \| back to | when you import a table.

Can I edit an existing Markdown table?

Yes. Paste it into the import box; it is parsed back into the grid with its alignment so you can edit it and copy the updated table.

Do Markdown tables work everywhere?

Tables are a GitHub Flavored Markdown extension supported by GitHub, GitLab, Obsidian and most documentation tools, but not by original Markdown or every renderer.

Related on TechLogHub

Get the next tool before you need it

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.