How DocVault Processes Documents Safely & Accurately
A transparent technical overview of our local browser PDF architecture, permanent raster redaction pipeline, financial schema validation, and legal redline diff methodology.
1. Zero-Upload Browser-Local PDF Engine
Every offline PDF tool (Merge, Split, PDF to PNG, Images to PDF, and Redact) runs exclusively inside your browser sandbox using pdf-lib and a self-hosted pdf.js Web Worker (/pdfjs/pdf.worker.min.mjs). Zero files are transmitted over the network, and you can verify zero upload payloads directly in browser DevTools.
2. Permanent Rasterized Redaction (Not Overlay Masking)
Many online editors draw a black rectangle over text while leaving the underlying PDF text stream selectable and recoverable. DocVault locates PII coordinates (emails, SSNs, account numbers, keywords) or user-drawn boxes, rasterizes every page to a 144 DPI flat canvas with opaque black burns, and rebuilds a fresh PDF containing zero underlying text streams.
3. Financial Statement & Invoice Schema Verification
For Bank Statements and Invoice Batches, PDF text is extracted locally first, sent over TLS to our structured extraction pipeline, and strictly validated against Zod schemas (ISO date normalization, numeric currency parsing, running-balance debit/credit reconciliation, and multi-currency tax grouping). Exports generate native multi-sheet .xlsx workbooks and RFC-4180 UTF-8 BOM .csv files.
4. Word-Level LCS Redline Diff + AI Legal Risk Radar
Contract comparison operates in two layers: (a) a real-time client-side Longest Common Subsequence (LCS) line and word-level diff engine highlighting every deletion and insertion locally for free; and (b) an AI Legal Risk Radar auditing limitation of liability shifts, Net payment compression, IP/AI training rights, auto-renewal windows, and price escalations with actionable counter-redline clauses.
Verification Standards & Human-in-the-Loop Boundary
Core deterministic engines — page-range parsing, RFC-4180 CSV escaping, native XLSX generation, word-level LCS diffing, Zod numeric coercion, and webhook HMAC verification — are verified by automated unit tests. AI-extracted financial rows and contract risk flags are designed as high-speed review accelerators and should always be verified by qualified finance or legal professionals before filing or execution.