PDF Tools

Extract Text & Tables

Pull text as .txt and detected tables as .csv from a PDF.

Processed locally in your browser — files never leave your device

What Extract Text & Tables does

Data trapped in a PDF is frustrating when you need it in a spreadsheet or an email. This tool pulls out the text layer as a .txt file and exports tables it can detect as .csv, so you can work with the content instead of retyping it.

How it works

A digital PDF carries a text layer: every run of characters with its exact position on the page. The tool reads that layer page by page and reassembles it into reading order to produce the plain-text output — no OCR involved, so what you get is exactly what the document contains.

Table detection goes a step further: it looks at how those text runs line up — consistent columns, aligned rows, ruling lines — and where it finds a grid, exports the cells as comma-separated values. Each detected table becomes CSV you can open directly in Excel or Google Sheets.

When to use it

  • Figures in a PDF report need to end up in a spreadsheet without being retyped.
  • The text of a document is needed for quoting, translation or feeding into another system.
  • A bank statement or price list arrived as a PDF and you need its rows as data.
  • You want to check whether a PDF has a real text layer at all, or is just a scan.

Advantages and limitations

Advantages

  • Both jobs at once: full text as .txt and detected tables as .csv from a single pass.
  • Extraction is exact — it reads the document's own text layer, so there are no recognition errors.
  • CSV output opens directly in Excel, Google Sheets or any data tool.
  • Confidential reports and statements are processed without being uploaded anywhere.
  • Works on documents of any length, limited only by your device.

Limitations

  • Scanned documents have no text layer, so extraction returns nothing — they need OCR first, which is a different operation.
  • Layout is not preserved in plain text: columns, fonts and positioning are gone, and multi-column pages may need rearranging.
  • Table detection favours clearly ruled or well-aligned tables; merged cells, multi-page tables and whitespace-only layouts often need tidying afterwards.
  • Encrypted files must be unlocked before extraction.

Security and privacy

This tool runs entirely on your own device. The file you choose is read into your browser's memory, processed there by JavaScript, and returned to you as a download — no part of it is transmitted to our servers or anyone else's. When you close or reload the page, the browser discards that memory. We never see your document, cannot log it, and have nothing to delete afterwards. You can verify this yourself: open your browser's developer tools, switch to the Network tab, and process a file — you will see no request carrying your document.

The full detail of how this site handles data is in our Privacy Policy.

Supported files

Input: one standard PDF file (.pdf) with a digital text layer — scans without OCR yield no text. Encrypted PDFs must be unlocked first. Output: a .txt file of the document's text, plus a .csv file for each detected table.

How to use Extract Text & Tables, step by step

  1. Upload the PDF you want to extract from.
  2. Click Extract and let the tool read the text layer and scan for tables.
  3. Review what was found — the text preview and the list of detected tables.
  4. Download the .txt file, the .csv files, or both.
  5. Open the CSVs in your spreadsheet and tidy any table the detector only partly untangled.

Frequently asked questions

Why did I get no text from my PDF?
The document is almost certainly a scan — a picture of a page with no text layer to extract. Recognising the words in an image requires OCR, which is a different operation from extraction.
How reliable is table detection?
It works well on tables with clear ruling lines or consistent column alignment. Tables that rely on visual spacing, span multiple pages, or contain merged cells often need tidying up afterwards in your spreadsheet.
Will the layout be preserved?
Not exactly. Plain text keeps reading order but drops fonts, columns and positioning, because .txt has no way to express them. Multi-column pages in particular may need rearranging.
Can I extract from just a few pages?
Yes — split out the pages you want first, then extract from the smaller file. That also makes table detection easier to check.

Related tools