Skip to content
documentflare
Tutorials

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.

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.

Brother PT-H110 — portable label makerBrother PT-H110 — portable label makerDurable laminated labels: filing that lasts.affiliate

The Factur-X case

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.

The right hardware

Brother PT-H110 — portable label makerBrother PT-H110 — portable label makerDurable laminated labels: filing that lasts.affiliate

Best practices

  • Name embedded files clearly — recipients will see them in the attachments panel.
  • Check compatibility: not all readers display the panel the same way; basic webmail sometimes hides them.
  • Don’t confuse: embedding a file doesn’t make it visible in the pages — for readable content, merge the documents instead.