XFA 3.3 engine written in Rust. Flatten dynamic forms, extract data, execute FormCalc expressions.
The engine is written in Rust.
Compile to a WASM bundle that runs PDF processing entirely in the browser. The published @pdfluent/sdk-wasm@1.0.0 .wasm is 15.3 MB unpacked, 3.8 MB Brotli, 5.5 MB gzip [B07, 2026-09-16]. No server uploads: files stay on the user's device.
PDF/A archiving, PDF/UA accessibility, and XRechnung/ZUGFeRD e-invoicing support out of the box.
Create and verify PAdES signatures with LTV support, timestamping, and full certificate chain validation.
In pdfluent 1.1.0, OCR is reachable from Python only. It is off by default; turn it on to run through a system tesseract binary on PATH (or PDFLUENT_TESSERACT), or pass your own function with ocr_function=. From plain Rust, the pdfluent 1.1.0 crate does not reach tesseract.
The core is Rust: no JVM, no C++ runtime, no system libraries. Native dependencies are opt-in: ONNX Runtime for the balanced extraction tier, a system tesseract binary for OCR. Deploy to containers, serverless functions, or air-gapped servers.
In safe Rust the ownership model rules out buffer overflows and use-after-free. The checks run at compile time, not through a garbage collector.
The parser, interpreter and heavy decoders are Rust. Optional parts are native: the balanced extraction tier loads ONNX Runtime at run time, and OCR calls a system tesseract binary.
The core is Rust, with no JNI and no dynamic linking to system libraries. The optional native parts, ONNX Runtime and tesseract, load only when you turn them on. The WASM build runs inside the browser sandbox.
Safe Rust rules out buffer overflows and use-after-free. The Chromium project reports around 70% of its serious security bugs are memory-safety problems [C21, 2026-10-15].
Dynamically-linked native PDF libraries load shared objects (.so/.dll) into the host process; a vulnerability in the library compromises the process. PDFluent's Rust core links statically. Native dependencies are opt-in: the balanced extraction tier loads ONNX Runtime, and OCR calls a system tesseract binary.
The engine is Rust, with no minified JS. Auditors can read the source of the core; the optional native parts, ONNX Runtime and tesseract, are open-source projects with their own source.
Free and complete under the AGPL. No watermark, no key, no credit card.