UtilityNest

PDF to Text

Get the text out of any PDF, with line breaks kept. Scanned pages without a text layer can be read with OCR.

What you get

Meeting notes PDF
a one-page meeting notes PDF and the text extracted from it (Meeting notes PDF)
Plain text (.txt)
a one-page meeting notes PDF and the text extracted from it (Plain text (.txt) 1)

Every heading, name, date and action item came out as 24 lines of plain text (480 bytes), with a page marker at the top. The round bullet dots are drawn shapes, so they are not in the text.

How to use PDF to Text

  1. 1Add your PDF. Text is extracted automatically.
  2. 2Turn page markers on or off, or join lines into paragraphs for easier pasting.
  3. 3If some pages are scans, choose the document language and click OCR.
  4. 4Copy the text or download it as a .txt file.

Readable output

Text is rebuilt from the position of each word on the page, so lines and paragraph gaps come out the way they look instead of as one long line. Join lines into paragraphs removes the hard line breaks inside paragraphs and repairs words hyphenated at line ends, which is handy for pasting into an email or a document.

OCR for scanned PDFs

If a page has no text layer, or is a scan with only a few words on top (such as a page number stamped by the scanner), the tool tells you how many pages are affected and offers OCR for all of them. Pages are rendered at up to 300 DPI and read by the Tesseract engine running in your browser. The engine and language data (a few megabytes) are downloaded the first time you use OCR; your PDF itself is never uploaded. OCR accuracy depends on scan quality, and handwriting is not supported.

Limits

Multi-column layouts and tables are extracted line by line, so columns may need light cleanup. Password-protected files can be opened with their password.

Which pages get OCR

OCR is offered for pages with no text at all, and for scans that carry only a few words of real text, such as a page number or date stamp added by scanning software: a page with fewer than 100 characters drawn over an image covering at least 30% of the page is treated as a scan. In our test PDF with two typed pages and three scans, two of them with a short label on top, OCR used to be offered for only 1 page; it now covers all 3. One kind of page still slips past:

These are pages whose text comes out as gibberish. Some PDFs use fonts without a proper character map, so copying gives symbols instead of words, even though the page looks normal.

For those, use PDF to Word, which has an option to run OCR on every page, then copy the text out of the Word file. OCR pages are rendered at up to 300 DPI here, which is the resolution Tesseract reads best.

Getting clean text into a translator or an AI tool

Turn on Join lines into paragraphs before you copy. Translation tools treat each hard line break as the end of a sentence, so text copied straight from a PDF often comes back translated in fragments. Joining also repairs words split with a hyphen at the end of a line. Turn Page markers off if you paste into a tool with a length limit, so the markers do not use up space, and on if you need to cite page numbers later.

Getting OCR right

Pick the document's language before starting, because recognizing a Korean or Japanese page with the English model produces mostly junk. Fix orientation first as well: sideways pages read poorly, so rotate them with Rotate PDF.

Afterwards, check numbers. OCR confuses similar shapes such as 0 and O or 1 and l, which matters for amounts, account numbers and dates. Expect handwriting, stamps and very small print to be skipped or misread.

Which OCR language should I pick for a mixed document? Pick the language most of the body text is in. Recognition is tuned to one language at a time, so a short English phrase in a Korean document may need a manual check afterwards.

Text file or Word document?

Use this tool when you want the words: to paste into an email, a translator, a spreadsheet or a notes app. You get every line in reading order, quickly, with a word and character count. Use PDF to Word when you want to keep editing the document with its headings, lists, tables and images. A quick test of which you need: if you will retype or restyle most of it anyway, plain text is faster; if the layout is half the value, convert to Word.

Frequently asked questions

Why is no text found in my PDF?

The PDF is probably a scan or photos of pages. Use the OCR button that appears to read the text from the images.

Which OCR languages are supported?

English, Spanish, French, German, Portuguese, Italian, Dutch, Polish, Turkish, Russian, Japanese, Simplified Chinese and Korean.

Is my PDF uploaded for OCR?

No. OCR runs in your browser. Only the OCR engine and language files are downloaded the first time.

Does it keep formatting?

Line breaks and paragraph gaps are kept. Fonts, bold text and table borders are not, since the output is plain text.

Why does the copied text come out as strange symbols?

The PDF's fonts do not map their shapes to real characters. Extraction cannot fix that; OCR can, because it reads the page image. Use PDF to Word with OCR on every page.

Can I extract text from only a few pages?

The whole document is extracted, with page markers showing where each page starts. To work with a few pages, extract them first with Extract PDF Pages.

Why is OCR slow on my phone?

Each page is rendered at up to 300 DPI and analyzed on your device. Long scans take a while on phones; a laptop is several times faster, and you can stop OCR and keep the pages already done.

Does it keep tables?

Table cells come out line by line with spaces between them, not as a table. Paste into a spreadsheet and use text-to-columns, or use PDF to Word, which rebuilds ruled tables as real tables.

Related guides