DataSwitch Pro Private, in-browser data converter

Markdown & AI Chat Table to Excel

Paste an answer from ChatGPT, Claude, Gemini or Copilot and get its tables as a clean Excel file, CSV or JSON — numbers, dates and leading zeros intact. Free and private.

2 · Check the tables

Your tables will appear here

Every table in the answer is found and cleaned. Numbers show in green when they will become real Excel numbers.

3 · Get them

How to copy a ChatGPT or Markdown table into Excel

Updated · 5 min read

AI assistants are good at building tables, but getting one into a spreadsheet is surprisingly messy: the whole table lands in one column, ** marks stay in the cells, prices paste as text and codes lose their leading zeros. This tool takes the whole answer, finds every table in it and gives you a clean Excel file, CSV or JSON — or cells you can paste directly.

  1. In ChatGPT, Claude, Gemini or Copilot, click the copy button under the answer (or select the table and press Ctrl+C). Copy the whole answer — the text around the tables is ignored.
  2. Paste it into the box above. Every table is found and shown on the right, named after the heading above it. Numbers that will become real Excel numbers show in green; dates and percentages are recognised too.
  3. Rename a table if you like — the name becomes the Excel sheet name — and untick any table you do not need.
  4. Click Download Excel for an .xlsx file with one sheet per table, or Copy for Excel / Sheets to paste the cells straight into a spreadsheet. CSV, TSV, JSON and clean Markdown are also available.

Nothing leaves your device. The answer is read and converted in this browser tab; nothing is uploaded or saved.

The problems it fixes

Everything lands in one column

When you paste an AI table into Excel or Google Sheets, the Markdown pipes (|) are not columns to a spreadsheet, so each row ends up in a single cell. This tool splits the table into real columns, and its Copy button puts tab-separated cells and an HTML table on the clipboard, which every spreadsheet understands.

**Bold** marks, <br> and other symbols stay in the cells

AI answers use Markdown for emphasis, links and line breaks. The tool removes **bold**, *italic*, `code` and escaped characters, turns <br> into a line break inside the cell, and keeps the link text (or the address, if you prefer).

Prices and percentages paste as text

Values such as $1,099.00, 1.234,50 €, (1.5%) or $5.2B are read as numbers and written to Excel as numbers with the matching format, so SUM and charts work. A column that mixes $29 and 29 becomes one number column.

Leading zeros disappear

Excel drops the zeros from codes like 00125 and rounds IDs longer than 15 digits. Columns that contain such codes, phone numbers or long IDs are kept as text, exactly as written, in the Excel file, the CSV and the copied cells.

Dates come out wrong or swapped

A spreadsheet reads 03/04/2025 according to your computer's region. The tool works out the day/month order from the whole column, turns month names (March 5, 2025 · 5 mars 2025) into dates as well, and writes real Excel dates. When every date fits both orders, it says which one it assumed.

Citation marks get mixed into the data

Answers that searched the web carry markers like [1], 【4†source】 or (reuters.com). They are removed from the cells by default, so numbers stay numbers.

Rows are missing or the table is cut off

Long answers can stop in the middle of a table. When the last row is shorter than the others, the tool warns you. Ask the AI to “continue the table”, and paste the rest under the first part. Rows that have one cell too many (an unescaped | inside a value) are fixed and reported.

Several tables in one answer

Comparisons often come as two or three tables. All of them are found — including CSV in a code block, tab-separated text and ASCII tables made of +---+ or box characters — and each becomes its own Excel sheet, or they can be stacked on one sheet.

What you get

Works with every AI assistant

ChatGPT, Claude, Gemini, Microsoft Copilot, DeepSeek, Perplexity, Mistral Le Chat and Grok all write tables in Markdown. Whether you use the copy button (Markdown) or select the table on the page (formatted copy), the tool reads it.

Real Excel values

Numbers, currencies, percentages and dates are written as values with matching number formats, the header row is bold and frozen, column widths fit the content, and Arabic or Hebrew tables open right-to-left.

Safe CSV

CSV files are UTF-8 with a byte order mark, so accents and Arabic display correctly in Excel, and cells starting with = + - or @ are guarded against formula injection. Choose the semicolon version if your Excel uses a decimal comma.

Private

The text is processed in this browser tab. Nothing is uploaded, which matters when the table holds customer, sales or health data.

Prompts that give cleaner tables

A small change to what you ask the AI saves cleaning later. Paste one of these after your question:

Ask for a clean table

Put this in a Markdown table with one row per item. Use plain numbers without units in the cells and put the units in the column headers.

Get a long table in parts

Continue the table from the last row. Repeat the header row, and do not add any text before or after the table.

Ask for CSV instead

Give me the same data as CSV in a code block, with a header row and comma separators.

Always check the numbers: an AI can produce values that look right but are not. The tool converts what the answer says; it cannot verify it.

Frequently asked questions

How do I copy a table from ChatGPT to Excel?

Click the copy button under ChatGPT's answer, paste it into the box on this page, and click Download Excel. You get an .xlsx file with the table in real columns, numbers as numbers and dates as dates. To paste into an open spreadsheet instead, click Copy for Excel / Sheets and paste into cell A1.

Does it work with Claude, Gemini and Copilot too?

Yes. All of them, as well as DeepSeek, Perplexity, Grok and Mistral, write tables in Markdown, and the tool reads Markdown, the formatted copy you get by selecting the table, tab-separated text, CSV in code blocks and ASCII tables.

How do I convert a Markdown table to Excel?

Paste the Markdown table into the box above — with or without the outer pipes — and click Download Excel. Several tables in one document become several sheets.

Why does my pasted table go into one column?

Spreadsheets split pasted text on tabs, not on the | characters of a Markdown table. Converting the table here first, then using Copy for Excel / Sheets or the Excel download, puts each value in its own cell.

Will it keep the leading zeros in my codes?

Yes. A column with codes such as 00125, phone numbers or IDs longer than 15 digits is kept as text, so nothing is rounded or trimmed.

What if the answer has several tables?

Each table is found separately and named after the heading above it. The Excel file gets one sheet per table, or all tables stacked on one sheet if you prefer. You can rename or leave out any of them.

Is the text I paste sent anywhere?

No. The conversion runs entirely in your browser. Nothing is uploaded or stored.

Can I turn the table into CSV or JSON instead?

Yes. Choose CSV, CSV with semicolons, TSV, JSON or clean Markdown next to the Download button. JSON keeps numbers as numbers and dates in YYYY-MM-DD form.

Related tools