Updated November 24, 2026
The aiopen team
Table of contents
Common Crawl stores snapshots of public web pages. Below, you'll learn how to find a page by its URL in the archive index and download a single record containing the HTML and server response headers. The same method can be used to compare versions of documentation or recover a list of URLs before migrating a site.
What Common Crawl is and how it works
What it is. Common Crawl is an open web archive with free access to the data. The project was founded in 2007, and the archive's earliest data dates to 2008. The archive stores responses returned by websites during crawling, such as page HTML and server headers.
What it is for. The archive is useful if you want to see what a page looked like previously, find URLs that disappeared after a site migration, or collect text for search and analysis. If you need the current version of a page, check the live website first.
How it works. The CCBot crawler visits publicly accessible pages, and Common Crawl stores the results as separate releases. In the index, you search by URL or URL pattern. The index shows when the crawler retrieved the page and where the record is stored. Using these coordinates, you can download the required archive segment instead of the entire file.
The archive covers only part of the web, and the index does not support full-text search within pages. The crawler obeys the site's crawling rules and does not execute JavaScript, so the requested URL or script-loaded text may not be present in the archive.
What you'll need
A browser is sufficient for searching. To download data, open Terminal on macOS, a terminal on Linux, or Bash in WSL on Windows. Run curl --version and gzip --version: both commands should print version information. You do not need an account or API key for HTTPS access. If you plan to process large volumes of data later, estimate the storage and cloud request costs separately.
Find a snapshot in the Index Server
- Open the Index Server. In the Crawl Archive list, select October 2025 Index (CC-MAIN-2025-43).
- Paste
commoncrawl.org/get-startedinto the URL Pattern field. This URL is used in the official example. - Click Search. If the request succeeds, you will receive JSON lines, with one line per record.
Index Server form: the October 2025 crawl is selected and the Get Started page URL is specified.
The official output example contains two records. Select the second one: its url is https://commoncrawl.org/get-started, and its timestamp is 20251016192109 (October 16, 2025, 19:21:09 UTC). This is the crawl time, not the page's publication date. The filename field points to the archive file, offset indicates the first byte of the record within the file, and length is its size in bytes.
Example from the Common Crawl documentation: the filename, offset, and length fields for the required snapshot are visible in the second row.
💡
On November 23, 2026, a test query to the index returned 504 Gateway Time-out. If you receive the same error, try the search again later. For the exercise below, you can use the coordinates from the documentation immediately: downloading with them has been tested separately.
Download a single WARC record
WARC is a web archive format. A record containing a server response stores the response headers and body. Paste the entire block into the terminal: curl will request only the required byte range, while the final two commands will display the download headers and the first lines of the decompressed record. For your own snapshot, replace the three values at the beginning of the block with fields from the same index row.
offset=160581106
length=12695
file='crawl-data/CC-MAIN-2025-43/segments/1759648664410.92/warc/CC-MAIN-20251016175923-20251016205923-00549.warc.gz'
curl -fsS -D headers.txt \
--range "$offset-$((offset + length - 1))" \
"https://data.commoncrawl.org/$file" \
-o snapshot.warc.gz &&
head -n 1 headers.txt &&
gzip -dc snapshot.warc.gz | head -n 25
How to verify the result
- The download headers contain
206: the storage returned the requested range. In the example, thesnapshot.warc.gzfile is 12,695 bytes. - In the decompressed record,
WARC-Target-URImatches the required URL, andWARC-Dateshows when the snapshot was captured. - The internal
HTTP/1.1 200refers to the response from the original website. The206status refers to downloading this record from the Common Crawl storage.
Useful use cases
Compare two versions of documentation
Take a page URL and two crawl releases that may bracket a change. Find records with a 200 status, download each one, and compare the body text. For example, you can determine when a required parameter disappeared from the instructions. The snapshots confirm that the pages differed on two crawl dates, but they cannot establish the exact edit date.
Find old URLs before migrating a site
If you need URLs for an entire section, open the URL Index, formerly called Columnar Index. It contains Parquet tables suitable for SQL queries. In AWS Athena, connect the table ccindex according to Common Crawl's instructions and run a query. Replace example.com with your domain and /blog/ with the beginning of the old section's path.
SELECT url, MAX(fetch_time) AS last_seen
FROM "ccindex"."ccindex"
WHERE crawl = 'CC-MAIN-2025-43'
AND subset = 'warc'
AND url_host_name = 'example.com'
AND url_path LIKE '/blog/%'
AND fetch_status = 200
GROUP BY url
ORDER BY last_seen DESC;
The query returns the section URLs that returned 200 in this crawl. Compare them with the old sitemap and select current pages for redirects. An empty result is expected for the placeholder domain; for your own site, also check the www version and other crawls. The SQL example has been verified against the index schema but has not been run in Athena.
Build a text corpus for documentation search
Take 50–100 pages from sources that permit the intended use. Find them in the index, download the records, and save the text, source URL, and snapshot date for each document. Remove duplicates and navigation. To validate the corpus, ask the search system ten questions whose answers you already know and check whether it returns the relevant passage and link. If a question depends on the current product version, consult the live documentation.
For a small list of URLs, WARC is convenient because it preserves the HTML and headers. If you need extracted links and metadata, use WAT. For processing large volumes of already extracted text, use WET, although cleaning and validation will still be necessary. The Common Crawl documentation explains the differences between the formats. Before reuse, check the rights to the source material and the Common Crawl terms, including restrictions on collecting personal data.
If the snapshot is not found
- No records. Check the URL with and without
www, the trailing slash, and adjacent crawls. No result does not prove that the page did not exist. - The record is a redirect. Find the final URL separately: the original record may contain only a
3xxresponse. - The HTML is present, but there is no text. Check whether the text was loaded through JavaScript. Inspect an adjacent snapshot or use the current version of the website if a historical copy is not required.
Next step
XCrawl: how to retrieve content from a live website via API
If you are reconstructing a site's history or collecting documents for internal search, start with a few URLs. They will show whether the archive provides sufficient coverage for your task.
Related
Knowledge base · Updated November 15, 2026