Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some PDF documents and I'd like to check them for possibile data corruption, even if I'm able to display them without problems. I don't really know if PDF documents store an embedded checksum string for this kind of purposes. My operating system of choice is GNU/Linux. Thanks.

share|improve this question
If they display OK why do you suspect they're corrupt? – Hugh Allen Apr 11 '10 at 11:06
I don't think they are corrupted. I just have to archive them and preserve them from future corruption. So I should choose between computing a MD5/SHA1/SHA2 checksum myself or relying on an embedded checksum. – Francesco Turco Apr 11 '10 at 18:10
Just use a free tool which gives you a checksum and provide it with the pdf (in a zip package for example). – Shiki May 15 '10 at 18:11

Browsing through PDF Reference sixth edition (2006), it appears that PDF files do not have an overall checksum, though embedded files within the PDF (similar to attachments in an email message) may optionally have an MD5 hash.

You should therefore archive your PDFs in a container which supports error detection / correction. For example, a zip file, or optical media (CD-R etc).

share|improve this answer
File compression(zip,rar) is also known to use CRC same as used on optical medias. – Algific Apr 12 '10 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .