本文へスキップ

PDFを確認

ドキュメントの構造・セキュリティ・プライバシー・読みやすさのレポートです。

お使いの端末で処理

このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。

このツールでできること

This reads a document and reports on it rather than changing it. Four passes answer four different questions: is the file structurally sound, is it locked, what does it give away about whoever made it, and can a screen reader read it. Every finding that has a fix names the tool that applies it, so the report is something you can act on instead of a list of things to worry about.

Before sending a document you did not create, or one you did: to see what metadata is riding along, whether there are attachments you had forgotten, whether it is a scan that nobody's screen reader can read, or why another program refuses to open it.

仕組み

  1. Drop the PDF onto this page. Nothing is written back to it - inspection is read-only.
  2. Leave all four checks on for a full report, or switch off the ones you do not need.
  3. Press Inspect. Three engines are used: qpdf for encryption and structure, pdf-lib for metadata, attachments and links, PDF.js for the text layer.
  4. Read the report. Each finding is marked ok, information, warning or danger, and the ones that can be fixed carry a link to the tool that fixes them.
  5. Keep the report as a web page, or switch the format to JSON under advanced options if a machine is going to read it.

The structural pass runs qpdf's own check, which walks the cross-reference table and the object streams and reports whatever does not add up. A warning here is usually why some other program refuses to open the file, and Repair PDF is usually the answer. A clean check is a stronger statement than it opened on my machine.

The security pass separates the two kinds of protection people confuse. A document may be encrypted so that it cannot be opened without a password, or encrypted with an empty password so that it opens for everyone and merely declares restrictions. The report says which it is, how many bits the handler uses, and lists the permission lines exactly as qpdf reports them. It does not verify signatures - that is Verify signature's job.

The privacy pass is the one that surprises people. A PDF routinely records who created it, which program produced it, and sometimes the full path of the file on that person's disk; it can carry attachments nobody remembers adding, and links to hosts you might not want to be seen visiting. The report names the identifying fields, lists the attachments, and shows only the hosts of external links.

The accessibility pass is the one almost nobody else runs. It checks whether the document has a text layer at all - five pages sampled evenly across the whole document, because a cover sheet is often the only page with real text in an otherwise scanned file - and whether the document has a title and an outline. Without a text layer the file is a picture of a document.

このツールにできないこと

  • The text-layer check samples five pages spread across the document, so a file with real text on only a page or two can be reported either way.
  • The signature line reports whether form fields exist; it verifies nothing. Use Verify signature for an actual answer.
  • The accessibility pass looks for a text layer, a title and an outline. It is not a PDF/UA conformance test - tags, reading order and alternative text are not examined.
  • A document that needs a password to open can only be reported on from the outside; its metadata, attachments and text layer cannot be read until it has been through Unlock PDF.

よくある質問

レポートには何が書かれますか?
ページ数・PDFのバージョン・ファイルサイズ、構造がqpdfの検査を通るかどうか、暗号化されているかとその権限、身元につながるメタデータ・添付ファイル・外部リンクの有無、そしてテキストのレイヤー・タイトル・しおりがあるかどうかです。各項目には評価が付き、対処法があるものは、それを行うツールへ直接リンクします。
PDFにはどんな個人情報が入りますか?
たいていの人が思うより多くのものが入ります。作成者の名前、作成に使ったプログラム、ときには作成した端末上のフルパスまでが、ごく普通の文書プロパティとして保存され、メールで送り回されても残り続けます。ファイルは、誰も見ていない添付ファイルやリンクを抱えていることもあります。
PDFがアクセシブルかどうかは、どう見分けますか?
最初の問いはテキストのレイヤーがあるかどうかで、このレポートはドキュメント全体から5ページを抜き出して調べ、それに答えます。テキストのレイヤーがなければ、それは文書の写真です。どのスクリーンリーダーも読めず、検索しても何も見つかりません。これは「PDFをOCR」で直せます。レポートは、タイトルがないことと、20ページを超えるドキュメントでしおりがないことも指摘します。
問題が見つかりました。次はどうすればいいですか?
リンクをたどってください。構造の警告は「PDFを修復」へ、テキストのレイヤーがない場合は「PDFをOCR」へ、身元につながるメタデータは「メタデータを削除」へ、添付ファイルは「PDFをサニタイズ」へ、タイトルがない場合は「メタデータを編集」へ進みます。何を調べればいいか自分で考えさせる指摘には、あまり意味がありません。
確認のためにファイルはアップロードされますか?
いいえ。この確認は、ブラウザーの中のWeb WorkerでWebAssemblyとJavaScriptとして動く3つのエンジンによるもので、レポートもそこで生成されます。ファイルに何かが書き戻されることもありません。ページを一度読み込んだあとは、通信を切った状態でも動作します。

関連ツール