Free PDF editing and file tools

Open a PDF to edit, annotate or add a visible signature. Combine several PDF documents, split selected pages, or compress a document for easier sharing.

Extract embedded attachments from a PDF

Some PDFs contain additional files that are not visible on the page. LHTSOFT PDF can list and extract supported embedded attachments from PDF.js into a ZIP containing generic .bin filenames and a manifest recording original names. Extraction is completely local, but unknown attachments may be unsafe. Do not open executable or suspicious documents before independently checking them.

Use this tool in the editor above

Browser-local PDF processing · No required account · No watermark · Public Beta

Why a PDF can contain hidden additional files

A PDF is more than a visible sequence of pages. Depending on how it was prepared, it can contain embedded source files, a spreadsheet used to make a chart, exported data, or a file attached to a report. These embedded files may be unrelated to text that the PDF viewer displays. A normal page screenshot therefore cannot reveal everything stored inside the document.

LHTSOFT PDF uses the browser's PDF.js parser to request supported attachment metadata and then fetch the decoded file bytes. This operation is read-only: it does not change, flatten or remove anything from your open PDF. It never opens an extracted attachment automatically, and the original PDF and Undo history are unchanged.

What you receive in the ZIP archive

Every ZIP member carrying attachment bytes receives a generic name such as attachment-001.bin rather than using the name supplied by the PDF. This helps prevent filename-based path traversal, overwriting unrelated files or accidentally double-clicking an executable. Original PDF-supplied names are included only as informational strings in manifest.json.

  1. Open the PDF in your browser. If the PDF is damaged or password protected, open or unlock it through a supported local workflow first.
  2. Choose Convert PDF and click Export embedded PDF attachments (ZIP). The browser prepares the files locally, then initiates a ZIP download.
  3. Open manifest.json inside the ZIP with a text editor to see the attachment names, descriptions, archive names and byte counts.
  4. Treat the numbered attachment-NNN.bin files as unknown until you have verified their origins. Do not rename and execute untrusted scripts or software simply because they were found inside a PDF.

Limits that protect the editing session

The beta export accepts PDF files no larger than 32 MiB, at most 25 embedded attachments, up to 15 MiB for any one decoded attachment and 40 MiB of combined decoded attachment data. Empty or unsupported attachment values and oversized results are rejected. If there are no attachments, the tool reports that rather than producing an empty archive.

These limits are not a guarantee that every malicious PDF will use little memory. The PDF.js decoder must allocate decoded attachment bytes before the tool can measure their size, so extreme compression or parser-specific inputs can still pressure browser memory. Do not open suspicious PDFs on a device that handles sensitive work.

Security and preservation: what this tool does not do

PDF attachment extraction is not malware scanning or file-type verification, and it does not prove a PDF is clean. It also does not remove attachments from the source file. The exported ZIP is for user-directed inspection and recovery, not an automatically trusted package for sharing.

Your PDF stays local during this workflow. Ordinary requests for website code and advertising resources are separate from document processing; optional cloud operations are only initiated when you choose a cloud provider. Review the archive and the original document independently before transmitting any attachment to someone else.

How to use this tool

  1. Open a local PDF no larger than 32 MB and choose Convert PDF.
  2. Select Export embedded PDF attachments (ZIP). The tool supports up to 25 attachments, 15 MB each and 40 MB of total decoded data.
  3. Review manifest.json in the downloaded ZIP, verify file types separately and handle unknown files cautiously. No antivirus scan or embedded attachment sanitization is performed.

Related PDF tools

PDF editing depends on fonts, encryption and source file structure. Modifying digitally signed PDFs can invalidate signatures. Visible signatures do not provide certificate verification, and deleting comments is not guaranteed secure erasure. Keep the original and inspect downloaded copies in another PDF reader.