How to Embed Files (Attachments) in a PDF

2026-07-26 · pdfup Team

A PDF can carry more than just its own pages — it can also hold entire separate files inside it, called embedded attachments. Instead of emailing a report and three supporting spreadsheets separately, you can package everything into a single PDF. This guide shows how to embed files in a PDF locally, in your browser, with no upload.

If you're trying to do the opposite — pull attachments back out of a PDF — read how to find and extract embedded files from a PDF. To remove files you no longer want inside, see how to remove embedded files from a PDF.

Why embed files in a PDF

  • One file to send: Recipients get a single attachment instead of a report plus several supporting documents.
  • Keeps context together: A report and its underlying data (spreadsheet, source images, raw exports) travel as one package rather than getting separated across email threads.
  • Preserves the original format: An embedded spreadsheet stays a real, editable spreadsheet inside the PDF — it isn't flattened into an image or a static table.
  • Archival convenience: For records that need to be kept together (a signed contract plus its exhibits, or a report plus its raw dataset), embedding avoids the risk of files being separated later.
  • Privacy: A local tool never uploads your PDF or the files you're attaching.

What can be embedded in a PDF

Most file types can be attached, though what recipients can open from within the PDF depends on their software and what's installed on their device:

File typeCommon use
Spreadsheets (.xlsx, .csv)Underlying data behind a chart or report
Other PDFsSupporting documents, appendices, or exhibits
ImagesSource photos or scans referenced in the main document
Word documentsAn editable version of content also shown as a rendered PDF
Zip archivesBundling several supporting files as one attachment

Common scenarios

  • Financial and business reports: Embedding the raw spreadsheet behind a chart so a reader can verify or dig into the numbers without a separate email.
  • Legal contracts with exhibits: Attaching exhibits, appendices, or referenced documents inside the signed contract PDF itself.
  • Academic and research papers: Embedding a dataset, supplementary figures, or source code alongside the main paper.
  • Design and creative deliverables: Attaching the original source file (a layered image, a font list, a color palette) alongside a rendered preview PDF.
  • Compliance and audit records: Keeping a policy document and its supporting evidence bundled as one file for recordkeeping.

How to embed a file in a PDF in your browser

  1. Open a client-side tool such as pdfup's Add Attachments.
  2. Load your PDF (it stays on your device).
  3. Add the file or files you want to embed — spreadsheets, images, other PDFs, or documents.
  4. Choose a description or label for each attachment, if the tool supports it.
  5. Apply and download the PDF with the files embedded inside.

Once embedded, attachments can be reviewed or managed with Edit Attachments, or pulled back out later with Extract Attachments.

How recipients open embedded attachments

Embedded files typically appear in a PDF viewer's attachments panel (sometimes labeled "Attachments" or shown with a paperclip icon), separate from the main page content. Not every PDF viewer displays this panel prominently — recipients using a simple viewer or a browser's built-in PDF preview may not notice attachments are there unless they know to look for them.

Tip: mention in the document text itself that supporting files are attached (e.g., "See the attached spreadsheet for full data"), since not every reader will think to check the attachments panel.

Common mistakes

  • Assuming every viewer shows attachments the same way: Some lightweight or mobile PDF viewers hide or don't support the attachments panel at all — if the attached file is essential, consider mentioning it's there in the visible text too.
  • Embedding very large files: A PDF with several embedded high-resolution files or large spreadsheets can grow substantially in size — check the result before emailing.
  • Forgetting to check what's already embedded: If you're working from a PDF that passed through several hands, it may already contain attachments from earlier edits — review with view metadata or the attachments panel before adding more.
  • Embedding sensitive files without checking recipient needs: Only attach what the recipient actually needs — embedding raw sensitive data "just in case" adds unnecessary exposure.

FAQ

Is embedding a file the same as merging PDFs? No — merging combines pages from multiple PDFs into one page sequence. Embedding keeps the attached file as a separate object inside the PDF, openable on its own, not blended into the page layout.

Can I embed a file into a PDF that's password-protected? You'll generally need to unlock it first — see how to remove a PDF password — since a locked file can't be modified until it's opened.

Will embedding a spreadsheet let someone edit it directly inside the PDF? No — the embedded file is a separate, self-contained attachment. A recipient needs to extract or open it with its native application (like a spreadsheet program) to edit it; the PDF itself doesn't provide in-place editing of the attached file.

Does embedding files increase the PDF's file size a lot? Yes, roughly by the size of the files you attach — a PDF with several embedded spreadsheets or images will be noticeably larger than the base document alone.

Can I remove an attachment after it's been embedded? Yes — use Edit Attachments to view and remove specific embedded files without affecting the rest of the document.

How do I know if a PDF I received has embedded attachments? Check your PDF viewer's attachments panel, or use a tool like view metadata or extract attachments to check for and pull out any embedded files.

Can I embed multiple files at once? Yes — most tools let you add several files in one pass rather than repeating the process for each attachment.

Is this the same as adding an image to a page? No — placing an image directly on a page makes it part of the visible content. Embedding treats the file as a separate attachment that stays intact in its original format, not rendered onto the page.

Related guides

Need to package files together? Add attachments to your PDF in the browser — no upload required.

Try it yourself

All pdfup tools run in your browser — your files never leave your device.

Open the PDF tools →