Markdown Table to Excel

A Markdown table such as "| Item | Qty |" over "| Apple | 3 |" becomes 2 rows and 2 columns (Item → Qty / Apple → 3). Copy it as tab-separated text and paste into Excel, or download a CSV with a UTF-8 BOM or an .xlsx file where plain numbers like 3 are real numbers.

Did this solve your problem?
Prefer us on Google

How to use

  1. Paste the whole reply from ChatGPT, Claude or Gemini into the box. Sentences before and after the table are ignored. An example is loaded to show the format.
  2. If the text holds more than one table, choose the one you want from the Table list. The preview shows the cells exactly as they will be exported.
  3. Press Copy for Excel and paste into a sheet with Ctrl+V (Cmd+V on a Mac), or download the file. The CSV opens in Excel with accents and non-Latin letters intact, and the .xlsx opens in Excel, Google Sheets and Numbers.

How it works

A table is a header line with pipes, a divider line made of dashes and optional colons (|---|:---:|---:|), and the lines after it that still contain a pipe. A blank line or a line without a pipe ends the table. Outer pipes are optional.

Each cell loses its ** bold marks and backticks and its leading and trailing spaces. A pipe written as \| stays a normal character instead of splitting the cell. The colons in the divider give each column its alignment: :--- left, :---: centre, ---: right. The .xlsx keeps this alignment and makes the header row bold and frozen.

Rows with fewer cells than the header are padded with empty cells. A row with more cells adds columns, and the header gets empty names for them. The status line counts such rows.

The .xlsx stores a cell as a number only when it is a plain number such as 3, -4 or 12.5. Values with a comma (1,200), a percent sign (15%), a leading zero (007), an exponent or more than 15 digits stay as the original text, so nothing is rounded or reformatted. In the CSV, text that starts with =, @, + or - followed by a letter gets a leading apostrophe so Excel does not run it as a formula.

The copied text uses tabs between cells and line feeds between rows. A cell that contains a tab, a line break or a quotation mark is wrapped in quotation marks, which Excel understands. The CSV uses commas, CRLF line ends and a UTF-8 byte order mark. The .xlsx is built in your browser from the minimal file parts, so nothing is uploaded.

What each part of the Markdown becomes

In the MarkdownIn Excel
**Bold** and `code`Bold marks and backticks removed
a \| bOne cell containing a | b
|:---|:---:|---:|Left, centre and right alignment (.xlsx)
12.5Number in the .xlsx
1,200 and 15%Text, exactly as pasted
A row that is too shortPadded with empty cells

FAQ

How do I copy a ChatGPT table into Excel?

Copy the reply, paste it into the box, press Copy for Excel, then paste into a cell with Ctrl+V. Each Markdown cell lands in its own Excel cell. Pasting the raw Markdown straight into Excel puts every line into one cell.

Why does Excel show garbled letters when I open a CSV?

Excel guesses the encoding of a CSV and often picks the wrong one for accents, Korean, Japanese or Chinese text. The CSV from this tool starts with a UTF-8 byte order mark, which tells Excel to read it as UTF-8.

Are numbers real numbers in the .xlsx?

Plain numbers such as 3, -4 or 12.5 are. A value like 1,200 or 15% stays as the text you pasted, because turning it into a number would change what the cell shows. Leading-zero values such as 007 and codes with more than 15 digits also stay text.

What if the pasted text has several tables?

All of them are found. Pick one in the Table list and export it. Each download holds one table.

My cell contains a | character. What now?

Write it as \| in the Markdown, as ChatGPT and Claude normally do. The tool treats \| as a letter and keeps it in the cell. An unescaped | always starts a new cell.

Some rows have more or fewer cells than the header.

Short rows are filled with empty cells and long rows add columns. The status line tells you how many rows were fixed, so you can check them in the preview.

Is my text uploaded?

No. Parsing, the preview and the file creation all run in your browser, and nothing is sent to a server.