PDF5 min

How to Add, Extract, or Remove File Attachments Inside a PDF

PDFs can carry embedded files — spreadsheets, images, source docs. Here's how to add, list, extract, or strip them locally.

Attachment editing runs locally via Zro7 PDF Attachments. Neither the container PDF nor its attachments leave your browser.

To manage embedded files inside a PDF, use Zro7 PDF Attachments. It reads the PDF's EmbeddedFiles name tree, lists everything attached, and lets you add, extract, or delete entries — then writes a fresh PDF. All in your browser, so confidential attachments (contracts, invoices, source files) never touch a server.

What "attachments" actually are

A PDF is a container. Beyond the visible pages it can hold arbitrary file streams — an Excel workbook next to its printed report, the original .docx next to a signed export, a ZIP of source assets. Acrobat exposes them under the paperclip icon; most viewers ignore them entirely, which is exactly why people miss them when sharing.

Add an attachment

  1. Open PDF Attachments and drop the PDF.
  2. Click Add file and pick the document you want to embed.
  3. Optionally set a description and MIME type.
  4. Download the new PDF — the attachment travels with it.

Extract or remove existing attachments

  1. Drop the PDF; the tool lists every embedded file with size and description.
  2. Click Download next to any row to save that attachment as its original file.
  3. Click Remove to strip it from the PDF; save the cleaned copy.

Privacy angle

Attachments are a common accidental leak — an exported "final report" PDF still carries the working spreadsheet with formulas, comments, and hidden sheets. Before sharing, open the PDF in Inspect PDF or PDF Attachments and confirm the embedded file list is what you expect.

Frequently asked questions

Do all PDF viewers show attachments?

No. Adobe Acrobat and Foxit do; browser viewers and macOS Preview often hide them. That's why they leak — the sender assumes they're gone.

Is there a size limit for attachments?

The PDF spec has no hard limit; practical limits come from your browser's memory. Zro7 handles multi-hundred-MB attachments in modern desktops.

Are attachments encrypted with the PDF password?

If the PDF is encrypted, attachment streams are encrypted with the same key. Removing the password decrypts them too.

Can I attach an entire ZIP?

Yes — any bytes are valid, including archives, images, other PDFs, or source files.

Does anything leave my browser?

No. The PDF and every attachment are parsed, edited, and written locally by WebAssembly.

Related posts

← Back to blog