⚡
usefultools.dev
TXT

PDF to Text Converter

NEW

Extract the text from a PDF page by page, then copy it or download it as a TXT file.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Join lines
run- at line end, ning next
running
Row
Cells Name, Qty, Price on a row
Name Qty Price
Separator
Page 3 of a PDF
--- Page 3 ---
Sort
LAST drawn first, FIRST second
FIRST line, then LAST line
📖

Overview

PDF to Text Converter extracts the text of a PDF page by page so you can copy it, search it or save it as a UTF-8 TXT file. It is handy for quoting a report, feeding text to another tool or checking what a PDF really contains.

The tool reads the text layer with pdf.js, groups the pieces into lines by their position, adds spaces where words are apart and detects paragraph breaks from larger line gaps. You can keep the original line breaks or join lines into paragraphs, add “--- Page N ---” separators, pick a page range and sort by position when a file stores its text out of order.

Everything happens in your browser, so the PDF is never uploaded. Scanned PDFs have no text layer; the tool tells you when that is the case, because it does not include OCR.

Why use this tool?

  • Text, word count and character count in one view
  • Page ranges and optional page separators
  • Clear message for scanned PDFs without text
  • Copy or download as a UTF-8 TXT file
  • Files never leave your browser
⭐

Features

📄

Page-by-page extraction

Reads every page or just the range you type, with progress and cancel.

🧭

Reading order

Keep the stored order or sort lines top to bottom and left to right.

↩️

Line break control

Keep PDF line breaks or join lines into paragraphs and merge hyphenated words.

🔢

Word and character count

See how much text was found and on how many pages.

📋

Copy and download

Copy to the clipboard or save a UTF-8 .txt file named after the PDF.

🔒

Private

Reading happens locally and nothing is uploaded.

🛠️

How to Use

1

Open the PDF

Drop the file on the box or click it. Enter the password if it is protected.

2

Pick pages and order

Leave the range empty for all pages, or type 1-3, 5 and press Extract.

3

Adjust the layout

Toggle “Keep line breaks”, page separators and the reading order; the text updates at once.

4

Copy or download

Use “Copy text” or “Download .txt”.

🤔

Frequently Asked Questions