Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

PDF to text, scanned pages too.

Open a PDF and get all its text in one place, page by page, to copy or save as a .txt file: as lines, as paragraphs with the lines joined, or with columns and spacing kept. Pages that are scans or photos are read with OCR (optical character recognition) in your browser, in 16 languages. No sign-up, and the file never leaves your computer.

Need a custom tool, app or website? Contact us 

The PDF is changed in your browser. It is never uploaded.

How it works

Three steps, nothing to install.

01 / Open

Choose the PDF

Text pages are read at once; scans go through OCR.

02 / Check

Read it here

All the text in one box, page by page.

03 / Save

Copy or download

Copy it, or save a .txt file to open anywhere.

Guide

How to convert PDF to text, scans included.

PDF to text takes the words out of a PDF and gives them to you as plain text, with no fonts, pictures or layout, ready to copy or save as a .txt file. Many PDFs store their words as real text, which is read straight away. Pages that are scans or photos hold only pictures, so this tool reads those with OCR, which recognises the letters in the picture, in the language you pick.

How to get the text out of a PDF

  1. Drop your PDF on the box, or click it to choose the file. Reading starts at once, page by page.
  2. When it is done, all the text appears in one box, with a count of pages, words and characters above the Download .txt button.
  3. Under Write it as, pick Lines as in the PDF, Paragraphs, lines joined, or Layout kept. The text changes at once, with no reading again.
  4. To get only some pages, type them in Pages, such as 2-5.
  5. If some pages are scans, check Language of scanned pages, then press Read again with this language.
  6. Untick Mark where each page starts if you do not want the page lines in the text.
  7. Fix anything you like right in the box, then press Download .txt or Copy all. Your edits are in the file.

Text pages and scanned pages

The tool decides for each page. A page with real text in it is read directly, which is fast and exact: you get the same characters that are in the file. A page with no text at all, or with fewer than 20 characters not counting spaces and a picture on it, is treated as a scan. If Read scanned pages with OCR is ticked, that page is drawn as a sharp picture and read by the OCR engine. The summary tells you how many pages went through OCR.

Kind of pageHow it is readWhat to check
Saved from Word, a browser or an appDirectly from the fileReading order on pages with columns or tables
Scanned paperOCRNames, numbers and any small print
Photo of a pageOCRLines near the edges, and anything in shadow
Text turned into shapes in a design appOCR, if the page has no other textFancy fonts and words over pictures

The OCR engine and the language load the first time you need them, which takes a moment. After that, more scanned pages read faster. If you untick OCR, scanned pages come out empty or nearly so, which is useful when you only want the real text of a mixed file.

Lines, paragraphs or layout

A PDF does not store paragraphs. It stores small pieces of text, each with a place on the page. The tool puts pieces on the same line together, reads them left to right, and leaves an empty line where the gap between lines is clearly bigger than usual. Then you choose how to write it:

Write it asWhat you getBest for
Lines as in the PDFEach line of the page on its own lineQuoting, checking against the page
Paragraphs, lines joinedLines of a paragraph joined, and words split by a hyphen at a line end put back togetherPasting into an email, a document or a translator
Layout keptSpaces where the gaps are, so columns and tables line up in a fixed-width fontTables, forms, two-column pages

On a page with two columns, the first two ways run each line across both columns. Layout kept shows the columns side by side instead, which is easier to read and to copy from.

If you need paragraphs, headings and columns rebuilt properly, use PDF to Word instead. If you need the rows and columns of a table, PDF to Excel is built for that.

Tips for better OCR

  • Pick the language of the document before reading. The wrong language mixes up letters with accents and other alphabets.
  • Clear, straight scans of printed text read best. Handwriting and very small print read poorly.
  • For a phone photo of a page, straighten and clean it first with the document scanner, then read that PDF here.
  • Always read through numbers, dates and amounts. OCR can mistake 0 for O or 1 for l.

What you can do with the text

Plain text opens anywhere, from Notes and TextEdit to any code editor, and it pastes cleanly into an email, a chat or a form without bringing odd fonts along. It is the easiest way to quote a passage, search a long file for a phrase, or reuse the words of an old scan. Paste it into the word counter to see how long the document is, or keep the page markers so you can find where each passage came from.

Questions

Good to know.

Is my PDF uploaded?

No. Text is read and OCR runs in this browser tab.

Why does some text come out in the wrong order?

A PDF stores text as placed pieces, not paragraphs. Columns and tables can come out line by line across the page. Choose Layout kept to see them side by side. For a document you want to keep editing, PDF to Word rebuilds paragraphs and columns.

How good is the OCR?

Clear, straight scans at normal print sizes read well. Handwriting, very small print and photos taken at an angle read poorly; straighten photos first with the document scanner.

Which languages does OCR read?

English, Spanish, French, German, Italian, Portuguese, Dutch, Turkish, Russian, Arabic, Hindi, Bengali, Indonesian, simplified Chinese, Japanese and Korean.

Why is the text box empty for some pages?

Those pages are probably scans, and OCR is turned off. Tick Read scanned pages with OCR and the pages are read again.

Can I copy text from a PDF that will not let me select it?

If the page is a scan, its words are a picture, so a PDF reader cannot select them. This tool reads that picture with OCR and gives you the text.

What encoding is the .txt file?

UTF-8, which keeps accents and other alphabets and opens correctly in current text editors on Mac, Windows and phones.

Does it keep bold, links or pictures?

No. Plain text has only the characters. For formatting, convert the PDF to Word instead.

How do I get rid of the line breaks in the middle of sentences?

Choose Paragraphs, lines joined under Write it as. Lines of each paragraph are joined with a space, and words split with a hyphen at a line end are put back together.

Can I get the text of only some pages?

Yes. Type them in the Pages box, such as 3 or 2-5, 9. The box and the .txt file then hold only those pages.

Does it work with password protected PDFs?

Yes. Type the password when you open the PDF, and the text is read in this tab.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch