How to convert a PDF to CSV, step by step
- Upload the PDF — a digital file, a scan or a phone photo. Several files can go in at once.
- The document type is detected: bank statement, invoice, receipt, report or a general table.
- The data is read into rows and columns, and checked: statements against their balances, invoices against their totals.
- Review the preview. Every cell can be edited, and warnings point at the row to look at.
- Download CSV — or Excel, or an import file for your accounting software.
What the CSV file looks like
CSV has no sheets and no formatting, so the layout has to be simple and predictable. For a bank statement the file starts with a short details block — bank, account holder, masked account number, period, currency, opening and closing balance — then a TRANSACTIONSheader and the table itself. The table keeps the statement's own columns in the statement's own order: if your bank prints separate debit and credit columns and a value date, so does the CSV. Columns are never invented; a category column only appears when the statement had one.
Invoices follow the same pattern: an invoice-details block (supplier, customer, number, dates, currency, VAT number, subtotal, tax, total) and then the line items. Under the hood the file follows the CSV standard, RFC 4180: values containing commas, quotes or line breaks are quoted, rows end with CRLF, and the text is UTF-8 with a byte-order mark so that Excel shows €, ü or ą instead of garbled symbols.
Opening the CSV in Excel without problems
The most common complaint about any CSV is that everything lands in column A. That is not the file — it is Excel's regional setting. In much of Europe the list separator is a semicolon, so a double-clicked comma-separated file is not split. Two ways round it:
- Import instead of opening. In Excel, Data → From Text/CSV, pick the file and choose comma as the delimiter. Set long reference numbers to Text so Excel does not turn them into 1.23E+15.
- Skip CSV. If the file is for a person rather than another program, download Excel (.xlsx) instead — columns, number formats and dates are already set.
CSV, Excel or an import file?
| You want to… | Download | Why |
|---|
| Load data into a script, database or BI tool | CSV | Plain text every tool reads |
| Review, sort and total the transactions yourself | Excel | Formats and checks already in place |
| Import into QuickBooks, Xero, Sage, DATEV and others | Accounting export | The program's own layout, free on every plan |
| Import into Quicken | QFX | See PDF to QFX |
| Work in Google Sheets | Google Sheets | Sent straight to a new sheet |
Which PDFs convert to CSV
| Document | What the CSV holds | Checked against |
|---|
| Bank statements | Every transaction, in the statement's own columns | Opening, closing and running balance |
| Credit card statements | Purchases, payments, fees | The statement's own totals |
| Invoices | Header fields, then line items | Subtotal + VAT = total, line sums |
| Receipts | Merchant, date, tax, tip, total, items | Subtotal + tax + tip − discount = total |
| Reports and other tables | Each section with its own header row | Printed totals where present |
Scanned statements go through OCR first — see scanned statements. For a year of statements in one file, combine them first and download the merged CSV: one table, date order, with duplicate and balance-chain warnings across files.
Why a CSV import fails in accounting software
Accounting programs are strict about the CSV they accept, and most rejected imports come down to the same few things:
- Lines above the table. Importers expect the header row on line one. A details block or a title above it — like the one in a readable CSV — has to go.
- Date order. 03/04 is 3 April in Europe and March 4 in the US; the importer must be told which, or it swaps day and month silently.
- One amount column or two. Some programs want signed amounts in one column, others separate money-in and money-out columns.
- Number formats. 1.234,56 and 1,234.56 are the same amount written two ways; the wrong one reads as text or as a different number.
This is why the accounting export exists alongside plain CSV: it writes each program's own layout — columns, date order and signs — so the file imports first time. Use plain CSV for your own tools and the accounting export for your books.
If an import still fails, open the CSV in a plain text editor rather than Excel: what you see there is exactly what the importer sees, without Excel reformatting dates or numbers on the way. Look at the first two lines: the header names and the separator between them usually tell you straight away why the program refused the file.
PDF to CSV through the API
If PDFs arrive in your own system, the conversion can run without anyone opening the app. Send the file to the extract endpoint, then ask the export endpoint for csv — the same file the download button gives you, with the same checks behind it. The document extraction API page has the details and the free validation endpoint.
Converting PDF to CSV by hand, and where it breaks
For a single short table you may not need a converter. Copying from a PDF viewer into a spreadsheet works when the PDF has a text layer and one simple table — but columns often collapse into one, and multi-line descriptions split across rows. Excel for Microsoft 365 on Windows can also import a PDF through Data → Get Data → From File → From PDF, which handles clean tables well.
Both stop at the same places: scanned PDFs with no text layer, tables that continue across pages with repeated headers, statements where a row is split over two lines, and — most importantly — nobody checks the result. A bank statement copied with one row missing still looks complete. That is the job a dedicated converter does on top: reading scans, joining tables across pages, and proving the rows add up to the balances printed on the statement before you rely on them.