PDF to CSV — Extract Table Data
Pull tabular data out of a PDF as CSV. Columns are inferred from where text sits on the page, quoting follows RFC 4180 so commas inside values survive, and you can take one file per page or one combined export.
Drop PDF files here or click to select
One or many · CSV per file or per page
No PDF handy? Try sample-10-pages.pdf. More free sample files.
When CSV is the right target
CSV is the format every tool reads, and it is the right choice when the next step is a script, a database import, or a pivot table you will build yourself. If the destination is a spreadsheet a colleague will open by double-clicking, PDF to Excel saves them the import dialog and keeps numbers typed.
One CSV per page is worth choosing when each page is a separate table with its own header. One CSV per PDF is better for a long table that runs across pages — though you will then have repeated header rows to delete.
Delimiters and Excel
- Comma — the default, and what every library and database expects.
- Semicolon — what Excel wants in locales that use a comma as the decimal separator. Choose this if double-clicking a comma CSV puts every row in one cell.
- Tab — almost never needs quoting, which makes it the cleanest option for values full of commas. Tabs inside values are replaced with spaces so the columns cannot break.
- Rows end with CRLF, which is what the CSV specification calls for and what Excel prefers.
Getting clean output
Two habits help. First, tune the column gap sensitivity on one page before running a batch — lower values split more columns, higher values merge them. Second, expect to delete repeated headers and page furniture (footers, page numbers) after a multi-page extract: those lines sit in the same coordinate space as the table and there is no reliable way to tell them apart from data.
FAQ
How are commas inside values handled?
Any value containing the delimiter, a double quote or a newline is wrapped in double quotes with internal quotes doubled — RFC 4180, the dialect every spreadsheet and CSV library reads.
Why do I get page numbers as rows?
Because a footer is just text on the page, in the same coordinate space as the table. Delete those rows after extraction, or crop the page first with Crop PDF and convert the cropped file.
Can I choose which pages to extract?
Not on this page — every page is converted. Pull the pages you want first with Extract pages, then convert that file.
My table has wrapped cells and the rows are misaligned.
A wrapped cell genuinely occupies two lines in the PDF, so it becomes two rows. There is no reliable automatic fix; merge those rows in your spreadsheet or script.
Is anything uploaded?
No. The extraction runs entirely in your browser.
Related tools
- PDF to Excel — a real .xlsx with typed numbers
- PDF to Text — when structure does not matter
- Extract pages — narrow the file down first
- OCR PDF — for scanned tables
- PDF word count — check there is a text layer at all