PDF to text

Extract the text from one or more PDFs: lines and paragraphs rebuilt, columns, line-end hyphens joined, repeated headers and footers removed. All in your browser, nothing is uploaded.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop one or more PDFs here, or choose files (up to 20).

Options

Pages: leave empty for all, or for example 1-3, 5. Headers and footers: lines among the first or last two of a page that repeat (page numbers included) on more than half of the pages are removed, with at least three pages. Columns: only two columns separated by a clear gap are recognised; with three columns, tables or headings in between the text may come out mixed.

Why the text can come out messy

A PDF holds no paragraphs: it holds pieces of text with a position. Lines and paragraphs are rebuilt from the coordinates, so tables, columns and forms can come out mixed up.

Text and OCR

The tool reads the text the PDF already contains. A scan is just a photo: reading it needs OCR, which recognises the letters in the image.

Where the data goes

PDFs and passwords stay in the browser: nothing is uploaded. Only the options go into the share link.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Drop one or more PDFs in the upload area, or choose the files. If a PDF is protected you are asked for the password.
  2. Choose "Flowing text" for continuous paragraphs or "Keep layout" to keep lines and indents; "Pages" limits the extraction (for example 1-3, 5).
  3. Turn on or off the joining of split words, the repeated headers and footers and the page separator.
  4. Read the text page by page and see how many pages have text and how many do not.
  5. Copy everything, download the .txt or .md (with several PDFs you get a ZIP) or send it to another tool, such as the word counter.

Frequently asked questions

Why does the text come out messy?

A PDF has no paragraphs or tables inside, only pieces of text with a position. Lines, paragraphs and columns are rebuilt from the coordinates with a few rules: with tables, three or more columns, side notes or headings that span the page the order can be wrong. Try "Keep layout" and turn off "Read two columns".

What is the difference with OCR?

This tool reads the text the PDF already contains, and it is exact. OCR is needed when the PDF is a scan or a photo: there are only pixels and the text must be recognised from the image. There is no OCR here, because files never leave your device; you can export the pages as images with "PDF to images".

How are headers and footers recognised?

It looks at the first and last two lines of every page and removes the identical ones (numbers count as equal, so "Page 3 of 9" counts as repeated) on more than half of the pages, from three pages up. It is a heuristic: if you need all the text, turn the option off.

Is the password saved?

No. It is only used to open the file on this page, the field is emptied at once and the password never goes into the share link or any browser storage.

Are my PDFs uploaded anywhere?

No. Everything happens in your browser and the files never leave your device.

Privacy

Everything happens on this page. Only the options go into the share link, never PDFs, their text or passwords.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain