The Privacy Problem
Most web OCR utilities compromise on privacy by uploading sensitive legal, regulatory, and financial documents to remote cloud servers, creating massive compliance and security liabilities.
On-Site High-Fidelity Bharatiya Document Processing Engine. Scanned PDFs, multi-page TIFFs, and images are processed locally using WebAssembly and client-side hardware multi-threading. Your files never leave your browser.
Most web OCR utilities compromise on privacy by uploading sensitive legal, regulatory, and financial documents to remote cloud servers, creating massive compliance and security liabilities.
All document rasterization, WebAssembly OCR workers, and document assembly execute 100% inside local browser memory sandbox. Once loaded, base OCR functions completely air-gapped and offline.
Input Page N maps directly to Output Word (.docx) Page N, preserving page breaks, orientation (portrait vs landscape), margins, and headings without paragraph bleed.
Core Capabilities
Supports all 22 official Eighth Schedule languages of the Republic of India with automated Unicode script detection across Devanagari, Bengali, Dravidian, Gujarati, Gurmukhi, Odia, Perso-Arabic, Ol Chiki, and Latin.
Layer 1 runs parallel local Tesseract.js WASM workers on your CPU cores. Layer 2 offers optional vision model refinement via Google Gemini Multimodal Vision API with an automatic fallback cascade (gemini-3.6-flash → gemini-2.5-flash → gemini-2.0-flash → gemini-1.5-flash).
Every page is isolated in an OpenXML SectionType.NEXT_PAGE section. Landscape scans automatically receive PageOrientation.LANDSCAPE, while dense pages auto-scale typography (down to 8.5pt) and tighten margins to prevent spillover.
Accepts scanned PDFs (1 to 300+ pages with streaming memory management), Multi-page TIFF (.tif/.tiff), PNG, JPG, JPEG, and WebP. Exports to Microsoft Word (.docx), standalone offline HTML viewer, Markdown (.md), and plain text (.txt).
Language Matrix
| Script Family | Supported Languages | Classification Mode | Target Documents |
|---|---|---|---|
| Devanagari | Hindi, Marathi, Sanskrit, Nepali, Bodo, Dogri, Konkani, Maithili | Automated Unicode block detection | Legal deeds, revenue records, gazettes |
| Bengali & Assamese | Bengali, Assamese, Manipuri (Meitei) | Phonetic ligature mapping | Land registry, municipal records |
| Dravidian Scripts | Tamil, Telugu, Kannada, Malayalam | Sub-word character clustering | Judicial orders, civil certificates |
| Gujarati | Gujarati | Compound conjunct parsing | Commercial contracts, notarized deeds |
| Gurmukhi | Punjabi | Diacritic & tone mark alignment | Agricultural titles, identity papers |
| Odia | Odia | Curved glyph ligature segmentation | Historical records, government gazettes |
| Perso-Arabic | Urdu, Kashmiri, Sindhi | RTL directional stream parser | Waqf documents, historic certificates |
| Ol Chiki | Santali | Tribal Unicode script engine | Cultural & indigenous documentation |
| Latin | English and mixed multilingual records | Multi-lingual interleaved OCR | Corporate filings, hybrid court orders |
Systems Architecture
Processing 300-page scanned PDFs in the browser can easily crash tab memory. Lipi implements streaming page rasterization, recycling high-res page blobs immediately after OCR extraction.
Data Sovereignty
Documents are never uploaded to any remote server or third-party database. All document rasterization and analysis happens exclusively in client memory and is purged on tab close.
The base WASM engine and PDF workers are bundled locally in dist/assets/. Once loaded, base OCR functions completely offline without any active internet connection.
When using Layer 2 AI refinement, your Google Gemini API key is stored strictly in your browser's private localStorage and sent directly to Google's API endpoint over HTTPS.
Lifecycle
01 · Load
Drag in scanned PDFs, multi-page TIFFs, or photos without full-file RAM buffering.
02 · Classify
Unicode classifiers identify regional Indian scripts and configure OCR dictionaries.
03 · Extract
Multi-core WebAssembly workers extract raw text with optional Gemini vision refinement.
04 · Export
Download a clean Word document with exact section breaks, headings, and margins.