Convert PDF to text free

Pull the text out of a PDF to copy or save as a .txt file, without uploading your document.

  • Files never leave your browser
  • No sign-up needed
  • Free to use

This extracts embedded, selectable text. Image-only scans need OCR, which this private browser tool does not claim to perform.

How to convert PDF to text

To convert PDF to text, choose the PDF above and click Extract text, then copy the result or click Download .txt. The tool reads the text already stored in the PDF using pdf.js in your browser, so nothing is uploaded. It does not do OCR: a scanned PDF, which is only pictures of pages, returns little or no text. Layout is not kept; each page comes out as one block of text.

  1. STEP 01

    Choose a PDF

    Pick a PDF whose text you can select in a PDF reader. That is the quickest test of whether there is text to extract.

  2. STEP 02

    Extract text

    Click Extract text. Every page is read in your browser and the result appears in the box below the button.

  3. STEP 03

    Copy or download

    Check the text, then copy it or click Download .txt to save a plain-text file named after your PDF.

Why convert PDF to text?

Paste into an email, doc or chat

Plain text pastes cleanly anywhere, without the odd line breaks you get copying from some PDF readers.

Feed text to another tool

Translators, AI assistants, spreadsheets and search tools work better with plain text than with a PDF.

Quote a document accurately

Copy the exact wording instead of retyping it from the page.

Keep a small searchable copy

A .txt file is small, opens on any device and any computer can search it.

What this PDF to text converter gives you

The converter reads the text layer of each page with pdf.js, the PDF engine used in Firefox, and joins it into plain text. Each page becomes one paragraph, and pages are separated by a blank line.

Inside a page, the original line breaks become spaces, so headings and body text run together on one line. Columns and tables come out as a run of words in the order the PDF stores them, which is usually, but not always, reading order.

The .txt file is saved as UTF-8, so accented letters and non-Latin scripts come through as long as the PDF stores them as real text.

Continue your workflow: PDF to PNG — Save pages as images instead of text., Extract PDF Pages — Keep only the pages you want text from. or Redact PDF — Remove text so it can't be extracted.

What is a text file?

A text file (.txt) holds only characters: no fonts, colors, images, columns or page breaks. That is why it is small, opens anywhere and pastes cleanly into any app.

Notepad on Windows, TextEdit on Mac, every code editor and the Files apps on iPhone and Android all open .txt files. Converting PDF to text keeps the words and throws away everything else.

What the extracted text looks like: our test

We ran two sample PDFs through the live tool on November 19, 2026. A 5-page text report came out complete and in page order, with each page as one long line: headings, a byline and body text run together, separated by spaces.

A 3-page photo report returned only its 3 short captions, 27 words in total. The photos themselves contain no text layer, so there was nothing else to read. That is what a scanned PDF looks like to any text extractor.

Why does my PDF give no text or garbled text?

No text almost always means the PDF is a scan or a photo: the pages are images, and there is no text layer to read. Check by trying to select a word in your PDF reader. If you can't select it, you need OCR, covered below.

Garbled text, such as random symbols in place of letters, happens when a PDF's fonts don't record which character each shape stands for. Every extractor, including copy and paste in Preview or Acrobat, gets the same nonsense from that file, so OCR is the fix there too.

An error message usually means the PDF is password-protected. Open it in your PDF reader, save an unlocked copy, and extract from that. DoceasePDF does not remove passwords.

How to convert a scanned PDF to text with OCR

OCR (optical character recognition) reads letters from the pixels of a scan. This tool does not do OCR, but there are free ways to do it.

Google Drive is the easiest: upload the PDF, right-click it and choose Open with > Google Docs. Google's own help page says the file must be 2 MB or smaller and that bold, italics and line breaks are likely kept, while tables, columns and footnotes are not. On a Mac or iPhone, Live Text can copy text straight out of a photo or a scanned page open in Preview or Photos.

Google Drive uploads the file to Google's servers. Live Text runs on your own Mac or iPhone, so it is the private option for a few pages.

Other ways to convert PDF to text on Mac, Windows and the command line

If you can select the text in a PDF, you can usually copy it out of the reader you already have. Use this converter when you want the whole document at once as a file, or on a device with no PDF reader you trust.

pdftotext, part of the free Poppler utilities, is the option that keeps layout: pdftotext -layout input.pdf output.txt keeps columns and table cells aligned with spaces.

MethodCostKeeps layout?Reads scans?
DoceasePDF (this page)Free, no uploadNo, one block per pageNo
Preview on Mac: Cmd+A, then Cmd+CFree, built inPartly, keeps line breaksNo (Live Text can copy from images)
Microsoft Edge on Windows: Ctrl+A, then Ctrl+CFree, built inPartlyNo
pdftotext -layout (Poppler)Free, command lineYes, with spacingNo
Google Drive: Open with Google DocsFree, uploads the fileSome formattingYes, files up to 2 MB

DoceasePDF vs. upload-based PDF tools

The main difference is where your PDF goes: DoceasePDF opens it in your browser tab, while most online PDF sites upload it to their servers first. That changes privacy, waiting time and how limits work.

DoceasePDFUpload-based tools
Where your file is processedOn your device, in your browserUploaded to their servers
Account requiredNo — open a file and startOften required after 1–2 uses
PriceFree: 3 editor downloads a dayCredits, trials or subscriptions
Waiting for uploadsNone — files open instantlyUpload + queue + download again
Tools per sessionEvery tool on one documentOne tool, then re-upload

Why people switch to DoceasePDF

Private by design

Editing runs in your browser with pdf.js and pdf-lib. Your file is never uploaded, so nobody, including us, can see it.

Genuinely free

No sign-up and no watermarks. The editor allows 3 free downloads a day; a $2.99 day pass or Pro removes the cap.

Works everywhere

Any modern browser on Windows, Mac, Linux, iPhone or Android. Nothing to download or install.

One editor, every tool

Edit, sign, organize and compress in a single session — no re-uploading between tools like on other sites.

PDF to Text: frequently asked questions

Last reviewed

How do I convert a PDF to text for free?

Choose the PDF above, click Extract text, then copy the result or click Download .txt. It runs in your browser, so the PDF is not uploaded.

Does PDF to text work with scanned PDFs?

Only if the scanner app already added a text layer. A plain scan is a picture of a page, and this tool does not do OCR; use Google Drive's Open with Google Docs for files up to 2 MB, or Live Text on a Mac or iPhone.

Why is all the text from each page on one line?

The converter joins each page's text with spaces and separates pages with a blank line. Line breaks, columns and tables are not kept; pdftotext -layout is the free option that keeps them.

Why is the extracted text garbled?

The PDF's fonts don't map their shapes to real letters, so any extractor reads nonsense. Running OCR on the file is the reliable fix.

Is my PDF uploaded when I extract text?

No. Text extraction happens in your browser with pdf.js and the document stays on your device.

Can white-out or black boxes hide text from extraction?

Often not. In our November 12, 2026 test, the free white-out or white rectangle in Smallpdf, iLovePDF, Sejda, PDF24 and DoceasePDF's free Cover mode all left the covered line extractable. Use a tool that deletes the text, such as iLovePDF's Redact or the paid permanent removal in Redact PDF.

Need someone else to sign this? Send a PDF for signature free