Document OCR & Searchable PDF Studio
Analyze text in scanned documents and images entirely inside your browser. Transform static scans into searchable PDFs with aligned invisible text layers, inspect confidence scores, edit corrections, and export verified structured data locally.
- Zero Network: 100% client-side local execution
- Searchable PDF generation with invisible text layers
- Automated PDF.js verification and search roundtrip
- Image preprocessing (deskew, threshold, binarize, sharpen)
- Ambiguity, Date, URL, and PII candidate detection
Drag & drop JPG, PNG, WebP, or PDF here
Supports PDF, JPG, PNG, and WEBP. Multi-page PDFs will be inspected and rendered locally.
About Document OCR & Searchable PDF Studio
Scanned paper documents and document photos cannot be searched, copied, or highlighted out of the box. Traditional online OCR web services pose severe data leakage risks by uploading sensitive corporate contracts, invoices, and medical records to remote cloud servers.
Solasu's Document OCR & Searchable PDF Studio is a 100% client-side optical character recognition and PDF conversion workbench that operates entirely inside your device's browser using WebAssembly and Web Workers.
Going far beyond simple image-to-text conversion, this studio calculates precise typographical bounding boxes to overlay an invisible text layer on top of your original scan, creating true Searchable PDFs that preserve 100% of your visual scan fidelity. It visualizes engine-reported confidence scores, highlights potential recognition uncertainties, provides side-by-side editing, detects dates, URLs, and sensitive PII candidates, and supports irreversible redaction before export.
Zero Network Architecture & Strict Client-Side Privacy
Your images and PDF files are processed exclusively in your browser memory. Zero bytes of document imagery, text snippets, or file metadata are ever transmitted to external servers.
The WebAssembly OCR engine, worker scripts, and trained language models are bundled locally with zero runtime downloads from third-party CDNs (no jsDelivr or unpkg). Zero persistent browser storage (no localStorage, IndexedDB, or cookies) is touched.
Searchable PDF Generation with Exact Visual Preservation
Unlike lossy conversions that discard original document layout, Searchable PDF creation embeds the high-resolution original scan page while placing an invisible, selectable Unicode text layer directly over each word's coordinate rectangle.
When opened in standard PDF viewers (Adobe Acrobat, Apple Preview, Google Chrome), the document retains its authentic visual aesthetic while enabling native text selection, copy-pasting, and Ctrl+F keyboard search.
Automatic PDF Inspection & Selective Page OCR
When multi-page PDFs are imported, the studio automatically detects whether each individual page is a digital Text page, a raster Image scan, or a Mixed hybrid layout.
You can selectively OCR only scanned image pages while preserving pre-existing vector text on digital pages, eliminating redundant re-processing and saving computational time.
Integrated Image Preprocessing Pipeline
To maximize recognition accuracy on degraded scans, the built-in preprocessing studio provides BT.601 grayscale conversion, brightness and contrast adjustments, Otsu threshold binarization, unsharp masking, median denoising, and automatic deskew angle estimation.
A real-time before-and-after comparison preview lets you inspect enhanced scan contrast before dispatching pages to the OCR recognition worker.
Rigorous Verification & Multi-Format Structured Export
Upon Searchable PDF generation, the embedded PDF.js engine instantly re-parses the compiled output in memory, verifying page counts, text layer presence, and keyword discovery before allowing download.
Export your corrected document text across seven standard formats: Searchable PDF, Plain Text (TXT), Markdown (MD), structured JSON with bounding boxes, CSV injection-defended CSV, self-contained single HTML, or comprehensive PDF Audit Reports.
Frequently Asked Questions (FAQ)
What is OCR and how does it work inside the browser?
OCR (Optical Character Recognition) analyzes pixel patterns in images to recognize glyph shapes and translate them into machine-readable digital characters. This tool compiles the open-source Tesseract OCR engine to WebAssembly, running entirely inside a browser Web Worker without external cloud dependencies.
Which input file formats are supported?
The tool supports raster images in JPEG (.jpg, .jpeg), PNG (.png), and WebP (.webp) formats, as well as multi-page PDF documents. All rendering and extraction take place locally in browser memory.
How does the tool process PDF documents for OCR?
Rather than passing raw PDF binaries directly to an OCR engine, the tool utilizes PDF.js to render each PDF page into a high-resolution Canvas bitmap, executes OCR on that rendered page image, and then reconstructs a dual-layer Searchable PDF using pdf-lib.
What is the difference between a scanned PDF and a text PDF?
A digital text PDF contains native font vectors and embedded character encodings created by word processors. A scanned PDF is merely a collection of container pages holding static raster photographs where text cannot be selected or searched until OCR is applied.
What is a Searchable PDF?
A Searchable PDF combines the exact original scan image on the visual layer with an invisible, selectable Unicode text layer situated directly above the corresponding words. Users see the original document while enjoying native search and copy capabilities.
How are the coordinates of the invisible text layer determined?
The OCR engine computes bounding boxes (x0, y0, x1, y1) for every recognized word and line. These pixel coordinates are mathematically mapped to the PDF point coordinate system (72 DPI) with vertical axis inversion so the invisible text aligns precisely over the printed letters.
What is OCR confidence and does the tool guarantee 100% accuracy?
OCR confidence is an engine-reported statistical metric (0 to 100) reflecting how closely a recognized glyph matches trained language dictionaries. No OCR system can guarantee 100% accuracy due to potential blur, skew, or non-standard typefaces; the tool displays raw, objective confidence values without false claims.
How are low-confidence recognition regions handled?
Words with confidence scores below 60 are flagged as 'Possible OCR uncertainty'. They are highlighted on the review canvas so users can inspect and correct ambiguous words rather than blindly trusting the machine output.
Can I review and edit the recognized text before exporting?
Yes. The studio features an interactive review panel where you can edit line text or individual word tokens directly. All manual edits immediately propagate to the generated Searchable PDF and all exported data files.
Why is image preprocessing useful before OCR?
Physical document scans frequently suffer from skew, shadow gradients, low contrast, and scanner noise. Preprocessing operations like automatic deskew, Otsu binarization, and sharpening clean up character edges, significantly reducing misrecognition rates.
What rendering DPI should I choose for PDF pages?
A setting of 150 to 200 DPI offers an optimal balance between recognition accuracy and memory consumption for standard documents. For fine print or complex scripts, 300 DPI can be selected, though it requires more memory.
Is vertical Japanese text supported?
The local OCR model is primarily optimized for horizontal text flows. Vertical text recognition in Japanese or Chinese is limited and may result in split lines or non-standard reading orders.
How accurate is handwriting recognition?
The engine is trained specifically on printed typographic fonts. Cursive or informal handwriting is not specifically optimized and typically yields low confidence; manual transcription review is strongly recommended.
Are complex tables and multi-column layouts reconstructed?
The tool detects multi-column text flows and marks tabular regions as 'Table candidates'. However, it does not promise complete spreadsheet cell reconstruction or flawless layout reproduction for multi-column magazines.
How does numeric ambiguity detection work?
Alphanumeric serial numbers and financial codes often confuse visually identical glyphs like '0 / O', '1 / I / l', '5 / S', and '8 / B'. The engine automatically flags these mixed sequences as potential ambiguities for human verification.
Can I redact sensitive information or personal data?
Yes. Detected or selected text tokens can be replaced with '[REDACTED]'. In addition, applying image redaction permanently burns solid black rectangles into the exported PDF image, ensuring underlying pixels cannot be retrieved.
Are my documents ever uploaded to an external server or stored?
Never. The application enforces a strict zero-network, zero-upload invariant. No files leave your device, and no persistent browser storage (IndexedDB, localStorage, cookies) is utilized.
Does this tool work completely offline?
Yes. All WebAssembly binaries, worker scripts, and trained language models are bundled directly with the application. Once the web application is loaded, it executes flawlessly with network access completely disabled.
Can I choose an OCR recognition language different from the UI language?
Yes. The UI language (e.g., English, Japanese) is completely decoupled from the OCR language. You can freely select between English, Japanese, Simplified Chinese, German, French, Spanish, Arabic, Russian, Hindi, and Portuguese.
How is the generated Searchable PDF verified?
Immediately after building the PDF, the tool uses an isolated instance of pdfjs-dist to reopen the binary, extracting text content and verifying that page counts match and invisible text layers are discoverable.
Can I use this tool on mobile phones and tablets?
Yes. The interface is fully responsive across mobile (375px), tablet (768px), and desktop (1440px) viewports with stacked preview panes. However, for multi-page high-DPI document processing, a desktop browser is recommended.
What are the document size and page limits?
To prevent browser memory exhaustion, processing is performed page-by-page with immediate canvas buffer disposal. The maximum supported file size is 50MB with a limit of 100 pages per document.