Markdown Table to Excel / CSV Converter
Paste a markdown or ChatGPT table, preview it, copy it so it pastes into Excel or Google Sheets as real cells, or download CSV and TSV. Free and in-browser.
Paste a table to see the preview.
How to get a markdown table into Excel or Google Sheets
ChatGPT, Claude, Gemini and most documentation tools output tables as markdown: a header row, a separator row made of dashes, and body rows, all divided by pipe characters. That format is readable in a chat window and on GitHub, but a spreadsheet has no idea what to do with it. Paste it directly and Excel drops each whole line into column A, pipes and all.
- Copy the table from the chat or document. Copying the whole message is fine; text around the table is ignored.
- Paste it into the box above. The preview appears immediately and shows how many rows and columns were found.
- Click Copy for Excel / Sheets. The clipboard now holds tab-separated rows.
- Select the destination cell in Excel, Google Sheets, Numbers or LibreOffice Calc and paste. Every cell lands in its own column.
If you would rather have a file, Download CSV gives you a comma-separated file with correct quoting that opens in any spreadsheet or imports into a database, and Download TSV gives the same tab-separated content as the copy button, which is the safer choice when cells contain commas.
What the converter fixes on the way
- Alignment rows. The
|:---|---:|line under the header is recognised and removed rather than becoming a row of dashes. - Missing outer pipes. Tables written without a leading and trailing pipe are parsed the same way.
- Escaped pipes. A backslash-pipe inside a cell is a literal pipe, not a column break.
- Ragged rows. Rows with fewer cells than the header are padded so columns stay aligned.
- Inline markdown. Bold and italic markers, inline code and links are converted to plain text unless you turn that off.
- Loose tables. If there is no separator row at all, every line containing a pipe is treated as a row, so plain pipe-delimited lists convert too.
Numbers are left exactly as written. If a column has currency symbols or percent signs the spreadsheet will treat it as text, so convert those after pasting if you need to calculate with them. Smart quotes, non-breaking spaces and invisible characters inside cells are a common reason a value refuses to behave as a number; run the whole table through the AI Text Cleaner first if that happens.
Frequently asked questions
Why does pasting a ChatGPT table into Excel put everything in one column?
Excel splits pasted text on tab characters, and a markdown table uses pipes. Everything on a line lands in one cell. This converter rewrites the table with tabs between cells, which Excel, Google Sheets, Numbers and LibreOffice all split into columns automatically.
What happens to the alignment row (the |---|:--:| line)?
It is recognised as the separator between the header and the body and dropped. Alignment colons are ignored because spreadsheets do not carry alignment through the clipboard.
Can it handle cells that contain commas, quotes or pipes?
Yes. Pipes escaped with a backslash inside a cell are turned back into ordinary pipes. When you download CSV, any cell that contains a comma, a double quote or a line break is wrapped in quotes and inner quotes are doubled, which is the standard CSV rule every spreadsheet understands. The tab-separated copy needs no quoting.
My markdown table has bold text and links in the cells. Are they kept?
By default bold, italic and inline code markers are removed and links become text (url), so the cells hold plain values. Untick strip markdown inside cells if you want the raw markdown preserved.
What if I paste several tables at once?
Each table is detected separately. Use the drop-down to pick one, or leave it on all tables to export them one after another separated by a blank row.
Does the table leave my computer?
No. Parsing, preview and file creation all happen in your browser with a small script. The download is generated locally and nothing is uploaded.
Last updated 2026-09-15. Everything on this page runs in your browser. Nothing you type or upload leaves your device.