Document Scanner

Extract text from PDF documents instantly. All processing in your browser — files never leave your device.

Drag & drop a file here, or

PDF Processed locally in your browser

Runs in your browser

PDF.js Engine

Mozilla's open-source PDF renderer for accurate text extraction.

Multi-Page

Navigate individual pages or view all text at once.

100% Private

Documents never leave your device. Safe for sensitive files.

Advertisement

How it works

How document OCR works

The scanner uses Tesseract.js to recognize and extract text from scanned PDFs and document images. Optical character recognition converts pixel patterns into machine-readable text, handling printed typefaces across multiple languages. All processing runs locally in your browser — no document data is sent to any server, which is important for sensitive or confidential materials. The output is copyable plain text that you can paste into any editor or document.

Best practices for accuracy

Use clear, high-resolution scans — 300 DPI or higher produces the best results. Straighten skewed documents before uploading, as rotation significantly reduces recognition accuracy. Good contrast between text and background is essential — faded documents or colored paper can lower quality. For handwritten text, accuracy varies considerably; printed text works significantly better. Cropping to the text area and removing borders or margins helps the engine focus on content. Multi-column layouts are processed column by column, so single-column documents produce the cleanest output. If possible, save scans as lossless PNG rather than JPEG for sharper text edges.

Common use cases

Digitize paper contracts, invoices, and forms into searchable text. Extract content from scanned archival documents for research or record-keeping. Convert printed meeting notes or whiteboards into editable text. Small businesses use it to process incoming paperwork without investing in dedicated scanning software. Students scan textbook pages for searchable study notes. For receipt-specific scanning with itemized extraction, use the dedicated Receipt Scanner.

Document Scanner vs Text Scanner

Both tools use OCR, but they're optimized for different inputs. The Document Scanner is designed for structured documents — contracts, letters, forms, multi-page PDFs — where preserving layout and paragraph structure matters. The Text Scanner is better for extracting text from photos, signs, screenshots, and other non-document images. Use the one that matches your source material for the best results.

Paper documents still dominate many workflows — legal offices, medical records, government agencies, and small businesses deal with printed materials daily. Converting these into digital text makes them searchable, shareable, and easier to archive. Unlike cloud-based OCR services that process documents on remote servers, Scanly's scanner keeps everything in your browser, making it suitable for confidential contracts, personal records, and sensitive business documents. For more on text extraction techniques, read our PDF text extraction guide and the OCR guide for images. If your documents contain barcodes, the Barcode Scanner covers that workflow. Whether you are going paperless at home or digitizing an office archive, browser-based OCR removes the friction of installing desktop software. Read our document scanning guide for tips, examples, and best practices.

Frequently Asked Questions

What types of PDF files are supported?

Our document scanner works with any text-based PDF — including contracts, research papers, e-books, invoices, reports, and forms. Password-protected or encrypted PDFs are not supported. Scanned image PDFs require OCR instead.

Is my PDF uploaded to a server?

No. All processing happens entirely in your browser using PDF.js (Mozilla's open-source PDF engine). Your documents never leave your device. This makes it safe for confidential documents like contracts, financial records, or medical files.

Why is no text extracted from my PDF?

If the PDF is a scanned image (photographed or scanned paper document), there's no embedded text layer to extract. In that case, use our <a href="/text-scanner" class="underline">Text Scanner (OCR)</a> tool to recognize text from images. You can screenshot each page and run OCR on it.

Is there a PDF file size limit?

Since processing happens in your browser, the limit depends on your device's memory. Most devices handle PDFs up to 50-100MB without issues. Very large files (500+ pages) may take longer but will still work.

Can I extract text from specific pages only?

Yes. After scanning, use the page dropdown to view individual pages. You can copy or download text from a specific page or all pages at once.

Does it preserve formatting?

The tool extracts raw text in reading order (top to bottom, left to right). It preserves line breaks and paragraph structure, but complex layouts like multi-column text or tables may not render perfectly. The text is always fully copyable and searchable.

Can I use this on mobile?

Yes, the document scanner works on any modern mobile browser. You can open PDF files directly from your phone's file system or cloud storage. Processing may be slower on older devices.