Skip to the tool
ToolOcean

PDF to Text

Copy text from a PDF, no upload: check the words in a preview, then copy them or save a .txt file. Reading happens on your device, page by page.

Runs in your browser. Nothing is uploaded.

How to copy text from a PDF

  1. Step 1: Open the PDFDrop it on the box at the top of the page, or tap the box to pick a file. Pages are read one after another while a bar shows how far it has got.
  2. Step 2: Choose pages and layoutKeep the whole file or type a range, decide whether each page starts with a marker line, and tidy stray spaces if you like.
  3. Step 3: Copy or downloadCopy puts the text on your clipboard. Download saves it as a UTF-8 .txt file named after the PDF.

Good to know

  • Scanned pages have no text to read
  • Columns can come out of order
  • Tables become lines of words
  • Password-locked files need unlocking first

About this tool

Where the text comes from

Copy text from a PDF, no upload needed: the file is opened by JavaScript inside this tab and its text layer is read one page at a time. Most PDFs made by a word processor, a browser's print dialog or an accounting system store every word as real characters with a position on the page. Those characters are what you get back, rebuilt into lines in the order the file draws them, with a space wherever two runs of letters sit a visible distance apart.

A long document does not lock up the page. A progress bar counts pages as they are read, Cancel stops at once, and each page is released from memory as soon as its words are taken. Once reading finishes, switching between the whole file and a page range, turning page markers on or off, or tidying whitespace rebuilds the result instantly from what was already read, without opening the PDF a second time.

  • Runs in your browser. All processing happens locally in this tab using JavaScript.
  • No uploads. Your files and text are never sent to a server. There is no server to send them to.
  • Works offline. Once the page has loaded you can disconnect and keep working.
  • Unlimited & free. No usage caps, no paywall, no file size tiers.

Choose a PDF

What happens to your data

The same questions a security review would ask, answered plainly.

Read via
The browser File API, on your device
Held in
Your browser tab's memory for as long as it is open
Stored
Nothing from your files. No database, no server-side copy. Analytics cookies only if you accept
Transmitted
Never your input. One anonymous usage count (the tool's name only) goes to Umami when a result is ready
Retained after you close the tab
Nothing
Works offline
Yes, once the page has loaded

What you get

  • Real characters, not a picture

    The words come from the text layer the PDF already carries, so accents, currency signs and non-Latin scripts arrive as typed characters you can paste anywhere.

  • Pick exactly which pages

    Leave it on the whole document or type a list such as 1-3, 5, 8-. A number past the last page is flagged under the box instead of being quietly skipped.

  • Scanned pages named, not hidden

    Pages with no text layer are listed by number above the result. With page markers on, each one also gets a short note in the text so the count never jumps.

  • Stays on this device

    The PDF is read in browser memory and the .txt is written there too. Neither the file nor its text is sent anywhere, which is easy to confirm in the network panel.

  • Your input never leaves the tab

    There is no upload step and no server to receive one. The page loads once, then all work on your PDFs happens in local JavaScript.

  • No caps or paywalls

    No daily limits, no per-file ceilings imposed by a server tier, no watermarks, and no account. The practical limit is your own device's memory.

Two documents, read

A page range from a long report, and a file with scanned pages in it.

Quoting a paragraph from a report

A 40-page annual report exported from a word processor, where only section 3 matters.

Before

Input

annual-report.pdf, 40 pages

After

Output

Pages 12 to 14 as plain text, ready to paste

Settings: Page range 12-14, page markers on

Typing 12-14 narrows the preview to three pages and the character and word counts follow. Each page opens with its own marker line, so a quote can be traced back to the page it came from.

A contract that was partly scanned

A typed agreement with two signature pages that were printed, signed by hand and scanned back in.

Before

Input

agreement.pdf, 9 pages

After

Output

agreement.txt with seven pages of text

Settings: Whole document, page markers on

The notice above the result reads Pages 8, 9 look like scans, no text layer. In the file those two pages carry a short marker instead of words, because their content is an image and there are no characters to read.

When you need the words, not the PDF

Bank and card statements

Get transaction lines into a spreadsheet or a budgeting note without handing a statement to an online converter. Your account details stay on the laptop you opened it on.

Students and researchers

Lift passages from papers and handouts for notes and citations, with page markers showing exactly where each passage sits in the original.

Contracts and proposals

Paste clauses into an email or a review document, or compare two versions of a term in a diff tool once both are plain text.

Writers and editors

Recover your own words from an old PDF export when the original document is gone, then check length straight away with the counts above the preview.

Teams with strict data rules

HR letters, patient forms and legal files often may not go to third-party sites. Reading them here never involves another server.

Good to know

What a text layer can and cannot give you.

Scanned pages have no text to read

A page that is a photo or scan of paper holds an image, not characters. This tool does not turn pictures into text, so those pages are listed by number and left empty.

Columns can come out of order

Text arrives in the order the file draws it. Most single-column documents read naturally, but a newsletter layout or a side panel may be interleaved.

Tables become lines of words

Cell borders are drawings, not structure, so a table turns into rows of values separated by spaces. Columns are not lined up in the .txt file.

Password-locked files need unlocking first

A PDF that asks for a password to open cannot be read until that password is removed, using the password you already know.

PDF to text: common questions

Is my PDF uploaded to extract the text?

No. Your file never leaves your browser. It is opened in this tab, read page by page in memory, and the text you copy or download is produced right there. There is no account and no copy kept anywhere, and your browser's developer tools will list no request that contains the document.

What if the PDF is password-protected?

The text cannot be read until the password is removed. If it came from a bank, start with our guide for password-protected bank statements. For any other file, open PDF Unlock, enter the password you were given, and bring the unlocked copy back here.

Why are some pages empty or listed as scans?

Those pages have no text layer. A scanner or phone camera stores each page as a picture, and a picture has no characters for a browser to read. This tool cannot read text out of images, so instead of guessing it names the pages, for example Page 3 looks like a scan, and leaves them empty. If every page is a scan, it says that plainly.

Can I extract text from a bank statement PDF privately?

Yes. The statement is read on your own device and nothing is transmitted, which matters for account numbers and balances. Most banks send statements with a real text layer, so the transaction lines come through. If yours opens only with a password, unlock it first with the bank statement password guide, then bring the unlocked copy back.

How do I get only some pages, and what are the page markers?

Type a list in the page box: 1-3, 5, 8- means pages one to three, page five, and page eight to the end. Spaces do not matter, and a page past the end is reported under the box. With Mark page breaks on, each page starts with a line such as --- Page 5 ---. Turn it off for one continuous flow with a blank line between pages.

Will a very large PDF freeze my browser?

It should not. Pages are read one at a time with a pause between each, so the tab keeps responding and the progress bar keeps moving. Cancel stops reading straight away. A file with thousands of pages still takes time and memory, and phones take longer than desktops, but nothing is uploaded, so there is no size cap from a server.

Why does text from a two-column layout come out jumbled?

A PDF stores where each run of text is drawn, not which column it belongs to. The text comes out in the order the file draws it, which is usually correct for single-column documents. When two columns sit side by side, a line from the left column is often joined to the line beside it in the right column, and sidebars or footnotes can land mid-paragraph. Selecting a page range for just the part you need makes the result easier to fix by hand.

What does Tidy whitespace change?

It collapses runs of spaces into one, removes spaces left at the ends of lines, and squeezes several blank lines into a single one. The words and line breaks stay as they were. Turn it off if you want spacing exactly as rebuilt from the page positions.

What file do I get when I download?

A plain .txt file in UTF-8 that keeps the PDF's name, so Bank Statement.pdf becomes Bank Statement.txt. It contains exactly what the preview shows, including page markers if they are on.

Does it work without an internet connection?

It does after your first visit. Shortly after this page finishes loading, your browser keeps its own copy of the PDF reader, so flight mode does not stop you extracting text.

Is there a file size limit?

There is no limit imposed by us, because there is no server tier to enforce one. The real constraint is your device's available memory, since the whole file is held in RAM while it is processed. Very large files are slower on phones than on a laptop.

Do I need to create an account?

No. There is no sign-up, no email, and no usage tracking tied to an identity. The tool works the first time you open it.