PDF to Text

Drop one PDF or twenty. The text comes out in reading order, scanned pages are read with OCR, and the files stay on your device.

The PDFs people most need text from are contracts, bank statements, medical letters and invoices, which are also the ones nobody wants to upload to a conversion site. This tool does the whole job in your browser. It reads the text layer of each page and puts it back in the order a person reads it: left column before right column, a title before the columns under it, table rows kept as rows. Lines can be joined back into paragraphs with split words mended, and headers, footers and page numbers that repeat on every page can be left out. Pages with no text layer, which are scans or photos, are detected, and you choose whether to read them with OCR, in any of 20 languages.

Each page is shown on its own with a Copy page button, and the text can be searched.

Several PDFs can be saved as one text file each in a .zip, or all in one file.

  • Files are never uploaded
  • OCR for scanned pages
  • Columns in reading order

How to extract text from a PDF

Drop the PDF, set how the text should be laid out, copy or download.

  1. 1

    Add your PDFs

    Drop them anywhere on the page or choose them. Each opens straight away and shows its page count. A password-protected PDF asks for its password, which is used only in the page.

  2. 2

    Choose pages and layout

    Pages takes all or ranges such as 1-5, 8, 12-end. Four switches control the result: read columns one after the other, join lines into paragraphs, remove headers, footers and page numbers, and mark where each page starts. The text updates as you change them.

  3. 3

    Read scanned pages if there are any

    If some pages have no text layer, a panel says how many. Pick the document's language and press the OCR button; a bar shows progress page by page. Pages read this way are labelled OCR with the engine's confidence.

  4. 4

    Search, copy, download

    Search highlights every match and shows only the pages that contain it. Copy all or Copy page puts text on the clipboard. Download saves .txt or Markdown; with several PDFs open you can also save all of them in a .zip or in one file.

The file stays with you

Nothing is sent to a server: not the PDF, not its text, not the pictures of pages made for OCR. Once the page has loaded, text extraction works with the network switched off.

Reading order, not file order

A PDF stores text wherever the program that made it put it. The tool works out lines from positions, reads side-by-side columns of prose one after the other, and keeps the cells of a table row together, separated by tabs so they paste into a spreadsheet.

OCR when there is no text layer

A scanned page is drawn at about 200 dots per inch and read by Tesseract in your browser, in one or two of 20 languages. You are asked first, because it is slower than reading a text layer: for a clean page on the laptop this was tested on, between half a second and a few seconds, and longer on a phone.

Clean text

Lines inside a paragraph are joined and words hyphenated across a line end are mended, with each paragraph kept apart. A line that repeats in the top or bottom margin of the pages, and page numbers, can be dropped.

Example: a two-column paper

With Read columns one after the other ticked, page 1 gives the title, then the whole left column, then the right column. Untick it and the text is read straight across the page, mixing the two columns line by line, which is what a plain copy-and-paste gives.

Example: a scanned letter

A three-page scan shows "3 of the 3 selected pages have no text to copy". Choose English, press Read 3 pages with OCR, and each page fills in as it is read. Check names and numbers against the original: OCR can confuse 0 and O, or 1 and l.

Nowhere. It is opened and read inside your browser. The only downloads are the program files and, for OCR, the language data, all from Rune's own domain.

What comes out well, and what does not

Text with a text layer is copied exactly. Layout is worked out from positions, and OCR is a reading, not a copy.

Text layer

A text layer is the real characters stored in a PDF made by a word processor, a browser or an accounting system. This tool copies those characters as they are, so the wording is exact.

A scan is a picture of a page. It has no text layer unless the scanner software added one. A page with fewer than 20 characters of text and some drawn content is treated as a scan.

OCR accuracy

Clean, straight, printed scans read well. Faint print, skewed pages, handwriting, stamps and small footnotes read badly, and tables come out as lines of text without their grid.

The confidence figure is the engine's own estimate, from 0 to 100. A low figure means check the page; a high one is not a guarantee.

Server tools with trained layout models do better on poor scans. This one trades some accuracy for keeping the document on your device.

Layout

Columns are recognised when each side is a block of prose at least three lines long. Narrow columns of short entries are treated as a table and read row by row.

A paragraph that runs from the bottom of one column to the top of the next comes out as two paragraphs. Text set at an angle, text in the margins and captions can land out of place.

A header or footer is removed only if the same line, numbers aside, sits in the top or bottom eighth of at least three pages and of 40% of the document's pages, and any numbers in it stay the same or count upwards like a page number.

What is not extracted

Images, charts, signatures and form field values that are not part of the page's text. Text inside a picture needs OCR, which runs only on pages that have no text layer at all.

Bold, italics, font sizes and colours. The result is plain text; the Markdown download adds only a heading per page.

Limits

Up to 20 PDFs at a time, each up to 150 MB. There is no page limit; a very long PDF takes longer and uses more of your device's memory.

No daily limit, no page limit and no account: the reading is done by your own device.

The page shows 15 pages at a time. Copy all and the downloads always contain every selected page.

Questions about PDF to Text

Is my PDF uploaded to a server?

No. The file is read by your browser on your device, including the OCR of scanned pages. No request carries the PDF or its text.

Can it read a scanned PDF?

Yes. Pages without a text layer are detected and can be read with OCR in the browser, in 20 languages. It is slower than reading a text layer, and the result should be checked against the original.

Why does copying from a PDF mix up the columns?

Copy and paste follows the order in which text was stored in the file, which often runs straight across the page. This tool orders the text by where it sits, so columns are read one after the other.

How do I remove the line breaks?

Leave Join lines into paragraphs ticked. Lines within a paragraph are joined with a space and words split by a hyphen at a line end are put back together. Untick it to keep one line per printed line.

Is there a limit on pages or files?

No page limit, no daily limit and no account. Up to 20 PDFs of up to 150 MB each can be open at once; how large a document works in practice depends on your device's memory.

Can I get a table out as a table?

Partly. Cells on one row are kept on one line with tabs between them, which pastes into spreadsheet columns. Merged cells, cells with several lines and tables on scanned pages do not survive as a grid.