Back to all tools

Convert PDF to text

Extract all text from your PDF and copy or download it as .txt.

Loading tool…

How to extract text from a PDF online for free

  1. 1

    Click Select PDF file and pick the document

    Choose the PDF you want the words out of from your computer or phone. The file opens locally in the workspace as a selected file card; no upload happens at this step, and nothing about the document has been shared with us to reach the picker.

  2. 2

    Click Extract Text and wait for the progress bar

    The tool walks through the PDF one page at a time and pulls the text layer out of each one. You'll see a percentage tick up as pages are processed — a long report simply takes a few more seconds than a one-pager, but everything is happening in your browser tab.

  3. 3

    Read the preview to check the result

    The extracted text appears in a scrollable preview panel with a --- Page N --- marker between pages, so you can quickly confirm the order and spot any page that came back empty (those are labelled [No text found on this page]).

  4. 4

    Copy to clipboard or download as .txt

    Hit Copy to clipboard to paste the whole document straight into a note, email or chat, or use Download .txt to save the extracted text as a plain-text file named after your original PDF. Both options give you the same content — pick whichever fits the next step in your workflow.

Get clean, copyable text out of any PDF

PDF is a great format for reading and printing but a stubborn one for reuse. Selecting a passage in a PDF viewer and pasting it into a document often turns tidy paragraphs into a broken staircase of half sentences, drops footnotes into the middle of body copy or scrambles the order when the page is laid out in columns.

This tool skips the viewer entirely. It reads the PDF's underlying text layer directly, page by page, and returns everything as one flat stream of Unicode — the same words in the same reading order, without the line-wrapping and column artifacts a manual copy tends to introduce. From there you can quote a report in your own document, reuse content in a slide deck, feed the text to a translator or a script, or just search a long file inside a plain text editor at full speed. It's the fastest way to convert PDF to plain text when the words are what you need — not the layout.

An honest note about scanned PDFs

This tool extracts the text layer of a PDF. If your PDF is a scan — pages that are really just photographs of paper wrapped in a PDF container — there is no text layer inside the file, and the output will be empty (or a page will come back marked “[No text found on this page]”). That is not a bug; there is genuinely nothing textual for the tool to read.

Reading words out of an image requires OCR (optical character recognition), which is a completely different technology from text extraction. To be transparent: FreePDFHub does not currently ship an OCR tool — it's on our roadmap. Until it lands, this extractor will honestly tell you when a page has no text rather than guess. If your source is a scan today, you'll need an OCR-capable app to convert it into a searchable PDF first, then bring that result back here.

Full document in one go

Every page of the PDF is processed in a single run and stitched into one output in reading order, with a --- Page N --- marker between pages. You don't have to feed pages one at a time or paste chunks together — a 300-page report comes out as a single continuous block of text.

Copy or download

The success screen gives you both options side by side: Copy to clipboard for a quick paste into another app, and Download .txt to save a plain-text file named after your PDF. Use the button that matches what you're about to do next — no need to choose ahead of time.

Private by design

Contracts, medical letters, salary slips and internal reports never leave your device. The PDF is parsed and its text extracted entirely inside your browser tab, so nothing about the document — filename, page count or content — is ever transmitted to us.

Verify your redactions

After blacking out sensitive text with Redact PDF, run the redacted file through this tool. If the redaction was real, the covered words will be absent from the extracted text; if they still show up, the black box was only a visual cover-up and the underlying text is still readable to any machine.

When do you need to extract text from a PDF?

Quoting a report or research paper in your own document

You need to lift a paragraph from a PDF into a memo, a thesis or a blog post without retyping it. Extract the whole document once, then search for the passage you want and paste just those lines into your draft — no more copy-paste-and-fix-the-line-breaks from a PDF viewer.

Converting an e-book or notes PDF into plain text for editing or translation

Study notes, self-published e-books and lecture handouts often arrive as PDFs even though you want to edit them or run them through a translator. Getting the text out first turns the file into something any editor or translation tool can actually work with, without the fonts and layout getting in the way.

Pulling text out to search or analyze a long document

A long contract, court filing or product spec is much easier to search inside a plain text editor than inside a PDF viewer, especially for terms scattered across dozens of pages. Extract the text once and you can grep it, load it into a script, feed it to another tool or just Ctrl+F through the full document at full speed.

Checking what text is really embedded in a file

Two PDFs can look identical and behave very differently — one may be a proper text document, the other a scan wearing a PDF wrapper. Running a file through this tool answers that question in one click and, after a redaction pass, confirms whether the sensitive words are truly gone or just visually covered.

Frequently asked questions

How do I extract text from a PDF for free?+

Click Select PDF file, pick the document from your device, then press Extract Text. The tool reads the text layer of each page in your browser and shows the result on a success screen with Copy to clipboard and Download .txt buttons. No account, no card and nothing to install.

Why is my output empty or incomplete?+

The most common reason is that the PDF has no real text layer inside it — pages are just images (a scan, a photo, or an image exported to PDF). This tool can only extract text that already exists in the file, so image-only pages come back marked [No text found on this page]. That isn't a bug; there is genuinely no text for the tool to read.

Do you support OCR for scanned documents?+

Not today. Getting text out of images requires OCR (optical character recognition), which is a separate technology, and FreePDFHub does not include an OCR tool at the moment. It is on our roadmap. For now, if your PDF is a scan, this extractor will honestly report an empty result rather than pretend to have read something.

Will the text keep its formatting?+

Only the parts that plain text can carry — paragraphs, line breaks and reading order across pages. Fonts, bold/italic styling, colors, columns, tables and images are dropped, because a .txt file has no way to represent them. If you need the layout preserved, that's a different kind of job than pure text extraction.

Do my files get uploaded to a server?+

No. The PDF is opened and parsed entirely inside your browser tab, and the extracted text never leaves your device. There is no queue on our side, no temporary server-side copy and no log of the document's contents — once this page has loaded, the actual extraction step keeps working even if you go offline.

Can I extract text from a password-protected PDF?+

Not directly — a locked PDF blocks even reading its text layer, and this tool will show a Password-protected notice instead of running. Remove the password first with Unlock PDF (you'll need to know the password), then bring the unlocked copy back here and extract the text as normal.

Is there a page limit?+

No artificial cap. The tool processes as many pages as your PDF contains, one after another, and shows progress while it goes. The practical ceiling is your device's memory — very large books can be slower on an older phone than on a laptop, but there is no rule that stops you at 20 or 50 pages.

Can I extract text on my phone?+

Yes. The whole tool is a web page, so tapping Select PDF file opens your phone's normal file picker (Files, Drive, iCloud, etc.), Extract Text runs inside the mobile browser, and Copy to clipboard / Download .txt behave exactly the way they do on desktop. No app to install.

Can I extract text in Hindi or other languages?+

Yes, provided the PDF has a real text layer in that language. Devanagari, Tamil, Bengali, Arabic, Chinese, Japanese and any other Unicode script all come out correctly when the file was authored with proper text (from Word, LaTeX, most modern report generators, and so on). If instead the pages are photographs of Hindi text with no text layer, no tool can extract without OCR — and this one won't either.

How is this different from PDF to Word?+

This tool gives you plain text — the words in reading order, with page markers, and nothing else. A PDF-to-Word conversion is a much heavier job that tries to rebuild fonts, headings, tables, images and column layout inside a .docx file, and FreePDFHub doesn't currently ship that tool. If all you need is the words themselves — to quote, translate, search or paste elsewhere — plain text is usually the right output and this page is the shortest path to it.

Related PDF tools