ImagePDF.Tools

Extract Text from a PDF, Clean and Ready to Paste

Processing securely on your device, no data sent to any server
PDF

or drop files here

Get the words out of a PDF without wrestling with a selection cursor. Lines are rebuilt from the page, broken words are joined back up, and the file is read on your device rather than uploaded.

How it works

From fixed page to plain text.

Drop in the PDF

Files exported from a word processor, a browser or a reporting system normally carry a text layer to read. A file that needs a password asks for it once.

Pick paragraphs or lines

Paragraphs flows sentences together for documents and prompts. Original lines keeps lists and addresses exactly as printed. Narrow it to a chapter with a page range.

Copy it or keep the .txt

Read the preview, copy everything in one click, or save a UTF-8 text file named after your PDF. The preview stops at 20,000 characters; the copy and the file hold it all.

Use cases

When you need the words, not the page.

A PDF is built to look identical everywhere, which is exactly what makes its text awkward to reuse. These are the jobs where plain text wins.

Quoting from a long report

Lift a passage from an annual report, a court judgment or a policy paper without a hard line break every ten words. Paragraphs mode gives you sentences you can drop straight into an email or article.

Feeding a translator or AI assistant

Paste only the pages you need into a translation service or a chatbot instead of handing over the whole file. The extraction happens on your device, and you decide exactly which words go anywhere else.

Reading in a way that suits you

Plain text can be enlarged, reflowed on a small screen, read aloud by a screen reader or text-to-speech app, or loaded onto an e-reader. A fixed PDF page offers none of that comfortably.

Checking a word count

Grant applications, essays and journal submissions often have strict limits. Paste the extracted text into your word processor for a word count, or read the character total shown as soon as extraction finishes.

Building research notes

Extract the chapters you are studying with page markers switched on. Every quote in your notes then sits under the page it came from, which saves a hunt when you write the citation.

Escaping a clumsy viewer

Dragging a selection across several pages on a phone, or in a browser preview that keeps jumping, is painful. Extracting turns the whole file, or just a page range, into text in one step.

How a page turns back into sentences.

A PDF does not store paragraphs. It stores fragments of text, sometimes whole words and sometimes single letters, each with a position, in whatever order the program that made the file wrote them. Spaces are often missing altogether, because the next word is simply placed a little further along.

The tool collects those fragments with pdf.js, groups the ones that share a baseline into a line, and sorts each line left to right. Wherever the gap between two fragments is wider than roughly a fifth of the font size, a space goes in.

In Paragraphsmode it then measures the usual line spacing on that page. Lines closer than about one and a half times that spacing are joined into one paragraph, and a bigger gap starts a new one. A word split with a hyphen at the end of a line is rejoined when the next line starts in lower case. One side effect: a real compound like "well-known" that happens to break at the hyphen loses it. Original lines mode leaves every hyphen and line break alone.

Worked example

Three printed lines followed by a heading. Original lines gives one output line per printed line, with no blank lines inside a page; Paragraphs puts a blank line wherever a new block begins.

Original lines

The committee reviewed the quar-
terly figures and approved the
revised budget for next year.
Next steps

Paragraphs

The committee reviewed the quarterly figures and approved the revised budget for next year.

Next steps

What to expect from different PDFs

In the PDFIn the extracted text
Documents exported from Word, Google Docs, LaTeX or a web pageExtracts cleanly; this is what the tool is built for.
PDFs that have already been through OCRThe invisible text layer is read; accuracy is whatever the OCR achieved.
Scanned pages with no OCRNothing to read. Run OCR PDF first, then come back.
Two-column layoutsLines that sit level with each other in both columns share one output line.
TablesEach row becomes a line with cells separated by spaces; the grid is lost.
Running headers, footers and page numbersIncluded, because they are real text on every page.
Hidden text, such as white on white or text under an imageIncluded, because it is still part of the text layer.
Sideways or diagonal textSkipped, including diagonal watermarks.
Fonts with no map back to real charactersComes out as symbols or wrong letters; OCR is the workaround.

Scanned pages can be fixed with OCR PDF, and when the layout matters more than the raw words, PDF to Word is the better starting point.

Common questions

Questions answered.

Why does it say no selectable text was found?
The PDF is almost certainly a scan or a photo of paper, so each page is a picture with no letters stored in it. Run it through OCR PDF first, which recognises the words and adds an invisible text layer, then extract that layer here. The same applies to a screenshot of text pasted into an otherwise normal document: the words inside the screenshot are pixels, not text.
Should I choose Paragraphs or Original lines?
Paragraphs suits anything you will read or paste as prose, such as articles, reports and contracts, because it removes the line breaks the page width forced on each sentence. Original lines suits material where the breaks carry meaning: addresses, invoices, bulleted lists, song lyrics and code samples. If you are unsure, try one, press Change settings and compare.
Why are two columns mixed together in the result?
Lines are rebuilt from where the text sits on the page, so a line in the left column and the line level with it in the right column end up on the same output line. For a two-column journal paper that means the columns interleave. Original lines mode makes the pattern easier to untangle by hand, and PDF to Word is worth trying when you need something closer to the original layout.
Why does some of the text come out as symbols or the wrong letters?
Some PDFs embed fonts without a table that maps each glyph back to a real character, so the shapes look right on screen but the underlying codes are meaningless. No text extractor can recover words that were never stored. Optical character recognition reads the letter shapes instead, so saving the affected pages as images with PDF to JPG and running them through Image to Text is the reliable way around it.
Does it keep bold text, headings, fonts or tables?
No. The result is a plain .txt file, which has no formatting at all, and table rows come out as lines with the cells separated by spaces. Headings usually end up on a line or in a paragraph of their own, but their size and weight are gone. For an editable document that keeps more of the structure, use PDF to Word.
What does "Mark where each page starts" add?
A line such as "--- Page 12 ---" before the text of each page, which makes it easy to cite a page number or jump back to the source. A page that has no text gets "[no text on this page]" under its marker, a quick way to find the scanned pages hiding in a mostly digital file. Switch the option off for one continuous block of text.
Can I extract just a few pages?
Yes. Choose pages and type a selection like 4-9, 12, 20- where the last part means page 20 to the end. Only those pages are read, which is also quicker on a long document. The pages appear in page order whatever order you type them in.
Which languages and characters come through?
Anything the PDF maps to Unicode, including accented letters, Greek, Cyrillic, Chinese and Japanese characters, and the saved file is UTF-8 so nothing is lost on the way. Text printed sideways or at a steep angle, such as a rotated table label or a diagonal DRAFT watermark, is skipped because it cannot be placed on a horizontal line.
Is my PDF uploaded anywhere?
No. The file is opened by pdf.js inside this browser tab and the text is rebuilt on your own device. If the PDF needs a password, it is unlocked locally as well. Nothing is sent to a server, so it is fine for confidential reports, medical letters and legal papers.