Skip to main content
WizTools123
Free Online Tools

Tool Categories


PDF Tools New Tool

Extract Text from PDF Free Online, Copy, Download & OCR for Scans

Pull the text out of a PDF so you can copy, search or reuse it. Real text comes out instantly, page by page or all at once. When the file is a scan with no text layer, built in OCR can read the words from the picture instead. Both run in your browser, so scanned documents stay private.

Free Forever Nothing Uploaded Handles Columns OCR for Scans
Extract Text from PDF Free Online, Copy, Download & OCR for Scans
Share this tool
Extract Text from a PDF Drag and drop your PDF here and the words appear straight away. It is opened by your browser, not by a server. Select a PDF File Up to 100 MB • 2,000 pages • nothing is uploaded
document.pdf
These pages are pictures, not text A scanned PDF is a photograph of paper, so there is nothing inside it to pull out. OCR reads the letters out of the picture instead.
The text
Reading the pages
Save it as
How to lay it out

Every line stays where it was. Right for poetry, code, addresses and tables.

Which pages

On a long document this is quicker, and with OCR it matters a lot: that takes a few seconds a page.

Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee

How to Use Extract Text from PDF

Step by step, start to finish.

1
Open Your PDF

Drag it onto the box, or press the button and pick it. The file is read by your browser and never leaves the computer.

2
Read The Extracted Text

The words come out in reading order, with two column pages handled a column at a time rather than straight across. It happens as soon as the file opens.

3
Run OCR On Scans

A scanned page has no text in it at all, only a picture. You will be told when that is the case, and a button appears that reads the pictures instead.

4
Copy Or Download It

Copy the lot with one press, or download it as plain text, Markdown, CSV or JSON.

Key Features

What this tool does, and what it does not do.

Reads columns one at a time

It looks for the empty strip running down the middle of the page and reads each side in turn. Without that, a two column page comes out as one line from the left, one from the right, all the way down, which is unreadable.

Builds the lines back

Characters are grouped by the line they sit on and sorted across it, and the gaps between them decide where the spaces go. That is the difference between real sentences and a stream of run-together words.

OCR for scans, built in

When a page turns out to be a picture, it says so and offers to read it anyway. The OCR engine runs inside this page on your own device, so your scan stays with you while it is read.

Copy it, or take it in four formats

Plain text to paste anywhere, Markdown with a heading per page, CSV with a row per page for a spreadsheet, or JSON for a script. All from the same read.

Puts broken words back together

Justified text breaks words across lines with a hyphen. Joined back up, those turn into words again instead of half words with a dash in the middle.

The file never leaves your computer

There is no upload and no server processing, and that includes the OCR. Once the page and, for scans, the OCR engine have loaded, it keeps working with the network switched off.

About Extract Text from PDF

Text locked inside a PDF is a familiar annoyance: a quote you need in an email, a report you want to run through a word count, a statement a script has to read. Copy and paste from a viewer works for one paragraph and falls apart over forty pages, across two columns, or on anything that was scanned. This tool pulls the words out of a PDF — up to 100 MB and 2,000 pages — and hands them back as plain text, Markdown, CSV or JSON. Nothing is uploaded; the file is read in this tab.

How the text is put back in reading order

A PDF stores text as characters, each placed at a coordinate. Nothing in the file says which characters form a line, where a paragraph ends, or which of two columns to read first — all of that has to be inferred from where the letters sit, which is why extracted text comes out scrambled so often. This page rebuilds lines from the text baselines and looks for the gutter between columns before it reads anything, so a two-column page comes out as two columns read in order rather than interleaved line by line.

On top of that there are three switches: join lines into paragraphs (so the text reflows in a document) or keep the line breaks exactly as they were, which is what poetry, code, addresses and tables need; page markers, so you can still tell where page nine began; and de-hyphenation, which rejoins a word split across a line end.

Output formats

FormatShapeUse it when
Plain textJust the wordsPasting somewhere, or any tool that reads text
MarkdownA heading per pageThe result has to stay navigable
CSVOne row per pageWorking through it in a spreadsheet
JSONOne object per pageA script will consume it

A page range limits the extraction to one stretch, which is the quick way to get a single chapter rather than a whole book.

When there is nothing to extract

A scanned page is a photograph of paper. There is no text in it for any tool to pull out, which is why most of them hand back an empty box and leave you guessing. Here you are told plainly that the page has no text layer, and offered OCR, which reads the letter shapes instead.

OCR reads letter shapes, so its accuracy follows the scan: a clean, straight, reasonably high-resolution page comes out well, while a crooked, faint or low-resolution one may need a few corrections, so give the result a read before relying on it. The engine reads English text and takes a few seconds per page, so a page range is the quick way to OCR one chapter of a long scan.

Tables, odd fonts and locked files

  • Tables come out as text in order. A PDF stores a table as text positioned to line up, so the words arrive in the right sequence and the grid is for you to rebuild. Keeping the line breaks gets you closest to the original layout, and CSV output gives a spreadsheet a head start.
  • Garbled letters have a fix. A few files embed fonts without a proper character map, so the right shapes carry the wrong letters behind them. Treat such a page as a scan and run OCR on it, which reads the shapes directly.
  • Works with any unlocked PDF. If a file asks for a password, remove the password first and extract from the open copy.

Related tools

For counts and readability figures rather than the words themselves, the text statistics analyzer reports on the document directly. Pictures are a separate job: the embedded image extractor pulls out the original images a PDF carries, while the PDF to image converter renders whole pages as pictures. If a document turns out to be a scan you will keep working with, cropping the scanner edges off before OCR noticeably improves what it reads. Which fonts a file embeds — often the clue behind garbled output — is shown by the font inspector.

Frequently Asked Questions

Common questions about this tool.

Open the file on this page and the words appear straight away, rebuilt into lines and read a column at a time. Copy them with one press, or download them as plain text, Markdown, CSV or JSON, for all pages or a page range you set. Nothing is uploaded and there is no sign up, and scanned pages can be read with the built-in OCR.

A PDF stores characters at coordinates rather than as flowing lines, with nothing to say which ones form a line or which column comes first. A simple copy and paste reads them in storage order, which scrambles two-column pages. This page groups characters into lines by their baselines and finds the gutter between columns before it reads, so the text comes out in the order a person would read it.

That is almost always a scanned page. A scan is a photograph of paper, so it carries an image rather than a text layer. The tool tells you when a page has no text layer and shows a button that runs OCR, which reads the letters out of the picture instead. Set a page range first on a long scan, because OCR takes a few seconds per page.

On a clean, straight, reasonably sharp scan it reads English text well. Accuracy follows the quality of the image, so a crooked phone photo in poor light will need more corrections, and printed text works far better than handwriting. Because OCR works from letter shapes, read what comes back before relying on it, especially for names and numbers.

No. The recognition engine is part of this page and runs on your own machine. It is about seven megabytes, which is why it downloads only when you press the button, and then it is cached. After that it works with no internet at all.

The words come out in the right order, and the grid is yours to rebuild. A PDF stores a table as text positioned so that it lines up in rows and columns, rather than as cells. Turn on keep line breaks to get each row on its own line, which gets you closest to the original arrangement, then paste it into a spreadsheet and split it into columns there.

A PDF breaks a paragraph into fixed lines. Joining puts those lines back into one flowing paragraph, which is what you want if the text is going into a document that will reflow. Keep the line breaks instead when the layout matters, as with poetry, code, addresses or anything laid out in columns.

That happens with some PDFs where the spaces were never stored as characters at all, only as gaps. This page works spaces out from the size of the gap between characters, which handles most of them. A file that still comes out wrong usually has a damaged font map, and OCR on it will do better than extraction.

Yes. Give a first and last page and only that stretch is read. On a long document that is also much quicker, and it makes a real difference with OCR, which takes a few seconds per page.

No. There is no upload step, no server and no copy kept. You can open the tool, disconnect from the internet, and it will still work, OCR included once the engine has been fetched once.

More PDF Tools

Other tools from the same hub, free and in your browser.

All PDF Tools

Feedback

No feedback on this tool yet. Yours would be the first.