Slate PDF

Converting

How to Export Tables From a PDF to CSV

Export a PDF table to CSV: pull the rows into a spreadsheet, split them into columns, reconcile the totals, then save as CSV. Free, in-browser, no upload.

HM

Hamza M.

PDF Workflow Editor

Updated October 13, 20264 min readReviewed October 13, 2026

CSV is the format data goes to when it needs to be processed rather than read: imported into a database, loaded into a script, opened in any spreadsheet on any platform. Exporting a PDF table to CSV is a three-stage job — extract, split, verify — and the verify stage is the one people skip.

How do you export a PDF table to CSV?

To export a PDF table to CSV, extract the text into a spreadsheet, split each row into columns, check the numbers against the PDF, then save as CSV. Slate PDF's PDF to Excel tool puts each line of the table into its own row in your browser; Text to Columns then splits it into cells.

  1. 1Open the PDF to Excel tool, add your document and click Convert to Excel.
  2. 2Open the .xlsx. There is a Summary sheet, then one sheet per page with one line of text per row.
  3. 3Copy the table's rows into a new sheet and use Text to Columns (Excel) or Split text to columns (Google Sheets).
  4. 4Reconcile a total against the PDF.
  5. 5Save as CSV UTF-8.

Why is my data all in one column?

Because the converter extracts text, not table structure. Each printed row arrives as one line in one cell, with the values separated by spaces. It does not rebuild columns from ruled lines or gaps. That is a deliberate trade: you get every character in reading order, and you choose how to split it. How to convert PDF to Excel with tables goes deeper on the splitting step.

  • Values without spaces (dates, codes, amounts): split on the space delimiter and it lines up straight away.
  • A description column containing spaces: split on spaces, then re-join the description cells with a formula, or split from the right using the fixed number of numeric columns.
  • Thousands separators written with spaces (1 234,56): fix those before splitting, or every number breaks in two.

Verify before you trust it

Table extraction fails quietly, which is what makes it dangerous. Four checks catch nearly everything:

  • Count the rows. A mismatch usually means a wrapped cell became an extra row.
  • Total a numeric column and compare it with the total printed in the PDF.
  • Look for cells containing what should be two values — a split that went wrong.
  • Check the first and last rows, where headers and totals get mixed into the data.

Cleaning the data

SymptomFix
Numbers will not sumThey are text — strip currency symbols, spaces and stray characters
Two values in one cellText to Columns again with the right delimiter
Header repeated through the dataThe table spanned pages; delete the repeats
Rows split in twoA cell wrapped onto a second line; re-join them
Dates read as text or as the wrong dayReformat the column explicitly

Saving the CSV without breaking it

  • Choose CSV UTF-8 in Excel's Save As list so accented names and currency symbols survive.
  • Leading zeros (postcodes, account numbers) vanish when Excel reopens a CSV; format those columns as text, or import rather than double-click.
  • In countries that use a decimal comma, Excel may write semicolons instead of commas. Check what the receiving system expects.

Ask for the source first

Every PDF table was generated from something — a spreadsheet, a database, a report tool. That source is authoritative and needs no verification. For a one-off table, extraction is quicker than an email; for anything recurring or financially material, the email is worth sending. I ask every time a figure will end up in an invoice or a filing.

Scanned tables

A scanned table has no text to extract, so the converter returns empty pages. Run OCR first, then extract, then verify twice. A digit misrecognised in a column of figures is invisible in the output and entirely plausible in the data — this is the highest-risk extraction there is.

Do it now

PDF to Excel

Export PDF text to a spreadsheet, one line per row (XLSX). It runs in this browser tab — your file is not uploaded anywhere.

Open PDF to Excel

Frequently asked questions

Can I go straight from PDF to CSV?+

Go through a spreadsheet first. That is where you split the rows into columns and check them before committing to a flat file.

Does the converter detect table columns?+

No. It puts each line of text into one cell, in reading order. Splitting into columns is done in the spreadsheet with Text to Columns.

Can I extract a table that spans several pages?+

Yes. Each page gets its own sheet, so copy the rows from each into one sheet and delete the repeated headers.

Why did my scanned PDF give empty sheets?+

A scan contains no text, only an image. Run OCR first so there is text to extract.

Keep reading

HM

Hamza M. · PDF Workflow Editor

Hamza has spent a decade working with print and digital documents — from prepress production to everyday PDF cleanup — and now writes practical, tested guides for Slate PDF.

Read more about how this site is run