AnyFormat

00 PDF → TXT

PDF to TXT

Reassembles paragraphs instead of dumping one line per row.

Drop files or a folder here

or choose from your device · paste with ⌘V / Ctrl+V

.pdf

03Options 4

A range like 1-3, a list like 1,4,9, an open end like 10-, or “all”.

Reflow reads as prose. Raw preserves the visual line structure, which suits tables, code and forms.

Used to decrypt the file in this tab. It is never transmitted — which is the whole reason not to type a document password into an upload-based converter.

  • No upload The conversion runs in this tab. Your file never travels — not to us, and not to the advertising.
  • No sign-up, no email, no daily cap There is no account system to sign up to.
  • No size limit we invented Only your device's memory — about ~2 GB on a desktop browser, ~400 MB on a phone.
  • Turn your Wi-Fi off and convert anyway The conversion needs nothing but this page. Ads will not load without a connection; your file will still convert. That is the whole claim, and it takes five seconds to check.

Pulls the text out of a PDF. The hard part is not finding the characters — it is working out what order they go in and where the paragraphs are, because a PDF records neither.

A PDF does not contain paragraphs

This is the thing that makes text extraction harder than it sounds. A PDF stores instructions of the form "draw these glyphs at this coordinate". There are no sentences, no paragraphs, often no spaces — a space is frequently just the next fragment being drawn a little further right.

So extraction is reconstruction. Fragments are grouped into lines by their vertical position, sorted left to right, and joined with spaces inserted where the horizontal gap implies one. Lines are then grouped into paragraphs using the signals a typesetter actually leaves: a larger vertical gap, a short line followed by an indent, a line ending in a full stop.

The result reads as prose for a normal document. It reads less well for multi-column layouts, where the reading order genuinely is ambiguous from geometry alone, and for tables, where the visual structure is the meaning.

Choose raw layout for anything tabular

Reflowing destroys a table: the cells become a run of words. Switch to keep the page's line breaks and each visual line comes out as its own line, which preserves the row structure even though the columns are only aligned by spaces.

The same applies to source code listings, forms, poetry and anything where the line breaks carry meaning.

Scanned PDFs and what they really are

There are two entirely different things called a PDF.

A born-digital PDF was made by software — exported from Word, generated by a report tool, printed to PDF. It contains real text with real font information, and it converts cleanly in every direction.

A scanned PDF is a photograph of a piece of paper wrapped in a PDF container. There is no text in it at all — only an image — regardless of how clearly you can read it on screen.

The difference decides what is possible. Rasterising works identically on both. Extracting text works only on the first, and a scan yields nothing at all — which is reported plainly rather than handing back an empty file.

When there is no text at all

If the PDF is a scan, extraction returns nothing — and you are told that explicitly rather than being handed an empty file and left to wonder.

Reading a scan requires OCR: recognising characters in an image. That is a genuinely different job and needs a language model of ten to fifteen megabytes per language, which is not something to download on the chance a visitor needs it. The practical route is to render the pages with the PDF to JPG tool and run those images through an OCR tool.

A mixed document — mostly digital with a few scanned pages inserted — extracts the digital pages and reports how many were empty.

What is lost

Everything that is not the words: fonts, sizes, bold and italic, colours, images, tables as tables, headers and footers as distinct from body text, and footnotes as distinct from the paragraph above them. Hyphenation at line ends is not undone, so a word split across two lines stays split.

Plain text is the format that keeps the words and nothing else. That is usually the point.

Other names for this

Also searched as “extract text from pdf”, “pdf to text”, “copy text from pdf”.

Questions

I got nothing back.
The PDF is a scan — pictures of pages, with no text in them at all. Only OCR can read those; render the pages to images first and run them through an OCR tool.
My table came out as a jumble.
Switch the layout to “Keep the page’s line breaks”. Reflowing is right for prose and destroys tabular structure.
The columns are interleaved.
Multi-column layouts are genuinely ambiguous from geometry alone — nothing in the file says which column is read first. Extract page by page and expect to tidy the result.
Words are split with hyphens.
Those hyphens are in the source, inserted by the typesetter at line breaks. Undoing them reliably needs a dictionary, and guessing would join words that were genuinely hyphenated.
Is my password safe to type here?
It is used to decrypt the file inside this tab and is never sent anywhere. That is precisely the argument for this page: uploading a password-protected document and its password to a third-party server is asking them to hold both halves of the lock. Turn your Wi-Fi off before typing it if you want to be certain.
Is my PDF uploaded?
No. The rendering happens in this tab using pdf.js — the same engine Firefox uses to display PDFs. Contracts, medical letters, bank statements and legal filings are the documents this conversion is usually for, and none of them leaves your machine.
Can I convert several PDFs at once?
Yes. Drop as many as you like, or a whole folder. Each produces its own set of images, named after the original.