Document processing flow
How pdfcore executes PDF operations locally
pdfcore is a C++20 engine with a stable C API built over a patched PDFium fork (BSD-3-Clause) and qpdf (Apache-2.0). On the web it compiles to WebAssembly and runs in browser memory; on Android and iOS it compiles to native arm64 libraries.
- Tiled rendering, text search, form field writing, Vietnamese and CJK glyph shaping, redaction, and AES-256 encryption all run inside the client process.
- PDF-to-Word extraction also executes locally in pdfcore rather than calling the conversion server.
- On the web, 39 tools accept files up to 100 MB per document (up to 50 files and 100 MB combined for Merge PDF and image-to-PDF), bounded only by tab memory.
- In the Android app, all 16 released tools work offline; only the optional Vietnamese OCR pack and extra CJK form fonts download on first use.
Incremental save versus full rewrite for digital signatures
Editing a cryptographically signed PDF changes its byte hash, so how a tool writes changes determines whether existing signatures stay verifiable. Robindocs uses incremental append saves in native apps and full rewrites in standalone web tools.
| Mode | Where used | How bytes are written | Signature behavior |
|---|---|---|---|
| Incremental append save | Android & iOS viewer/editor | Appends changed objects and cross-reference updates after the original EOF | Existing signatures remain verifiable; validators report post-sign edits |
| Full PDF rewrite | Web editor Download, merge, split, compress, redact | Serializes a clean, linearized or recompressed PDF stream | Prior signatures are invalidated because byte ranges and object trees change |
Browser storage lifecycle and client state
Browser tools avoid remote staging by keeping selected files in local browser storage only during handoff between a landing tool page and the web workspace. Once the workspace opens the document into memory, the temporary handoff record is deleted immediately.
- Theme selection, UI language choice, and EEA/UK/Switzerland analytics consent state persist locally in browser storage.
- Crash recovery copies on Android stay in private app storage and are excluded from cloud device backups.
- For full consumer-facing policy language, review the published Robindocs data privacy notice.
RAM-only Go and Gotenberg Office conversion pipeline
Five Office-to-PDF tools (Word, Excel, PowerPoint, ODT, and RTF to PDF) send documents over HTTPS to an isolated Go conversion service in Vietnam because shipping a full LibreOffice runtime in browser WebAssembly is impractical for mobile bandwidth.
- Attestation before upload: web clients pass a Cloudflare Turnstile check; Android uses Firebase App Check with Google Play Integrity; iOS uses Apple App Attest or DeviceCheck. Valid checks issue a 15-minute session token.
- Upload validation in memory: the Go API checks content signatures, strips the original filename except for the extension (for example .docx), and rejects macro-enabled files, password-protected Office files, and legacy .doc, .xls, or .ppt binaries.
- Isolated conversion: each upload passes in RAM to a fresh LibreOffice process inside a Gotenberg container configured with zero outbound internet access so embedded links cannot trigger network calls.
- Immediate disposal: both input bytes and the output PDF are purged from memory as soon as the HTTP request finishes, whether conversion succeeds or fails.
Server tier limits and operational telemetry
| Anonymous web / app tier | 25 MB upload, 300 pages, 60 s timeout, 20 conversions/hour per IP & session (30/day per app install) |
|---|---|
| Signed-in XLAB account or rewarded ticket (Android) | Up to 100 MB upload, 1,000 pages, 120 s timeout |
| Privacy-safe log fields | Random request ID, tool name, outcome, client type (web/Android/iOS), extension, size bucket, page count, queue wait, duration |
| Never logged or stored | File names, document text, passwords, session tokens, and raw IP addresses |
Operational details and incident reporting contacts are also summarized in the public Robindocs security specification.