← All guides

How to copy a ChatGPT table into Excel or Google Sheets

How-to · Updated 2026-12-04 · 4 min read

When ChatGPT shows a table, it is written in markdown underneath: rows of text separated by | pipes. Copy it the right way and it lands in neat cells. Copy it the wrong way and you get one long column of pipes and dashes.

Method 1: select the table on screen

  1. In the chat, drag to select the table itself, from the first header cell to the last cell.
  2. Copy with Ctrl+C (Cmd+C on Mac).
  3. Click cell A1 in Excel or Google Sheets and paste.

Because the chat window draws the table as HTML, the spreadsheet usually receives proper rows and columns.

Method 2: ask for CSV

Ask: Give me this table as CSV in a code block. Copy the code block, then in Google Sheets use Data, Split text to columns, or in Excel use Data, Text to Columns with comma as the separator.

Method 3: fix a pipe table by hand

If you already have text like | Name | Price |, paste it into one column, use Text to Columns with | as a custom separator, then delete the empty first and last columns and the --- divider row.

Watch the quotes and spaces

Curly quotes and non-breaking spaces can stop numbers from being treated as numbers. If a column will not add up, run the text through the invisible character remover and smart quotes converter first.

Try it free: paste your text into the TidyPaste AI text cleaner. No sign-up.

Related guides