ToolsEdit PDFArticlesPricingContact
TryPDFKit
PDF tool

Convert PDF to TXT

Pull the text out of a PDF and save it as a plain .txt file. Everything is read in your browser, so the document stays on your device.

  • 3 free uses, 10 with a free account
  • PDF is never uploaded
  • Plain UTF-8 text
  • No watermark

Drop your PDF files here

or click to browse your device

  • PDF
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was PDF to TXT?
Be the first to rate this tool.
1How it works

PDF to TXT in three steps

  1. 01

    Add your PDF

    Start by adding the PDF you want to read the text from: drag it in or browse your device.

  2. 02

    Choose pages and markers

    Type the pages you want, or leave it empty for all. Tick the option to mark where each page starts.

  3. 03

    Download the .txt file

    You get a plain text file that opens in any editor.

2The details

What you get, and what to know

What you get

  • Plain, clean textThe result is a normal text file in UTF-8 that opens in Notepad, TextEdit and every code editor.
  • Reading order restoredWords are joined into lines and paragraphs using their position on the page, with blank lines between paragraphs.
  • Page markersTick Mark where each page starts to add a line like --- Page 3 --- before each page.
  • Only the pages you wantType a range such as 5-12 to skip front matter. A word count is shown for the result.
  • PrivateThe text is read on your device, so confidential PDFs are safe to use.

Good to know

  • Scanned PDFsA scan is a picture with no real text, so there is nothing to extract and no text recognition is available here.
  • Tables and columnsTables, multi-column layouts and footnotes are flattened into lines and may need tidying.
  • Password-protected PDFsPDF to TXT cannot work on a file that is locked with an open password. Remove the lock first with Unlock PDF.
3Use cases

When people use PDF to TXT

Copy text out of a locked layout

Get the words from a brochure or report to reuse in your own document.

Feed text into other tools

Clean text is easy to search, count or paste into a spreadsheet.

Study and quote

Pull passages from a paper to paste into notes.

Read aloud

Plain text works well with text-to-speech and screen readers.

How PDF text extraction works

A PDF stores letters at exact positions on a page and does not know about lines or paragraphs. This tool reads those positions and rebuilds lines in reading order, adding a blank line where the spacing says a new paragraph begins.

That works very well for ordinary documents. Complex layouts need a little cleanup.

Hyphenated words that were split across two lines are not repaired here, and headers or page numbers repeated on every page will appear in the text.

Getting a usable result

A few tips for cleaner text:

  • If the output is empty, the PDF is probably a scan of paper.
  • For headings and lists kept as formatting, try PDF to Markdown.
  • For an editable document, use PDF to Word.
  • Need the text with page markers switched on by default? Extract PDF text does that.
4FAQ

Questions, answered

How do I convert a PDF to a TXT file?+

Add the PDF, choose the pages if you want only some, and download the .txt file.

Where does my file go when I use PDF to TXT?+

Nowhere. Reading text out of a PDF is done by your browser, and no copy of your file is sent to us or anyone else.

Why is my text file empty or an error shown?+

The PDF is probably a scan. It holds pictures of pages, not text, and this tool has no text recognition.

Can I extract text from only some pages?+

Yes. Type the pages, like 2-6, 9, and only those are used.

Will formatting like bold be kept?+

No. A TXT file holds plain text only. Use PDF to Word if you need bold and italic.

Can I use PDF to TXT from my phone?+

Yes. Open the page in your phone's browser, choose the file from storage or your camera roll, and download the result when reading text out of a PDF is done.

+Keep going

Related tools