How Do I Convert a PDF to CSV?

A PDF page with a table on the left turning into rows of comma-separated values on the right, with one row highlighted in orange

If the PDF has real text in it, export the table to a spreadsheet and save it as CSV, or copy and paste a short one. If it's a scan or a phone photo, the text has to be read first, with OCR or AI extraction. For a single file a converter is enough. For the same kind of PDF every week, set up extraction once and download CSV each time.

That's the short version. The long version is that "converting" hides four separate decisions: what kind of PDF you have, how often you'll do this, which columns you want, and what the system on the other end expects. Get those right and the CSV imports first time. Skip them and you get a file that opens fine and still breaks the import.

What kind of PDF do you have?

There are two kinds, and they look identical on screen.

A digital PDF was exported from a program: an accounting system, a bank portal, a reporting tool. The text is stored as text. A scanned PDF is a picture of paper wrapped in a PDF. There are no characters in it, only pixels.

The test is quick. Open the PDF and try to select a single word with your cursor.

  • The word highlights on its own: digital.
  • The whole page highlights as one block, or nothing does: scanned.

One trap: some scans carry a hidden text layer added by the scanner. The word highlights, but paste it somewhere and you may get garbage. If the pasted text doesn't match what you see, treat the file as scanned.

This matters because most quick methods only work on digital PDFs. Feed them a scan and you get an empty file, or one cell containing the word "image".

Is this a one-off, or the same PDF every month?

Be honest here. It decides how much setup is worth it.

A one-off is one file, once. You can afford to clean it up by hand, so the cheapest method wins even if it's a bit rough.

A recurring job is different. The same supplier report, the same statement, the same price list, every week or month. Hand cleanup that is bearable once becomes a standing chore, and it's the kind of chore where mistakes creep in because nobody is really looking anymore. We covered that trade-off for spreadsheets in converting the same PDF report to Excel every month, and it applies to CSV unchanged.

Decision map with two questions. Digital PDF and one-off: export or copy and paste. Scanned PDF and one-off: OCR first, then clean up by hand. Digital or scanned PDF that keeps coming back: set up extraction once, highlighted as the path to notice.

Which method fits which case?

Your situation Method What to watch
Digital, short, one-off Copy the table, paste into a spreadsheet, save as CSV Columns collapsing into one; fix with "text to columns"
Digital, longer, one-off Export the PDF to a spreadsheet from your PDF editor, or import it with your spreadsheet's "get data from PDF" option, then save as CSV Page headers and footers repeated as rows
Scanned, one-off Run OCR first, then treat it as digital Misread characters; check every number
Digital or scanned, recurring AI extraction with fixed fields, download as CSV A review step for uncertain values
Confidential, any kind Skip free online converters; use a tool whose data handling you've read Where the file is stored and for how long

Free online converters deserve a word. They're fine for a public price list. They're a poor fit for payroll, bank data or customer records, because you're uploading the whole file to a service you know nothing about. Read the privacy page before the upload, not after.

The first three rows are covered in more detail in getting data from a PDF into Excel. Everything there applies, because for a one-off the route to CSV almost always goes through a spreadsheet: get the table into rows and columns first, then choose "Save as" and pick CSV.

Which columns should the CSV have?

This is where most guides stop, and where most bad CSV files are born.

A CSV is not a copy of the page. It's a table for a machine: one header row, then one record per row, with the same columns in every row. A PDF page is laid out for a person. It has titles, logos, addresses, subtotals, page numbers and notes, and none of that belongs in the file.

Decide the columns before you convert, working backwards from where the file is going:

  1. Open the import template of the system that will read the CSV, or the sheet you'll paste into. Its columns are your columns.
  2. Write the header row first. Short names, no line breaks, no duplicates.
  3. Decide what one row is. One invoice per row? One line item per row? One transaction? Mixing them is the classic mistake.
  4. Repeat the shared values. If each row is a line item, the invoice number and date go on every row. A machine can't look up at a heading the way you can.
  5. Drop what isn't data. Subtotal rows, "continued on next page", repeated headers, blank spacer rows.
  6. Keep one value per cell. An amount column holds an amount, not "1,250.00 EUR incl. VAT".

Step three trips people up most. A report with a header block and a table underneath contains two shapes of data. Either flatten it (header values repeated on each line) or produce two files. Don't try to keep the page's shape.

Why does my CSV look wrong when I open it?

The same few things cause nearly every broken CSV: the delimiter, unquoted values, the encoding, wrapped text, and the spreadsheet trying to be helpful.

The delimiter. CSV means comma-separated values, but in many European regional settings spreadsheets write and expect semicolons, because the comma is the decimal mark there. Symptom: every row lands in column A. Fix: import the file through the spreadsheet's data import option and pick the delimiter yourself, instead of double-clicking the file.

Commas and quotes inside values. A company name like "Miller, Brown and Co" contains the delimiter. Proper CSV wraps such values in double quotes. A sloppy conversion doesn't, and the row gains an extra column. Symptom: some rows are one cell longer than the rest.

The encoding. Encoding is how letters are stored as bytes. If the file is written one way and read another, accented and non-Latin characters turn into junk: "Müller" becomes "Müller". Save and open as UTF-8, and when importing pick UTF-8 explicitly. Some spreadsheet versions only recognise UTF-8 if you choose the "CSV UTF-8" save option.

Helpful spreadsheets. Opening a CSV by double-click lets the spreadsheet guess types. It strips leading zeros from postcodes and account numbers, turns long reference numbers into scientific notation, and reads day-month dates as month-day. The data in the file is fine; the display, and anything you save afterwards, is not. Import with those columns set to text.

Line breaks inside cells. A description that wraps over two lines in the PDF can become two rows in the CSV. Symptom: a row with a description and nothing else.

Symptom Likely cause Fix
Everything in column A Wrong delimiter Import and choose comma or semicolon
Some rows have an extra column Unquoted commas in values Quote the values, or re-export with quoting
Junk in place of accented letters Wrong encoding Save and import as UTF-8
Leading zeros gone, dates flipped Spreadsheet guessed the type Import those columns as text
Orphan rows with only a description Wrapped text split into rows Merge them back before saving

How do you check the CSV before you import it?

Don't trust a file because it opens. Check it against the PDF. It's a short routine and it catches almost everything.

Checklist of five checks before importing a CSV: row count matches the PDF, totals add up, same number of columns in every row, special characters and leading zeros intact, and a test import of a few rows first, highlighted as the last step.

  1. Count the rows. Count the records in the PDF, count the rows in the CSV. They should match, minus the header.
  2. Add up a number column. If the PDF prints a total, your column sum should equal it. A mismatch means a missing row, a duplicated row, or a misread digit.
  3. Check the column count. Every row should have the same number of delimiters. Sort by the last column: rows that spilled over float to the top.
  4. Spot-check the fragile values. Names with accents, codes with leading zeros, negative amounts, dates near the start of a month.
  5. Import a few rows first. If the target system has a test mode or accepts a small file, send a handful of rows before the full file.

For scanned PDFs, add one more: read every amount against the page. OCR mistakes are quiet. A faint decimal point or an 8 read as a 3 still looks like a valid number.

What if you convert the same PDFs to CSV every week?

Then stop converting and start extracting.

A converter tries to reproduce the page as a grid. Extraction works the other way round: you say which fields you want, and the page is read for those fields only. Titles, footers and subtotals never reach the file, because you never asked for them. The columns stay identical from one file to the next, even when the layout shifts a little, which is exactly what a CSV import needs.

This is what Foxello does, delivered as a service in the cloud with nothing to install. You name the fields once and describe each in plain language with Instinct, or use Mastery for layouts that repeat, or Instant for standard documents such as invoices and receipts. Digital PDFs, scans and phone photos go through the same workflow.

Each value gets a confidence score: fields at 90% and above are confirmed automatically, and the rest wait in the Review Hub, where your own team checks them against the original page.

Then you download the result as CSV, which is available on every plan, alongside JSON. Excel export is on Growth and up. The formats and where to find the download are in the web export guide.

Files can arrive by web upload, Google Drive, FTP or the API, and by email on Growth and up. Data is hosted in the EU. Plans start at €14.99 a month, and the 30-day trial includes 100 model tokens, so you can run your own files through it and compare the CSV against what you produce by hand today.

If your recurring PDF is a bank statement, the balance check in converting a bank statement PDF to Excel or CSV is the one to add to the list above.

When it's not worth it: a handful of clean digital PDFs a year. Export, save as CSV, run the five checks, done.

FAQ

Can I convert a PDF to CSV for free?

Yes, for a digital PDF. Copy the table or export it to a spreadsheet, then save as CSV. It costs nothing but the cleanup time. Scanned PDFs need OCR or AI extraction first, and free options there usually need more checking.

Can I convert a scanned PDF to CSV?

Yes, but not directly. A scan is an image, so the text must be read first. After that, check every number against the page, because a misread digit still looks like a valid value.

Why is all my data in one column when I open the CSV?

The delimiter doesn't match what your spreadsheet expects, usually comma versus semicolon. Import the file through the spreadsheet's data import option and choose the delimiter yourself.

Why do special characters look wrong in my CSV?

The file was saved in one encoding and opened in another. Save it as UTF-8 and select UTF-8 when you import it.

Should I use CSV or Excel?

Use CSV when another system will import the file: it's plain text and nearly everything reads it. Use Excel when a person will work in the file and needs formatting, formulas or several sheets.

Keep reading

Operations

What Is a Loss Run Report, and How Do You Read One?

A loss run report lists every claim on a policy. Read it in order: valuation date, policy periods, open claims, then paid plus reserve equals incurred.

3 December 2026 · Foxello

Read article →

Operations

How Do I Convert a Bank Statement PDF to Excel or CSV?

Use the bank's own CSV if it offers one. If not, import the PDF or use AI extraction, then prove it: opening balance plus in, minus out, equals closing.

3 December 2026 · Foxello

Read article →

Operations

What Is FNOL (First Notice of Loss), and What Happens After It?

FNOL is the first report of a loss, and it opens the claim. What happens next, step by step, the information each step needs and where documents slow it down.

21 November 2026 · Foxello

Read article →

Ready to automate your documents?

Start processing your first documents in minutes. No setup required.

Start free - no card