PDF integrity check
PDF Integrity Check With SHA-256 for Archived Page Renders
SitePDF gives every render a SHA-256 hash, so you can prove that the PDF or archived page you hold today is the same bytes the API produced. A PDF integrity check takes one hash command and one comparison.
- PDF and archive in one call
- Plans from $49 a month
- Your HTML stays yours
Short answer
SitePDF returns a SHA-256 hash for each PDF it renders and for each archived snapshot. Compare it with the hash of your stored file: if the two match, the file has not changed by a single byte. Starter API is $49 a month for 10,000 renders ($288 billed yearly), and hashes come on every plan.
A hash shows that a file is unchanged. It does not show who made it or that the page said what you remember, so keep the hash with your own record on the day you capture.
Written and fact checked by the SitePDF team.
What carries a hash and where you read it
These are the fields and headers the API returns today. A hash is only useful if you store it somewhere other than next to the file it protects.
| Item | What is hashed | Where you read the hash | Kept for |
|---|---|---|---|
| Rendered PDF | The PDF file bytes | sha256 in the render response and the X-Sitepdf-Sha256 header on download |
Your plan archive window |
| Archived snapshot | The captured page content | sha256 in the archive record, plus captured_at and the source URL |
90 days Starter API, 365 days Growth, 3 years Scale |
| Archive download | The same snapshot bytes served back | X-Sitepdf-Sha256 and X-Sitepdf-Captured-At headers |
Same window as the snapshot |
Plans and prices are from our own pricing page. The hash algorithm is SHA-256, defined in NIST FIPS 180-4.
Who needs a PDF integrity check
Teams that hand PDFs to someone else. A statement sent to a customer, a page captured for a dispute, a quote saved for a procurement file: later someone asks whether the copy was edited. A stored hash answers that in seconds.
Teams that keep dated page captures. The same applies to the archive copies described on website archiving software. The snapshot carries its capture time, its source URL and its hash in one record.
A worked example
Say a compliance analyst captures a competitor pricing page on 3 March with archive=true. The response holds the snapshot id, captured_at and a 64 character sha256. She writes the id and the hash into the case ticket.
In July someone asks whether the file in the shared drive is the original. She downloads the snapshot, runs sha256sum on it and compares the result with the ticket. A match means the bytes are identical. A mismatch means the file was changed or re-saved, and the API copy is the one to trust while it is still inside the retention window.
What the hash does not prove
It does not prove the website really showed that content on that day to other visitors, and it does not make a file admissible anywhere. Courts and regulators set their own rules, which is why law firm workflows keep a record of how and when each capture was made.
It also does not survive a re-save. Opening a PDF in an editor and saving it again changes the bytes, so the hash changes even if every word is the same.
Where it fits in a capture workflow
Render the page, store the id and hash in your case, ticket or document system, and download the PDF into your own storage if you must keep it past the plan window. Archive access is by API key, and a snapshot can be deleted on request with one call, which then removes the file.
Invoices follow the same pattern, see the invoice PDF archive. For a single page the webpage to PDF route is the shortest path. For the retention side of regulated records see the 17a-4 article.
Who it is for and who it is not for
It is for developers and ops teams that already call an API and want a hash and a capture time on every document or page copy, from a few hundred to a few hundred thousand a month.
It is not for anyone who needs digital signatures, a trusted timestamp authority or a certified chain of custody. SitePDF does not sign documents.
curl -X POST https://api.sitepdf.com/v1/render \
-H "Authorization: Bearer $SITEPDF_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/pricing", "archive": true}'
# later, on the file you stored
sha256sum stored-copy.pdf
This is the documented API call shape. Full request and response walkthrough.
Questions about this job
How do I check the integrity of a PDF?
Does SitePDF give a hash for each PDF?
Is a SHA-256 hash proof that a PDF was not tampered with?
Why does my hash change after I open and save the PDF?
How much does it cost?
Index
More PDF and archiving tools
- Convert HTML to PDF
- Webpage to PDF
- URL to PDF API
- Website archiving
- Monitor website changes
- Screenshot API
- React to PDF
- Java PDF library
- C# PDF library
- Python PDF generation
- HTML to PDF Node.js
- Laravel HTML to PDF
- Vue to PDF
- Next.js PDF generator
- Angular to PDF
- Markdown to PDF API
- Django HTML to PDF
- Blazor HTML to PDF
- Spring Boot HTML to PDF
- Airtable to PDF
- Svelte to PDF
- Rotativa alternative
- Zapier and Make HTML to PDF
- Golang HTML to PDF
- Rails HTML to PDF
- PDF generator API
- Website archiving software
- Document generation API
- Legal document automation software
- Document automation software
- Bulk HTML to PDF
- Accessible PDF generation
- ADA compliance audit cost
- 508 compliance testing
- PDF remediation
- VPAT and ACR
- PDF accessibility checker
- Wayback Machine alternative
- Best HTML to PDF API
- DocRaptor alternative
- Puppeteer alternative
- Wkhtmltopdf alternative
- PDFShift pricing and alternative
- Urlbox pricing and alternative
- PDFCrowd alternative
- Api2Pdf alternative
- Browserless alternative
- APITemplate alternative
- CraftMyPDF alternative
- PDFMonkey alternative
- dompdf alternative
- WeasyPrint alternative
- jsPDF alternative
- mPDF alternative
- Website archiving pricing comparison
- HTML to PDF API for ecommerce
- HTML to PDF API for SaaS
- HTML to PDF API for accounting software
- PHP convert HTML to PDF
- PrinceXML alternative
- PDFreactor alternative
- Invoice PDF archive
- PDF page numbers, headers and footers
- PDF of pages behind a login
- Website archiving for law firms
- React PDF renderer alternative
- Gotenberg alternative
- GrabzIt alternative
- Adobe PDF Services API
- PDF SDK pricing
- HTML to image API pricing
- Adobe Document Generation API pricing
- jsreport pricing
- PDFBolt pricing
- PDFEndpoint pricing
- Formstack Documents pricing
- Documint pricing
- iLovePDF API pricing
- Browserless pricing
- PandaDoc API pricing
- CloudConvert API pricing
- Encodian pricing
- IronPDF pricing
- Salesforce document generation pricing
- Winnovative pricing
- SelectPdf, HiQPdf and EvoPdf pricing
- CloudConvert alternative
- Direct mail API pricing
- E-signature API pricing
- Sparticuz Chromium Lambda cost
- Browserbase pricing
- Aspose PDF pricing
- PDF API pricing
- How it works
- Features
- Pricing
Get started
Render and archive with one API call
A pixel perfect PDF and a dated copy of the page from the same request. Plans from $49 a month, half price billed yearly.