Attach files to a PDF — and extract them — without a server
Embed files inside a PDF (Factur-X invoices, supporting documents, sources) or extract them, in the browser — no upload.
Published on 5 min readby Hamza El Hajjaji
This page contains affiliate links: we may earn a commission if you use them, at no extra cost to you. This does not influence our recommendations. As an Amazon Associate, we earn from qualifying purchases.
Table of contents
The PDF as a container
A PDF isn’t just a document image: it’s a container. It can carry complete files inside — visible in the “attachments” panel of compatible readers — without changing its appearance.
European e-invoicing relies on this mechanism: a human-readable PDF embedding a structured XML file readable by accounting software. One file, two audiences. The same principle applies to attaching a receipt, a specification document, or a report’s source data.
Extracting attachments from a received PDF
When receiving a container PDF — a Factur-X invoice, a technical file — the reverse tool unpacks the embedded files for separate processing: import the XML into software, check the receipt, index the source.
No store, no account: a two-click install, double-click to open a PDF, Android share target, and a full offline mode once you have visited the site online once.
Summarizing, translating and searching a PDF with models running inside the browser: what Chrome's built-in AI APIs and Transformers.js change for document privacy.