How PDF text extraction works
A PDF does not store paragraphs — it stores single words or letters with their position on the page. To get usable text, the extractor has to rebuild lines, the reading order and paragraphs, and decide where spaces belong. ToolCMB does this with pdf.js (the PDF engine of Firefox) directly in your browser.
Choose Paragraphs for text you want to edit, translate or analyse, Line by line to keep the original line breaks, and Keep layout for invoices, tables and forms where the position of text matters.
Scanned PDFs contain pictures of text, not text. If no text is found, use OCR: PDF to Word (OCR) recognises the words on scanned pages — also in your browser.
Which output format should I use?
| Format | Best for | Notes |
|---|---|---|
| TXT | Editors, word counts, translation | UTF-8, Windows or Unix line endings |
| Markdown | Docs, wikis, AI tools | Pages as headings |
| JSON | Developers, data pipelines | Text per page with page numbers |
Tips
- Only need a few pages? Enter a page range such as 2-5, 9.
- Protected PDFs ask for their password — it is only used in your browser.
- Need the text of a Word file? Use DOCX to TXT.