# Extract text from a PDF

> Extract text from a PDF in your browser. Uses the file's own text when it has any, and OCR for scanned pages. Copy or save a .txt. Nothing is uploaded.

URL: https://tools.cuelark.com/pdf-to-text
Publisher: Cuelark Team (https://cuelark.com)
Updated: 2026-11-24
Price: free, no sign-up
Privacy: runs in the browser; files are not uploaded

Drop a PDF and get its text as a .txt you can copy or save. If the file already has selectable text, that text is copied exactly. Scanned pages are read with OCR in this tab. Nothing is uploaded.

## How to use it

1. Drop one or more PDFs, or try the 2-page sample.
2. Leave Scanned pages on Auto unless you want to skip OCR or force it on every page. Type a range such as 2, 4-6 if you only need some pages.
3. Copy the text or download a .txt. For photos and screenshots, use Image to text. To keep the pages as a PDF, use Extract PDF pages.

## Details

- **Digital PDFs:** The file's own text layer is copied, so wording, numbers and punctuation stay exact
- **Scanned pages:** A page with almost no selectable text is read with Tesseract OCR in this tab (Auto). You can turn OCR off or use it on every page
- **Page ranges:** Accepts lists and ranges such as 2, 4-6, numbered from 1. Open ends such as 8- mean “from 8 to the last page.”
- **Limits:** Up to 500 pages from the text layer, and up to 30 pages of OCR (the same OCR cap as Image to text). Several files are joined in one result
- **Locked files:** A PDF with a password or edit restrictions has to be saved as a new unlocked copy first, the same as the other PDF tools here
- **Output:** Plain text you can copy or save as a .txt. Tables come out as lines of text; columns may interleave. The original PDF is not changed. Nothing is uploaded

## Questions

### Are my files uploaded?

No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.

### How is this different from Image to text?

Image to text is OCR for photos, screenshots and scans. This page first copies the selectable text already in a PDF, which is exact and faster. It only runs OCR on pages that look like scans. Use Image to text for a picture that is not a PDF.

### How is this different from Extract PDF pages?

Extract PDF pages copies the pages you pick into a new PDF, with layout and images kept. This page pulls the wording out as plain text. Use extract when you still need a PDF; use this when you need to paste or search the words.

### Will a scanned PDF work?

Yes, if Scanned pages is Auto or Always OCR. Each scanned page is rendered in this tab and read with Tesseract. The first run downloads language data once. Handwriting and blurry photos are read poorly; proofread names and numbers.

### Does it keep the layout, tables or formatting?

No. You get plain text in reading order, with line breaks. Tables come out as lines of text, and two-column pages may interleave. The wording from a digital text layer is otherwise exact.

### Can I extract only some pages?

Yes. Type a range such as 2, 4-6 or 8- and press Apply range. Numbering starts at 1.

## Related tools

- [Extract pages from a PDF](https://tools.cuelark.com/extract-pdf-pages)
- [Image to text (OCR)](https://tools.cuelark.com/image-to-text)
- [Text to PDF](https://tools.cuelark.com/text-to-pdf)
- [PDF to JPG](https://tools.cuelark.com/pdf-to-jpg)
- [Word counter](https://tools.cuelark.com/word-counter)
