PDF to CSV
Extract table rows as comma-separated values, ready for any spreadsheet or script.
PDF to CSV
Never uploadedYour file is processed in this tab and never sent anywhere.
How to pdf to csv
- Drop the PDF. Text is read with page coordinates.
- Check the detected rows. The CSV previews so you can confirm the columns landed correctly.
- Download the .csv. Opens anywhere, and parses cleanly in any language.
About pdf to csv
CSV is the format you want when the destination is a script, a database import, or any tool that would rather have data than a document. It has no formatting, no formulas, no sheets, and no ambiguity — which is exactly why it survives everywhere while richer formats break between applications. If the next step after this conversion is code rather than a spreadsheet, CSV is the right target.
The extraction works the same way as PDF to Excel: PDF.js reads text fragments with their coordinates, fragments are clustered into rows by vertical position, and column boundaries are inferred from the x positions where fragments consistently start. The difference is purely in the output. Where the Excel tool writes an OOXML workbook, this writes plain comma-separated text, with fields quoted where they contain commas, quotes, or line breaks, following the usual conventions so it parses correctly.
You can choose the delimiter, which matters more than it sounds. Comma is standard and correct for most tooling. Semicolon is what you want if the file is going into Excel on a machine set to a European locale, where the comma is the decimal separator and a comma-delimited file opens as one column per row. Tab is the safest choice when the data itself contains a lot of punctuation. Pick based on where the file is going, not on habit.
A single CSV cannot represent multiple tables cleanly, so where a document has a table on each of forty pages you get one continuous set of rows. That is usually what you want for a statement or a report that continues across pages, and occasionally wrong when the tables are genuinely unrelated. Repeated column headers appearing mid-file are the tell — filter them out after import, or use PDF to Excel instead, which keeps each page on its own sheet.
PDF to CSV FAQ
Should I use PDF to CSV or PDF to Excel?
CSV when the next step is a script, an import, or a database. Excel when a person is going to open it, or when you want each page kept on its own sheet.
My CSV opens as one column in Excel. Why?
Your Excel locale uses the comma as a decimal separator, so it will not split on commas. Re-export with the semicolon delimiter, or use the text import wizard.
Why are there header rows in the middle of my file?
Because the table repeated its header on every page of the PDF and all pages were concatenated into one CSV. Filter them after import, or use PDF to Excel for one sheet per page.
How are commas inside a field handled?
Fields containing commas, quotes, or line breaks are quoted and escaped following the standard CSV convention, so they parse correctly.
My scanned PDF produced an empty CSV.
A scan has no text layer, so there is nothing to extract. Use Image to CSV, which recognises the text in the image first.
Is the file uploaded?
No. Everything runs in this browser tab using PDF.js. Nothing is transmitted.