Qortora · Search · Indexed page

commoncrawl.orgFetched 2026-08-17T13:10:42Z

Common Crawl - Get Started

Dive into Common Crawl: your guide to accessing vast web data. Start here to harness the web's potential effortlessly.

Open original source · Full cached text

Common Crawl - Get Started The Data OverviewCDXJ IndexURL IndexWeb GraphsLatest CrawlCrawl StatsGraph StatsErrata Resources Get StartedAI AgentBlogExamplesCCBotInfra StatusOpt-Out LedgerFAQ Community Research PapersMailing List ArchiveHugging FaceDiscordCollaborators About AboutTeamJobsPrivacy PolicyTerms of Use Search AI Agent Contact Us Get Started Accessing the Data Crawl data is free to access by anyone from anywhere. The data is hosted by Amazon Web Services’ Open Data Sets Sponsorships program on the bucket s3://commoncrawl/, located in the US-East-1 (Northern Virginia) AWS Region. You may process the data in the AWS cloud or download it for free over HTTP(S) with a good Internet connection. Choose a crawl... CC-MAIN-2026-30 CC-MAIN-2026-25 CC-MAIN-2026-21 CC-MAIN-2026-17 CC-MAIN-2026-12 CC-MAIN-2026-08 CC-MAIN-2026-04 CC-MAIN-2025-51 CC-MAIN-2025-47 CC-MAIN-2025-43 CC-MAIN-2025-38 CC-MAIN-2025-33 CC-MAIN-2025-30 CC-MAIN-2025-26 CC-MAIN-2025-21 CC-MAIN-2025-18 CC-MAIN-2025-13 CC-MAIN-2025-08 CC-MAIN-2025-05 CC-MAIN-2024-51 CC-MAIN-2024-46 CC-MAIN-2024-42 CC-MAIN-2024-38 CC-MAIN-2024-33 CC-MAIN-2024-30 CC-MAIN-2024-26 CC-MAIN-2024-22 CC-MAIN-2024-18 CC-MAIN-2024-10 CC-MAIN-2023-50 CC-MAIN-2023-40 CC-MAIN-2023-23 CC-MAIN-2023-14 CC-MAIN-2023-06 CC-MAIN-2022-49 CC-MAIN-2022-40 CC-MAIN-2022-33 CC-MAIN-2022-27 CC-MAIN-2022-21 CC-MAIN-2022-05 CC-MAIN-2021-49 CC-MAIN-2021-43 CC-MAIN-2021-39 CC-MAIN-2021-31 CC-MAIN-2021-25 CC-MAIN-2021-21 CC-MAIN-2021-17 CC-MAIN-2021-10 CC-MAIN-2021-04 CC-MAIN-2020-50 CC-MAIN-2020-45 CC-MAIN-2020-40 CC-MAIN-2020-34 CC-MAIN-2020-29 CC-MAIN-2020-24 CC-MAIN-2020-16 CC-MAIN-2020-10 CC-MAIN-2020-05 CC-MAIN-2019-51 CC-MAIN-2019-47 CC-MAIN-2019-43 CC-MAIN-2019-39 CC-MAIN-2019-35 CC-MAIN-2019-30 CC-MAIN-2019-26 CC-MAIN-2019-22 CC-MAIN-2019-18 CC-MAIN-2019-13 CC-MAIN-2019-09 CC-MAIN-2019-04 CC-MAIN-2018-51 CC-MAIN-2018-47 CC-MAIN-2018-43 CC-MAIN-2018-39 CC-MAIN-2018-34 CC-MAIN-2018-30 CC-MAIN-2018-26 CC-MAIN-2018-22 CC-MAIN-2018-17 CC-MAIN-2018-13 CC-MAIN-2018-09 CC-MAIN-2018-05 CC-MAIN-2017-51 CC-MAIN-2017-47 CC-MAIN-2017-43 CC-MAIN-2017-39 CC-MAIN-2017-34 CC-MAIN-2017-30 CC-MAIN-2017-26 CC-MAIN-2017-22 CC-MAIN-2017-17 CC-MAIN-2017-13 CC-MAIN-2017-09 CC-MAIN-2017-04 CC-MAIN-2016-50 CC-MAIN-2016-44 CC-MAIN-2016-40 CC-MAIN-2016-36 CC-MAIN-2016-30 CC-MAIN-2016-26 Next You can process the data in the AWS cloud (or download directly) using the URL schemes s3://commoncrawl/[...], https://ds5q9oxwqwsfj.cloudfront.net/[...] and https://data.commoncrawl.org/[...]. To access data from outside the Amazon cloud, via HTTP(S), the new URL prefix https://data.commoncrawl.org/ – must be used. For further detail on the data file formats listed below, please visit the ISO Website, which provides format standards, information and documentation. There are also helpful explanations and details regarding file formats in other GitHub projects. The status of our infrastructure can be monitored on our Infra Status page. Accessing the data in the AWS Cloud It’s mandatory to access the data from the region where it is located (us-east-1 ). The connection to S3 should be faster and you avoid the minimal fees for inter-region data transfer (you have to send requests which are charged as outgoing traffic). Be careful using an Elastic IP address or load balancer, because you may be charged for the routed traffic. You may use the AWS Command Line Interface but many AWS services (e.g EMR) support the s3:// protocol, and you may directly specify your input as s3://commoncrawl/path_to_file, sometimes even using wildcards. On Hadoop (not EMR) it’s recommended to use the S3A Protocol: just change the protocol to s3a://. Accessing the data from outside the AWS Cloud If you want to download the data to your local machine or local cluster, you can use any HTTP download agent, such as cURL or wget. The data is accessible via the https://data.commoncrawl.org/[...] URL scheme. There is no need to create an AWS account in order to access the data using this method. Using the AWS Command Line Interface The AWS Command Line Interface can be used to access the data from anywhere (including EC2). It’s easy to install on most operating systems (Windows, macOS, Linux). Please follow the installation instructions. Please note, access to data from the Amazon cloud using the S3 API is only allowed for authenticated users. Please see our blog announcement for more information. Once the AWS CLI is installed, the command to copy a file to your local machine is: aws s3 cp s3://commoncrawl/path_to_file <local_path>‍ You may first look at the data e.g, to list all WARC files of a specific segment of the April 2018 crawl: > aws s3 ls s3://commoncrawl/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/ 2018-04-20 10:27:49 931210633 CC-MAIN-20180420081400-20180420101400-00000.warc.gz 2018-04-20 10:28:32 935833042 CC-MAIN-20180420081400-20180420101400-00001.warc.gz 2018-04-20 10:29:51 940140704 CC-MAIN-20180420081400-20180420101400-00002.warc.gz ‍ The command to download the first file in the listing is: aws s3 cp s3://commoncrawl/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/CC-MAIN-20180420081400-20180420101400-00000.warc.gz <local_path>The AWS CLI supports recursive copying, and allows for pattern–based inclusion/exclusion of files. For more information check the AWS CLI user guide or call the command-line help (here for the cp command): aws s3 cp help Using HTTP download agents To download a file using an HTTP download agent add the full path to the prefix https://data.commoncrawl.org/, e.g: wget https://data.commoncrawl.org/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/CC-MAIN-20180420081400-20180420101400-00000.warc.gz Accessing the data in the AWS Cloud It’s best to access the data from the region where it is located (us-east-1 ). The connection to S3 should be faster and you avoid the minimal fees for inter-region data transfer (you have to send requests which are charged as outgoing traffic). Be careful using an Elastic IP address or load balancer, because you may be charged for the routed traffic. You may use the AWS Command Line Interface but many AWS services (e.g EMR) support the s3:// protocol, and you may directly specify your input as s3://commoncrawl/path_to_file, sometimes even using wildcards. On Hadoop (not EMR) it’s recommended to use the S3A Protocol: just change the protocol to s3a://. Accessing the data from outside the AWS Cloud If you want to download the data to your local machine or local cluster, you can use the AWS Command Line Interface, or any HTTP download agent, such as cURL or wget. There is no need to create an AWS account to access the data using either method. Using the AWS Command Line Interface The AWS Command Line Interface can be used to access the data from anywhere (including EC2). It’s easy to install on most operating systems (Windows, macOS, Linux). Please follow the installation instructions. Once the AWS CLI is installed, the command to copy a file to your local machine is: aws --no-sign-request s3 cp s3://commoncrawl/path_to_file/local_path/The argument --no-sign-request allows for anonymous access without the need to own an AWS account. You may first look at the data e.g, to list all WARC files of a specific segment of the April 2018 crawl: > aws --no-sign-request s3 ls s3://commoncrawl/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/ 2018-04-20 10:27:49 931210633 CC-MAIN-20180420081400-20180420101400-00000.warc.gz 2018-04-20 10:28:32 935833042 CC-MAIN-20180420081400-20180420101400-00001.warc.gz 2018-04-20 10:29:51 940140704 CC-MAIN-20180420081400-20180420101400-00002.warc.gz ‍ The command to download the first file in the listing is: aws --no-sign-request s3 cp s3://commoncrawl/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/CC-MAIN-20180420081400-20180420101400-00000.warc.gzThe AWS CLI supports recursive copying, and allows for pattern–based inclusion/exclusion of files. For more information check the AWS CLI user guide or call the command-line help (here for the cp command): aws s3 cp help Using HTTP download agents To download a file using an HTTP download agent add the full path to the prefix https://data.commoncrawl.org/, e.g: wget https://data.commoncrawl.org/crawl-data/CC-MAIN-2018-17/segments/1524125937193.1/warc/CC-MAIN-20180420081400-20180420101400-00000.warc.gz Example Code If you’re more interested in diving into code, we’ve provided introductory Examples that use the Hadoop or Spark frameworks to process the data, and many more examples can be found in our Tutorials Section and on our GitHub. See our Whirlwind Python Tour and Notebook for an introduction to using our datasets in Python. Here's an example of how to fetch a page using the Common Crawl Index using Python: Data Types Common Crawl currently stores the crawl data using the Web ARChive (WARC) Format. Previously (prior to Summer 2013) the data was stored in the ARC Format. The WARC format allows for more efficient storage and processing of Common Crawl’s free multi-billion page web archives, which can be hundreds of terabytes in size. If you want all the nitty–gritty details, the best source is the IIPC document on the WARC Standard. Our Whirlwind Python Tour and Notebook provide an easy introduction to processing these file formats in Python. Click the panels below for an overview of the differences between: WARC files which store the raw crawl data WAT files which store computed metadata for the data stored in the WARC WET files which store extracted plaintext from the data stored in the WARC‍ WARC WAT WET The WARC Format The WARC format is the raw data from the crawl, providing a direct mapping to the crawl process. Not only does the format store the HTTP response from the websites it contacts (WARC-Type: response), it also stores information about how that information was requested (WARC-Type: request) and metadata on the crawl process itself (WARC-Type: metadata). For the HTTP responses themselves, the raw response is stored. This not only includes the response itself, (what you would get if you downloaded the file) but also the HTTP header information, which can be used to glean a number of interesting insights. In the example below, we can see the crawler contacted https://en.wikipedia.org/wiki/Saturn and received HTML in response. We can also see the page sets caching details, and attempts to set a cookie (shortened for display here). See the full WARC extract WARC/1.0 WARC-Type: response WARC-Date: 2024-11-30T14:52:51Z WARC-Record-ID: <urn:uuid:6fad2bf3-f2b8-4755-ba48-2cef80f2a10b> Content-Length: 636034 Content-Type: application/http; msgtype=response WARC-Warcinfo-ID: <urn:uuid:37faa4c1-518b-47c1-8d06-0b368e5fb495> WARC-Concurrent-To: <urn:uuid:90f1a666-d5ba-4e8d-806d-4d848e77a0f8> WARC-IP-Address: 208.80.154.224 WARC-Target-URI: https://en.wikipedia.org/wiki/Saturn WARC-Protocol: h2 WARC-Protocol: tls/1.3 WARC-Cipher-Suite: TLS_AES_128_GCM_SHA256 WARC-Payload-Digest: sha1:RNGUUH2LZ5GZAN4V6FJOEENFF56JZOJ3 WARC-Block-Digest: sha1:LRBPXRFQYN3VITSOMX3I4DOBNRBQ7CQV WARC-Identified-Payload-Type: text/html HTTP/1.1 200 date: Sat, 30 Nov 2024 11:13:30 GMT server: mw-web.eqiad.main-864bbfd546-nnh82 x-content-type-options: nosniff content-language: en accept-ch: vary: Accept-Encoding,Cookie,Authorization last-modified: Sat, 30 Nov 2024 10:57:28 GMT content-type: text/html; charset=UTF-8 X-Crawler-content-encoding: gzip age: 13160 x-cache: cp1104 miss, cp1104 hit/3 x-cache-status: hit-front server-timing: cache;desc="hit-front", host;desc="cp1104" strict-transport-security: max-age=106384710; includeSubDomains; preload report-to: { "group": "wm_nel", "max_age": 604800, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] } nel: { "report_to": "wm_nel", "max_age": 604800, "failure_fracti…