Skip to content

PDF to Text

Convert PDF to Text in your browser. The text is put in the order it reads, columns and all, and shown beside the pages before you save anything, so you can copy it or download it as a TXT file. Join the lines into paragraphs, keep them as printed, or keep the layout of a table. Scanned pages are read with OCR on your device. The file is never uploaded.

Input
One PDF, or up to 20
Output
A TXT file (a ZIP of them for several), or copied text
Runs
In your browser. The file never leaves your device.
Cost
Free. No sign-up, no watermark.

How to convert PDF to text

  1. Choose the PDF

    Drop a PDF onto the page, or click to choose one. You can add up to 20 at once. They stay on your device.

  2. Check the text

    The box above the pages holds the text as it will be saved. Under Text, choose Paragraphs to join the lines of each paragraph, Lines to keep every line as printed, Layout to keep tables and forms in place, or Markdown to keep headings, lists and tables as Markdown. Set Headers and footers to Leave out to drop running titles and page numbers.

  3. Pick pages, read scans

    Click the pages you want, or pick none to convert them all. Open a page to read it beside its own text. If a page has no text because it is a scan, click Read scanned pages and its text is recognised on your device.

  4. Copy or download

    Click Copy text to take the text straight to the clipboard, or Convert to text to download a TXT file. Several PDFs come back as a text file each, in a ZIP. More options sets what goes between pages and the language of scanned pages.

A PDF to text converter that shows the text before you save

Read it first, then copy or save

The text appears as soon as the file is opened, in a box you can scroll, with its count of words and characters. Copy text puts it on the clipboard; the TXT file is there when you want one. Open any page and it stands beside its own text.

In the order it reads

A PDF stores text in the order it was drawn, which is why copied text so often comes out scrambled. Here two columns are read down the left and then down the right, a title above them comes first, and a footer stays at the foot.

Paragraphs, not broken lines

Paragraphs joins the lines of each paragraph into one and mends a word that was hyphenated at a line end, so the text pastes cleanly into a document, an email or a prompt. Lists, headings and the rows of a table stay on their own lines.

Lines or layout when you need them

Lines keeps every line as it is printed. Layout keeps text where it stands on the page, spaced with spaces, so the columns of a table, an invoice or a statement line up in a fixed-width font.

Markdown when you want structure

Markdown writes headings, lists, tables, bold text and links as Markdown and saves an MD file, with a preview of how it reads. It is the same converter as PDF to Markdown, here beside the plain-text choices.

Text from scanned PDFs

A page that is only a picture says so, and Read scanned pages recognises its text with OCR in your browser, in any of 38 languages. The words then go through the same reading order and paragraphs as any others.

Headers and footers left out

Running titles, footers and page numbers that repeat from page to page can be left out, so they do not land in the middle of a sentence that runs over a page. A line that only looks like one, such as an invoice number at the top of each invoice, is kept.

Only the pages you want

Click pages on the grid, or type numbers and ranges. Each page shows how many words it gives, so an empty or scanned page is easy to spot.

Several PDFs at once

Add up to 20 files. Their pages share one grid, each marked with its file's letter, and every PDF becomes a text file of its own in one ZIP.

Your choice between pages

Put a blank line between pages, a line with the page number, a page-break character for programs that look for one, or nothing at all, in which case a sentence that runs over a page is joined up.

Never uploaded, free

The PDF is read by your own browser, so even confidential documents never reach a server. There is no account, no watermark and no daily limit, and the result is plain UTF-8 text that opens anywhere.

Frequently asked questions

How do I convert a PDF to text?

Open the PDF here. Its text is shown at once, in the order it reads. Click Copy text to paste it somewhere, or Convert to text to download it as a TXT file. It is free and online, and the PDF is converted in your browser without being uploaded.

How do I copy text from a PDF?

Open the PDF and click Copy text under the box that shows it: the whole text, or only the pages you picked, goes to the clipboard. To copy one page, open it and click Copy this page. Choose Paragraphs first if you do not want a line break at the end of every printed line.

How do I extract text from a scanned PDF?

A scanned PDF is a picture of each page, so there is no text in it to copy. Open it here and click Read scanned pages: the text is recognised with OCR on your device and added to the result. Recognition can misread a name or a figure, so check those against the page. To make the PDF itself searchable, use OCR PDF.

What is the difference between Paragraphs, Lines and Layout?

Paragraphs joins the lines of a paragraph into one, for text you will reuse. Lines keeps a line break wherever the page has one, in reading order. Layout keeps each piece of text at its place across the page by padding with spaces, which keeps the columns of a table side by side.

Can I get Markdown instead of plain text?

Yes. Choose Markdown under Text: headings, lists, tables, bold and links are written as Markdown, Preview shows how it reads, and the download is an MD file. PDF to Markdown is the same converter on a page of its own.

Does the text keep the original layout?

Plain text has no fonts, sizes or pictures, but Layout keeps where the text stands, so tables and forms stay readable in a fixed-width font. For a table as a spreadsheet use PDF to Excel, and for a document with its formatting use PDF to Word.

Why does text copied from a PDF come out in the wrong order?

A PDF records where each piece of text is drawn, not the order to read it in, and many programs copy it in drawing order. This tool works the order out from the page: columns are read one after the other, a table is read row by row, and a header or footer stays at its end of the page.

Can I open the text in Notepad?

Yes. The download is a plain TXT file in UTF-8, which Notepad, TextEdit and every other editor open, with accents and other scripts intact. You can also copy the text and paste it straight into Notepad. To make a PDF of a text file again, use TXT to PDF.

Can I leave out page numbers, headers and footers?

Yes. Set Headers and footers to Leave out. Lines that repeat in the top or bottom margin from page to page are dropped, page numbers included. The box shows the text without them before you save, so you can see nothing else went with them.

Can I convert only some pages of a PDF to text?

Yes. Click those pages on the grid, or type their numbers under Pages to convert, such as 1, 3-5. The button then reads Convert 3 pages, and the box shows the text of those pages only.

Can I convert several PDFs to text at once?

Yes. Add up to 20 PDFs. Each becomes a text file named after it, and they download together in one ZIP. Click a file's name above the pages to see its text.

How are the pages separated in the text file?

By a blank line. Under More options you can choose a line with the page number, such as --- Page 3 ---, a page-break character (form feed), or nothing, which lets the text run on from page to page.

Is the text editable?

Yes. A TXT file can be edited in any editor or pasted into any program. To keep the fonts and formatting while you edit, convert with PDF to Word; to change the text in the PDF itself, use Edit PDF.

Why is some of the text missing or garbled?

Text that is part of a picture is not text until it is recognised: use Read scanned pages. A few PDFs store their letters without saying which characters they are, and their text comes out as wrong symbols in every program; running such a file through OCR PDF with every page chosen reads the letters from the page itself.

Is my PDF uploaded?

No. The text is read, and scanned pages are recognised, by your own browser on your device. Nothing is sent to a server, so it works for confidential documents and keeps working if the connection drops after the page has loaded.

What if the PDF is password-protected?

A PDF that needs a password to open cannot be read. Open it with Unlock PDF first, using its password, then convert the unlocked copy.

Can I compare the text of two PDFs?

Yes. Compare PDF compares two files word by word and highlights on the pages what was added, removed or moved.

Is my file uploaded anywhere?

No. PDF to Text runs entirely in your browser: the file is opened and processed on your own device and is never sent to our server. More in the privacy policy.

Is PDF to Text free to use?

Yes. PDF to Text is free, with no account to create and no software to install — open the page in a modern browser and start.

Choose what IwillPDF may use. You can come back and change this at any time from “Cookie settings” at the bottom of every page.

Details in the privacy policy.