提取附件

从 PDF 中提取所有嵌入的文件为 ZIP。

点击选择文件 或将文件拖放到此处

支持多个 PDF 文件

您的文件从未离开您的设备。

使用方法

1

Upload File

点击或拖放您的文件到此处

2

Process

点击处理按钮开始

3

Download

立即保存处理后的文件

相关 PDF 工具

Merge PDF

Free online merge PDF tool

Compress PDF

Free online compress PDF tool

Split PDF

Free online split PDF tool

Edit PDF

Free online edit PDF tool

Rotate PDF

Free online rotate PDF tool

常见问题

What counts as an attachment in a PDF?

Files embedded inside the PDF, either at the document level (the paperclip panel in Acrobat) or attached to a specific page as a file attachment annotation. Images drawn on the page, fonts, and form data are not attachments; for pictures use Extract Images.

Why does it say the PDF has no attachments?

It means cpdf found no embedded files at either the document or page level. Pictures on the page, hyperlinks to external files, and form field data can look like attachments in a viewer but aren't stored as embedded files, so there is nothing to extract.

How are the extracted files named?

Each file keeps the name it was embedded with. Attachments tied to a specific page get the PDF's name and page number added as a prefix, and if two attachments share a name the second gets a _1 suffix so nothing is overwritten inside the ZIP.

Can I extract attachments from several PDFs at once?

Upload as many PDFs as you like and click Extract Attachments once. Everything found across all of them is placed in one extracted-attachments.zip, and the status message reports the total count and combined size.

What file types can be extracted?

Anything that was embedded: spreadsheets, XML data files, images, ZIP archives, other PDFs, and so on. The tool copies the bytes out exactly as they were stored and doesn't convert or open them.

Can I extract attachments from a password-protected PDF?

Encrypted PDFs prompt for their password when loaded, and extraction then runs on the decrypted copy held in memory. Without the correct password the embedded files can't be read.

Can I view or delete individual attachments instead of extracting all of them?

This tool extracts everything in one pass. To inspect, remove, or replace individual attachments inside the PDF use Edit Attachments, and to embed new ones use Add Attachments.

Are the embedded files uploaded during extraction?

No. The PDFs are parsed by a WebAssembly build of cpdf in a background worker in your browser, the ZIP is assembled locally, and the download comes straight from your device. Attachments often contain source data, so this keeps them off any server.