RunTheTests
/

Markdown Table Generator

Paste spreadsheet cells and get a formatted Markdown table.

What you paste

Parsed in your browser — never uploaded

How this reads your output

The separator is detected from what you paste, with tabs taking priority because copying a range out of a spreadsheet puts tab-separated text on the clipboard. That means selecting cells and pasting works with no export step. Existing Markdown tables are accepted too and simply reformatted, with the separator row rebuilt to match the new column widths.

What the results mean

Detected separator
Tab, comma or pipe. Tabs win when present, since spreadsheet clipboard data uses them and commas inside values would otherwise split cells.
Ragged rows
Rows with a different cell count from the header. They are padded to match, which keeps the table valid but is worth checking.
Column widths
Measured across every row so the raw text lines up. Purely for readability in the source file.

Common problems and fixes

Pasting from a spreadsheet splits cells wrongly
A value containing a tab is the usual cause, which happens when text was pasted into the spreadsheet from somewhere else. Find and remove the stray tabs in the source, or export as CSV and use the CSV converter instead, which handles quoted fields properly.
The first row is treated as data rather than a header
Markdown tables require a header, so the first row always becomes one. If your data has no header, add a row of column names before pasting; every renderer expects one and a table without it will not display.

Frequently asked questions

Can I paste directly from Excel or Google Sheets?

Yes, and that is the intended use. Both put tab-separated values on the clipboard when you copy a range, so selecting cells and pasting here works without exporting anything.

How do I add a column afterwards?

Paste the table back in with the extra column added to each row and it will be reformatted with the new widths. Round-tripping a table through this is easier than realigning the pipes by hand.

Do Markdown tables support merged cells?

No, and there is no extension in common use that adds them. If a merge is essential, use an HTML table inside the Markdown, which most renderers pass through unchanged.

Put this on your own site

Free to embed, no attribution required beyond the source link the frame carries itself. It runs entirely in your visitor's browser, sets no cookies and loads no third-party script.

Embed code
<iframe src="https://runthetests.com/embed/markdown-table-generator/" width="100%" height="720" style="border:1px solid #e5e5e5;border-radius:8px" title="Markdown Table Generator" loading="lazy"></iframe>

Preview it at https://runthetests.com/embed/markdown-table-generator/. Embedded pages are marked noindex, so yours stays the canonical copy — not this one.

More in Data