logo of Screenshot for Web
Free toolsPlaygroundDocsBlogPricing
LoginDashboard

Company

HomeFeaturesPricingBlogFacts

Screenshot Tools

Website ScreenshotsFull Page ScreenshotsScrolling ScreenshotsWebsite HistoryPDF Generation APIScreenshot API

Legal

Terms of UsePrivacy PolicyCookie PolicyCopyrightSecurity

Support

FAQSupportContact UsAPI Status
screen shot for web logo

No clutter. No distractions. Just clean, full-page screenshots with smart customization.

© 2026 HYDRANODE LTD. All rights reserved.

Screenshot for Web is operated by HYDRANODE LTD, a company registered in England and Wales, company number 15672526. Registered office: 124 City Road, London, London, England, EC1V 2NX.

FacebookInstagramLinkedInYouTube
  1. Home
  2. Blog
  3. Guides

Keeping a dated record of a web page: screenshots, PDFs and WARC compared on two real pages

We archived two live pages as PNG, PDF and WARC, replayed them offline and timestamped the hashes. What each format keeps, loses and can prove about a date.

Screenshot for Web·November 1, 2026·8 min read

Sources

  1. The WARC Format 1.1, International Internet Preservation Consortium
  2. RFC 3161: Internet X.509 PKI Time-Stamp Protocol
  3. GNU Wget manual
  4. Page.pdf(), Puppeteer docs
  5. PDFOptions, Puppeteer docs
  6. Printing, MDN
  7. warcio README, Webrecorder
  8. Browsertrix Crawler docs, Webrecorder
  9. Browsertrix Crawler outputs, Webrecorder
  10. Free Time Stamp Authority, FreeTSA

How this article was made

Researched and drafted with AI assistance from the sources listed. All captures, replays, tamper tests and the timestamp were run by us on 1 November 2026 with Puppeteer 25.16.0 (Chrome 156), GNU Wget 1.24.5, warcio 1.8.2 and OpenSSL 3.6.3. This article is not legal advice, and no lawyer or human expert reviewed it.

Capture any page without ads, banners or chat widgets, free and without an account.

Try the free tools

More articles

  • News

    Puppeteer 25.19 stops print and dark mode emulation from cancelling each other

    Before Puppeteer 25.19.0, emulateMediaType and emulateMediaFeatures reset each other, losing print or dark mode. Our tests, the fix and a workaround.

    November 26, 2026
  • News

    Chrome 158 drops XSLT: what it does to screenshots of sitemaps and feeds

    We captured eight live sitemaps in Chrome 156 and Chromium 158. Styled pages turn into raw XML, a red warning bar is already in captures, and two fixes work.

    November 9, 2026
  • Research

    Chrome DevTools' full-size screenshot: where it fails on long and lazy pages

    We ran DevTools' full-size screenshot on six long pages: it stops at 16,384 pixels and misses content that appears on scroll. Here's why, and the fixes that worked.

    November 8, 2026

To keep a dated record of a web page, save at least two formats, then get a trusted timestamp on their hashes. A full-page PNG records what a visitor saw. A browser-recorded WARC records what the server sent. Neither file can prove its own date. We archived two live pages all three ways on 1 November 2026, and each format lost something the others kept.

This is a technical comparison. What counts as a sufficient record for a regulator or a court is a question for your lawyer.

The test

We used two public pages that fail in different ways:

  • GOV.UK bank holidays is rendered on the server and has three tabs.
  • The serde page on crates.io is built in the browser from JavaScript and API calls.

Each page was saved as a full-page PNG and a PDF using Puppeteer, and as two different WARCs: one from wget and one recorded from the browser's own traffic. A WARC is a web archive file. The format stores harvested responses along with their protocol details and a capture time.

To test the WARCs, we replayed each one in Chrome with request interception, answering only from the file and blocking everything else.

The results

PNGPDFWARC from wgetWARC from browser
GOV.UK size734 KB571 KB405 KB218 KB
crates.io size475 KB486 KB2.0 MB506 KB
Looks as the visitor saw itYesNo on GOV.UKGOV.UK onlyGOV.UK exactly, crates.io apart from its chart
Searchable textNoYesWhat was capturedYes
Hidden tabs includedNoOn GOV.UK, yesYesYes
HTTP status and response headersNoNoYesYes, as Chrome reports them
crates.io replays offlinen/an/aNoYes
Same hash on a second captureYes in our paired runs, but see belowNoNot testedNot tested

The sizes come from one run each, and they depend on the page. Don't read them as a ranking.

Screenshots: faithful, but only to one state

The PNG was the only format that recorded the visible state exactly, including GOV.UK's cookie banner and its green panel. It also froze relative text: crates.io gave the release date as "4 months ago", and the image will say so for good.

It missed everything that wasn't on screen. GOV.UK's HTML holds 21 table cells and headings mentioning St Andrew's Day or the Battle of the Boyne, which belong to the Scotland and Northern Ireland tabs. None of them was visible at capture time, so none is in the image. The text isn't searchable either, and links are lost.

Two captures of each page, moments apart, gave byte-identical PNGs. That didn't last. crates.io has a downloads chart that animates, and when we captured the page six more times as soon as the network went quiet, the results varied:

crates.io chart in 6 fresh capturesCaptures
Curves fully drawn2
Curves partly drawn, 26,455 and 37,112 pixels different2
Axes only, no curves2

So a screenshot is faithful to one instant, which may be mid-animation. Matching hashes mean nothing visible changed, but different hashes don't mean the page did. Look at each capture before you seal it.

PDFs: a different rendering of the page

A PDF is not a picture of the screen. Puppeteer's docs say that page.pdf() by default produces colours modified for printing, and print stylesheets can change far more than colour.

On GOV.UK, that changed the content:

GOV.UKScreen PNGPDF, default print mediaPDF, screen media
Scotland and Northern Ireland datesHiddenAll presentHidden
Cookie bannerShownAbsentShown
Pages, same margins and A4 papern/a219

So the default PDF held more of the page's information than the PNG, and it looked less like what a visitor saw. Neither is wrong, but your record should say which one you kept. To match the screen, call page.emulateMediaType('screen') before page.pdf().

PDFs kept searchable text and working links: pdfinfo -url listed links in both files. Their hashes changed on every capture, even when the page hadn't. Comparing the two crates.io PDFs byte by byte, only 4 bytes differed, all in the two timestamp fields. The GOV.UK files differed in 2,681 bytes. Don't use a PDF's hash to detect whether a page has changed; compare extracted text instead.

Here is the capture code we ran for both formats:

// node capture.mjs <url> <name>
import puppeteer from 'puppeteer';
import { writeFileSync } from 'node:fs';

const [url, name] = process.argv.slice(2);
const browser = await puppeteer.launch({ args: ['--disable-gpu'] });
const page = await browser.newPage();
await page.setViewport({ width: 1280, height: 800 });
await page.goto(url, { waitUntil: 'networkidle2', timeout: 60000 });

writeFileSync(`${name}.png`, await page.screenshot({ fullPage: true }));
writeFileSync(`${name}.pdf`, await page.pdf({
  format: 'A4',
  printBackground: true,
  displayHeaderFooter: true,
  headerTemplate: '<span class="url" style="font-size:8px"></span>',
  footerTemplate: '<span class="date" style="font-size:8px"></span>',
  margin: { top: '1.5cm', bottom: '1.5cm', left: '1cm', right: '1cm' },
}));
await browser.close();

The header and footer print the address and date on each page. That date comes from the machine's clock, so it is a label and not evidence.

WARC: the richest record, if the capture worked

WARC keeps what the other two can't: status codes, response headers and every file behind the page. Each record also carries a WARC-Date, defined by the spec as the moment capture began. GOV.UK's response included the server's own Date header too, which gives a second reading to compare with your clock.

Writing one takes a single command, using the --warc-file option. $UA holds a browser user-agent string:

wget --user-agent="$UA" --header='Accept: text/html,*/*' \
  --page-requisites --span-hosts --warc-file=crates --warc-cdx -P site \
  https://crates.io/crates/serde

On GOV.UK this worked: the replayed screenshot was pixel-identical to the live capture. On crates.io, wget produced a file that passes warcio check and can't rebuild the page. Here is what each WARC held:

crates.io responseswgetBrowser recording
Total11997
Font files1125
JavaScript files065
API responses04
Requests answered during replay7, with 34 missing97, with 0 missing

Wget followed the font links in the CSS but didn't run the page, so it never asked for the code or the data. Before we set the Accept header, crates.io answered it with a 404, and that error was all the WARC contained.

Two offline replays of the crates.io serde page. The browser-recorded WARC on the left shows the full package page. The wget WARC on the right shows a dark green page with an error saying the page could not be loaded.

The browser recording replayed with the same text as the live page. Its screenshot showed the chart with axes only, which is one of the states the live page also produced, so we can't call that a replay fault. GOV.UK's replay was pixel-identical.

The test that catches the wget failure is a replay, not a look at the file size. warcio check verifies digests, which says nothing about whether a page can be rebuilt.

For JavaScript-heavy pages, record from a browser. Our recorder was a short test script built on Puppeteer's response events and warcio. It stored bodies and headers as Chrome reported them, without compression details or request records, so it isn't a substitute for a proper tool. Browsertrix Crawler is a browser-based crawler that outputs WARC and WACZ files. We didn't run it for this article.

A replay is not a frozen page

Replaying a WARC runs the page's JavaScript again, using today's clock. We replayed the crates.io recording with Chrome's clock moved forward a year:

Replay clockRelease date shown
1 November 2026 (capture day)4 months ago
1 November 2027over 1 year ago

The stored data hadn't changed, but the rendered page had. GOV.UK's text was identical under both clocks. So keep a PNG beside the WARC: the PNG shows how the page appeared on the day, and the WARC shows what it was made from.

Proving the date

None of these files can prove when it was made. Our PNGs carried no date at all, PDF dates come from the capturing machine, and anyone can rewrite a WARC-Date.

An outside timestamp solves that. Under RFC 3161, a Time Stamp Authority signs a hash together with the time, giving proof that the data existed at that instant. It sees only the hash, so the page's content is never sent to it.

We hashed the files into a manifest and timestamped it with FreeTSA, a free public authority that we used for this test. Pick your authority based on your own requirements.

url=https://www.gov.uk/bank-holidays
{ echo "url: $url"; shasum -a 256 gov-1.png gov-1.pdf gov.warc.gz; } > manifest.txt
openssl ts -query -data manifest.txt -sha256 -cert -out manifest.tsq
curl -sS -H 'Content-Type: application/timestamp-query' \
  --data-binary @manifest.tsq https://freetsa.org/tsr -o manifest.tsr
openssl ts -reply -in manifest.tsr -text | grep -E 'Status:|Time stamp:'

The output we got:

Status: Granted.
Time stamp: Nov  1 09:20:25 2026 GMT

Verifying takes the authority's certificates, which FreeTSA publishes:

openssl ts -verify -in manifest.tsr -data manifest.txt -CAfile cacert.pem -untrusted tsa.crt

Then we tried to break it:

What we changedCheckResult
Nothingopenssl ts -verifyVerification: OK
One date in the manifestopenssl ts -verifyVerification: FAILED (message imprint mismatch)
One pixel in the PNGshasum -a 256 -cgov-1.png: FAILED, other two files OK
"25 December" to "26 December" in the WARC, leaving its digests alonewarcio checkFails, exit code 1
The same edit, rewritten with warcio so digests were recalculatedwarcio checkPasses all 86 digest checks, exit code 0
That rewritten WARC against the manifestSHA-256Different hash

The fifth row matters most. Digests inside a WARC catch accidental damage, not deliberate edits, because whoever changes the file can recalculate them. Only a hash held outside the file, sealed by someone else's signature, catches that.

A timestamp has limits too. It shows the files existed by that time, not that they are a true copy of the page. It also doesn't say who made them: the RFC says the authority doesn't identify the requester. An independent copy can help with that gap, such as a capture made by a third party. We couldn't test one here.

What to keep

  1. Capture a PNG and a browser-recorded WARC. The PNG shows the appearance and the WARC shows the content. Add a PDF if people need to read or search the record without special software.
  2. Check every WARC by replaying it offline, before you need it. Don't rely on warcio check alone.
  3. Open what's hidden and let animations finish. Tabs, accordions and "show more" panels aren't in a screenshot, and charts may be half drawn. Capture each state you need.
  4. Write a manifest with the address, the tool versions and the SHA-256 of each file.
  5. Timestamp the manifest straight after capture, and store the .tsr and the authority's certificates with the files.
  6. Keep the files somewhere they can't be overwritten, and check the hashes on a schedule.