添付ファイルを追加
ほかのファイルを PDF の中に入れて持ち運びます。
このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。
このツールでできること
A PDF can carry other files inside it, the way an email carries attachments. This adds them: the first PDF you drop is the carrier, and every other file you add is embedded into it. The pages are untouched - an attachment is stored beside the document's content, listed in the reader's attachments panel, and extracted with a double-click.
Reach for it when the document and its evidence should not be separated: the spreadsheet behind a report's figures, the raw measurements behind a chart, the signed original behind a scan, a set of photographs behind an inspection sheet. It is also a way to get one file past a system that accepts a PDF and nothing else.
仕組み
- Drop the carrier PDF onto this page first, then add the files to embed - up to 20 in one pass.
- Give any attachment a description if its file name does not explain it. Readers show that line next to the file.
- Decide whether to keep the attachments already in the document or clear them first.
- Press Attach.
- Open the result and check the attachments panel before you send it - the pane is called Attachments in Acrobat and Preview, and it is where the recipient will look.
Attached files are stored whole and compressed, so a 4 MB spreadsheet makes the PDF roughly 4 MB larger - less if it compresses well, never smaller. That is the honest trade for having one file instead of two, and it is worth checking against whatever mailbox limit the document has to pass. Compress PDF shrinks the pages; it will not shrink what you have embedded.
Each embedded file is written with its uncompressed size and modification date, so Acrobat's panel shows real numbers rather than "0 bytes, unknown date", and with both an old-style and a Unicode name so an accent or a non-Latin character in a file name survives. Each one is also registered as an associated file, which is what makes a PDF 2.0 or PDF/A-3 reader treat it as belonging to the document rather than as loose baggage.
The list of embedded files is rewritten in sorted order every time rather than appended to. The format requires that order, and readers that search the list rather than walking it return nothing at all from an unsorted one - which is how an attachment ends up in the file and invisible in the reader. A name that clashes with an existing attachment becomes "report (2).pdf" rather than replacing it silently.
This is also, plainly, how a PDF becomes a delivery mechanism for something unpleasant. The same feature is what Sanitise PDF exists to strip out, and a recipient's mail gateway may well remove an attachment or quarantine the whole document. If the attached file is essential, say so on the page as well, so the reader knows to look for it.
Every file you add is read from disk in your browser and written into the PDF locally. Nothing is uploaded - not the carrier, and not the possibly rather more sensitive spreadsheet you are attaching to it.
このツールにできないこと
- Reader support varies. Acrobat and Preview show attachments in a side panel, some readers hide them behind a menu, and a few browser viewers ignore them entirely - so a document whose attachment is essential should say so on the page.
- The attached bytes are added to the PDF, so the result is about the size of the original plus the size of everything you attach. Attachments are also frequently stripped by mail gateways and document management systems.
よくある質問
- どんなファイルを添付できますか?
- どれでもです。表計算、画像、CSV、ZIP、Word 文書、別の PDF まで、埋め込むファイルの中身に形式上の制限はありません。1 回で 20 件まで追加でき、端末のメモリに問題が出そうなほど大きいファイルがあれば、拒否するのではなく警告します。
- 送った相手に添付ファイルは見えますか?
- Acrobat とプレビューでは見えます。横に添付ファイル、あるいはクリップのパネルがあります。メニューの奥に入れているビューアーもあり、ブラウザ内のビューアーには埋め込みファイルを完全に無視して、ページだけを表示するものもあります。そのため、重要な添付なら、パネルに気づいてもらうことに頼らず、文書の中でも触れておいてください。
- PDF はどれくらい大きくなりますか?
- だいたい添付したものの分だけです。バイト列は取り込むときに圧縮されるので、テキスト中心の CSV は大きく縮み、JPEG や ZIP はまったく縮みません。ページ側は何も変わらないため、あとで「PDFを圧縮」を実行しても、文書は小さくなりますが添付ファイルは小さくなりません。
- 送られてきたファイルから添付を取り除くにはどうしますか?
- 「PDFをサニタイズ」が、ページ以外に PDF が抱えられるもの — JavaScript、起動アクション、埋め込みメディア — と一緒に、埋め込みファイルも取り除きます。添付を別のものに入れ替えたいだけなら、ここにファイルを置いて、すでに埋め込まれているものを差し替えるオプションをオンにしてください。
- 添付するファイルはアップロードされますか?
- いいえ。入れ物になる PDF も、添付するファイルもすべてローカルで読み取られ、ブラウザ内の Web Worker で結合されます。実務上そこがいちばん効いてくるツールの 1 つです。添付するファイルは、その PDF がまとめている元データそのものであることが多いからです。