PDF to CSV: turn a PDF’s text rows into a spreadsheet

Turn the text rows of a PDF into a CSV for Excel or Sheets.

On your device. No watermark. No sign-up.

How to use PDF to CSV

  1. Open your file. PDF to CSV starts as soon as you drop a file or click the box above — the file opens in your browser and stays there.
  2. Choose your options. Drop a PDF that has selectable text, then press Convert to CSV and open the file in Excel, Google Sheets or Numbers.
  3. Download the result. The finished file is generated on your device and saved straight from your browser — free, with no watermark added.

This tool is processed locally with JavaScript inside your browser tab. The document is not uploaded, stored or seen by a server, which makes it suitable for contracts, invoices, CVs and medical or financial records.

What a PDF knows, and what it does not

A PDF does not contain a table. It contains instructions to draw each piece of text at a position on the page, and there is no “column 3, row 12” anywhere in the file to read.

So the columns here are worked out from the layout. The tool reads the position of every piece of text, keeps one row per line, and starts a new column wherever there is a wide gap between two pieces of text. A normal word space stays a space inside the cell.

On statements, invoices, ledger pages and reports with aligned columns this matches the layout closely. On a designed table with drawn cell borders, uneven gaps or an unusual drawing order it can be wrong, and the spreadsheet needs a minute of cleanup.

A PDF exported from Excel or a database usually converts well, because the columns line up. A PDF designed in a page-layout program often converts badly, because the spacing is decorative rather than regular.

What the CSV file looks like

One row per line of text, in page order. Fields are separated by commas and wrapped in quotes when they contain a comma, a quote or a line break, so the file survives values like “Mumbai, MH”. Rows end with Windows line endings, which every spreadsheet accepts.

The file is written as UTF-8 with a byte-order mark. That is what makes Excel open ₹, accents and Devanagari correctly instead of turning them into junk; without the mark, Excel guesses the local codepage.

Every value is text. An account number keeps its leading zeros, which is good, but a long number can still be shown in scientific notation by Excel. If that happens, format the column as Text before opening, or import with Data, From Text/CSV and set the column type yourself.

Scanned PDFs need OCR first

A scanned PDF is a picture of a page and holds no text, so there is nothing to turn into rows. The tool stops and says so rather than producing an empty file.

Run the PDF through OCR PDF first. That adds a searchable text layer on your device; convert the result to CSV afterwards. OCR text is less tidy than text from a born-digital PDF, so expect more cleanup.

CSV, Excel or plain text?

CSV is the safest format to hand to another program: banks, accounting tools and import wizards all read it, and nothing is lost in a proprietary format.

PDF to Excel writes a real .xlsx with detected columns and is the better choice if you want to open the file and work in it straight away. Extract Text is for when you want the words, not the rows.

If you need the original layout preserved, keep the PDF. A CSV cannot hold fonts, colours or page positions, by design.

Repeated headers and page breaks

Rows arrive in page order with nothing added between pages, so a header that repeats at the top of every page becomes a repeated row in the middle of the data. Delete those rows in the spreadsheet, or sort by the first column to bring them together.

Footers such as “Page 3 of 12” also arrive as rows. They are easy to filter out because they usually sit in one column and repeat.

Your PDF stays on your device

The text is read with PDF.js and the CSV is built inside this browser tab. The PDF is never sent to a server, which matters for bank statements, salary slips and tax documents. After your first visit the tool also works offline.

Questions

Is this PDF to CSV converter free?

Yes. There is no account, no daily limit and no watermark on the file.

Is my PDF uploaded?

No. The text is extracted in your browser and the PDF never leaves your device.

How are the columns decided?

From the layout. The tool keeps one row per line of text and starts a new column wherever there is a wide gap between two pieces of text. A PDF has no table structure to read, so this is a guess based on where the text sits.

Why did I get one column with everything in it?

The fields in that PDF sit close together, so no gap looked like a column break, or the whole row was drawn as one run of text. PDF to Excel makes the same guess. For a file like that, Extract Text plus your spreadsheet’s Text to Columns is the practical route.

Can I convert a scanned PDF to CSV?

Not directly. A scanned PDF has no text layer. Run OCR PDF first, then convert the searchable result.

Will Excel show ₹ and Hindi correctly?

Yes. The file is written as UTF-8 with a byte-order mark, which is what Excel needs to read those characters properly.

Why does my account number show as 1.23E+13?

Excel guessed that the column is numeric. The value in the file is complete text; format the column as Text before opening, or import it with the column type set to text.

Can I convert only some pages?

The tool reads every page. Extract the pages you want first with Extract Pages, then convert that smaller PDF.

What is the difference between CSV and the Excel export?

Both use the same row and column detection. CSV is plain text that any program can read; XLSX is a workbook you can open and edit directly.

Does it work on a phone?

Yes, but a spreadsheet is easier to fix on a computer. The conversion itself runs fine in a mobile browser.

Guides

Last updated 12 November 2026

More convert from pdf tools

← All free local PDF tools

Don't Hate PDF

Loading your local toolbox…