LABELED DATA FOR ML TEAMS

Website Classification Dataset for Machine Learning

A labeled dataset of over 120 million domains, each tagged with IAB Content Taxonomy tiers, web filtering categories, personas, country and popularity bands. Built for teams that train or evaluate website and text classifiers.

# one row per registrable domain
domain: "example-bakery.com"
iab_v3_tier1: "Food & Drink"
iab_v3_tier2: "Desserts and Baking"
web_filtering: ["Food & Drink", "Shopping"]
personas: ["Baking Enthusiast", "Food Blogger"]
country: "United Kingdom"
popularity_global: "500001-1000000"
# illustrative row, not a real record

What a labeled website dataset looks like

A website classification dataset pairs an identifier, usually a domain, with labels from one or more fixed taxonomies. The value sits in label coverage, label depth and how consistent the labels are across millions of rows.

Unit
One row per registrable domain, for example a site's main domain rather than every page
Rows
over 120 million categorized domains in the current release
Taxonomies
IAB Content Taxonomy v2 and v3 (Tier 1 to Tier 4), 59 web filtering categories, audience personas
Label type
Hierarchical (IAB) plus multi-label ranked by relevance (web filtering)
Context fields
Country, global popularity band, country level popularity band
Formats
CSV, Parquet and JSON files
Refresh
Monthly full refresh, daily delta files for newly registered domains
Licences
Research, internal commercial use, use inside a product

Columns in the dataset

Every file has the same column layout, so you can switch between a research extract and the full release without changing your loaders. The full field guide is in the data dictionary.

ColumnTypeWhat it holdsML role
DomainstringRegistrable domain, lower caseJoin key, input for URL based models
IAB v2 Tier 1 to Tier 4stringPath through the IAB v2 hierarchyTargets for legacy ad systems
IAB v3 Tier 1 to Tier 4stringPath through the 703 category IAB v3 hierarchyHierarchical classification targets
Web Filtering Categorylist, pipe separatedOne or more of 59 filtering labelsMulti-label targets, safety classifiers
Personaslist, semicolon separatedAudience types the site attractsAudience and intent modelling
CountrystringCountry association, where one can be assignedStratification, regional models
Global Popularity Rank GroupbandPopularity band among real users worldwideSample weighting, head versus tail splits
Country Level Popularity Rank GroupbandPopularity band inside the site's countryRegional weighting

Label coverage in numbers

These figures come from the current release. They show how many rows carry each kind of label, which matters when you decide which column to use as a training target.

IAB v3 Tier 1
100.0%
IAB v3 Tier 2
96%
IAB v3 Tier 3
50%
IAB v3 Tier 4
14%
IAB v2 Tier 1
100.0%
Web filtering
100.0%
Personas
98%
Country
40%
Global popularity band
11%
Country popularity band
4%

Base: the full database. Country and popularity bands apply only where a domain has a clear country association or enough visitors to be banded.

Deeper IAB tiers are filled only where the site is specific enough to support them. A general news portal stops at Tier 1 or Tier 2, while a site about one dog breed can reach Tier 4.

How many labels does a domain carry?

The web filtering field is multi-label. Most domains describe one main subject, but large platforms cover many. The distribution below counts labels per domain in the current release.

Filtering labels per domainDomainsShare
194,116,67391.1%
26,723,6726.5%
32,128,6942.1%
4324,7420.3%
557,3230.1%
610,9160.0%
73,3290.0%
81,2960.0%
95210.0%
10 or more3350.0%

The first label is the one that describes most of the site. Use it as the target for single-label models, and the full list for multi-label models with a ranking loss.

Class balance across the top categories

Real web data is imbalanced. Business and technology sites are common, while categories such as weapons or tobacco are rare. Plan sampling and loss weighting with these counts in mind.

Web filtering categoryDomainsShare of rowsClass size
Computers & Technology18,883,40718.27%Common
Business16,195,21815.67%Common
Arts & Entertainment13,615,86113.17%Common
Shopping8,117,4777.85%Common
Health & Medicine7,431,6597.19%Common
Home & Garden6,299,8376.09%Common
Education/Reference3,557,5493.44%Common
Financial Services3,282,2753.18%Common
Automotive & Transportation3,096,3633.00%Common
Sports & Recreation2,872,4822.78%Common
Advertising/Marketing2,856,3942.76%Common
Travel2,818,6172.73%Common
Forums / Message Boards44,1220.043%Rare
Cloud Storage / File Hosting41,8860.041%Rare
Tobacco31,3860.030%Rare
VPN / Proxy / Anonymizers15,8650.015%Rare
File Sharing/P2P15,3880.015%Rare
URL Shorteners10,2080.010%Rare
Hate/Discrimination5,2790.005%Rare
Remote Access Tools2,3420.002%Rare

The largest class is about 8,062 times the size of the smallest. Rare classes such as Hate/Discrimination still hold thousands of examples, enough to train and test on.

Taxonomies inside the dataset

Using more than one taxonomy lets the same dataset serve advertising, safety and research projects. Each taxonomy answers a different question about a site.

IAB Content Taxonomy v3

703 categories in a four level tree, the standard language of contextual advertising. Read the full list on our taxonomy page.

IAB Content Taxonomy v2

The previous edition, still used by many ad servers and data platforms. Keeping both lets you train on one and evaluate on the other.

59 web filtering categories

Safety and policy oriented labels such as Adult, Gambling, Malware / Phishing / Suspicious and AI / LLM Tools. See the filtering categories.

Why both together

The same site gets a subject label and a policy label. A wine shop is Food & Drink in IAB terms and Alcohol in filtering terms, which lets one model serve advertising and safety teams.

Personas

Audience types such as Software Developer or Home Baker. Useful for audience modelling and for testing whether a model understands who a site is for.

Machine learning use cases

Teams license the dataset as training data, as a benchmark, or as a feature table joined to their own logs. These are the most common projects.

Text classification

Pair our labels with page text you collect yourself and train a classifier for site topics. The hierarchy supports both flat and tree aware models.

Contextual AI for advertising

Train models that place ads by page context instead of personal data. See contextual targeting for how buyers apply the labels.

URL only classifiers

Predict a category from the domain string alone, for traffic where no page content is available, such as DNS logs or encrypted connections.

Safety and policy models

Use the filtering labels to train detectors for adult, gambling or phishing content, with rare classes boosted by sampling.

Evaluation benchmarks

Hold out a stratified slice to measure how well a general model labels websites, by category, country and popularity band.

Feature enrichment

Join categories to clickstream, CRM or security logs as features for churn, fraud or lead scoring models. See data enrichment.

Preparing the data for training

Website data has a few traps that inflate offline scores. This checklist keeps your evaluation honest.

  • Split by registrable domain, never by URL, so the same site never lands in train and test
  • Group sister domains of one brand into the same split to avoid leakage
  • Stratify by Tier 1 category so rare classes appear in every split
  • Keep a popularity stratified test set, because head sites and tail sites behave differently
  • Report hierarchical metrics: a wrong Tier 3 under the right Tier 1 is a smaller error
  • Drop parked and for-sale domains unless your task is to detect them
  • Track country, since language changes what a model sees
  • Version every extract and record the release month next to your results

Example tasks and how to evaluate them

The same file supports very different models. Pick the target column and metric that match the decision your model will make.

TaskTarget columnSuggested metricWatch out for
Topic classifier for ad placementIAB v3 Tier 1, then Tier 2Macro F1 per tierLarge classes hiding weak rare classes
Hierarchical classifierIAB v3 Tier 1 to Tier 4Hierarchical precision and recallEmpty deeper tiers, which are not errors
Safety or policy detectorWeb Filtering Category, one label vs restPrecision at a fixed recallCost of false blocks versus missed sites
Multi-label site taggerWeb Filtering Category, all labelsMicro F1 and ranking metricsPlatforms with many labels dominating the loss
Audience modelPersonasTop-k accuracyOverlapping persona names
Domain name only modelAny label, domain string as inputAccuracy by popularity bandBrand names that reveal nothing about the topic

Label quality and known limits

Every label is categorized from site content, then reviewed and validated. Regular manual validations on random samples measure label accuracy. A good dataset card is honest about the limits that remain.

What is validated

Random samples are checked by people against the live site, by category and by tier. Licence holders can ask for the current validation figures for the categories they use.

Sites change

A label describes the site at the time it was categorized. Monthly refreshes keep most rows current, but a small share of sites always changes between releases.

Language mix

The web is not evenly spread across languages. Check the country field before you assume a model trained on this data works equally well in every market.

Domain, not page

Labels describe a whole domain. A news site's sports section still carries the site level labels, so page level models need extra care.

Common extract sizes

Most projects do not need every row. These are the extract sizes research and product teams ask for most often.

Balanced training set

Equal rows per category
  • A fixed number of domains per Tier 1 or filtering category
  • Good for first models and fair evaluation

Popular head

The most visited domains
  • The domains people visit most, with all labels
  • Good for benchmarks and production checks

Full release

Every categorized domain
  • All rows, refreshed monthly
  • Good for long tail coverage and lookups at scale

Licensing for research and commercial use

The dataset is licensed, not given away. Each licence states who may use the data, for what, and whether trained outputs may ship to your customers.

Research

Universities, institutes, non-commercial labs
  • Training and evaluation inside the research group
  • Publication of results, metrics and aggregate statistics
  • No publication of the raw labeled rows

Commercial internal

Companies using the data inside their own systems
  • Training models used inside your company
  • Joining labels to your own logs and records
  • Monthly refreshes for the licence term

Product and OEM

Companies whose product carries the labels or a trained model
  • Labels or derived models inside a product you sell
  • Group licences for several products
  • Terms set per deployment

No licence allows resale or publication of the raw data. Read the general terms on the licensing page and see plans on the pricing page.

How to request the dataset

Requests are handled by a person, not a download form, so the extract fits your project from the start.

1. Describe the task. Tell us what the model should predict and which taxonomy matters most: IAB v3, IAB v2 or the filtering categories.
2. Size the extract. Say how many domains you need, which countries, and whether you want the popular head of the web or the long tail.
3. Choose the licence. Research, internal commercial or product use. We confirm the terms in writing.
4. Receive the files. CSV, Parquet or JSON, with the data dictionary and a release note on the counts.
5. Stay current. Commercial licences include monthly refreshes so your training data does not age.

Most requests are answered with a written licence proposal that names the extract, the refresh schedule and the permitted uses.

Want to see labels for a few specific sites first? Use the domain category checker on any domain you know.

Related lists and guides

The same data powers our ranked lists and industry guides. They are a quick way to see how the labels behave on real sites.

Top websites ranking

The most popular domains among real users, with their categories.

Top 100 websites by category

Ten leading domains in each of ten major categories.

Top-level domains list

Counts and top categories for the main TLDs.

Website to industry

How categories become industry labels for company records.

Frequently asked questions

What is a website classification dataset?

It is a table of domains or URLs where each row carries one or more category labels from a defined taxonomy. Machine learning teams use it to train and evaluate models that predict what a website is about.

Which taxonomies are included?

Each domain carries IAB Content Taxonomy labels in version 2 and version 3, up to four tiers deep, plus up to several of 59 web filtering categories, audience personas, a country and popularity bands.

Can the dataset be used for commercial models?

Yes, under a commercial licence. Licences cover research, internal commercial use, and use inside a product. Publishing or reselling the raw labeled data is not allowed under any licence.

Is it multi-label?

Yes. The web filtering field can hold several categories per domain, ranked by how much of the site they describe, and the IAB fields form a hierarchy from Tier 1 to Tier 4.

Does the dataset include page text?

The dataset holds domain level labels and context fields. Most teams pair it with page text or features they collect under their own policies, which keeps the licence simple.

How large is the dataset?

The current release holds over 120 million categorized domains. Almost every row carries IAB v3 Tier 1 and web filtering labels, while deeper IAB tiers, country and popularity bands are filled where the site supports them.

Can I get a balanced dataset?

Yes. Many teams ask for a fixed number of domains per category so that rare classes are well represented. Tell us the categories and the rows per class you need.

Which file formats are available?

CSV, Parquet and JSON. Parquet is the usual choice for large training jobs, because it loads quickly and keeps column types.

Is the dataset suitable for language models?

It can be used to fine-tune or evaluate models that label websites, or as a benchmark for how well a general model describes sites. Tell us whether the trained model will ship to customers so the licence fits.

How do I request the dataset?

Contact us with your use case, the volume of domains you need, the taxonomies you care about and whether the result will be research, internal or part of a product. We reply with licence options.

Train on labels that cover the real web

Tell us about your model and we will propose an extract and a licence that fit it.

Request the dataset View pricing

IAB and the IAB Content Taxonomy are trademarks of the Interactive Advertising Bureau. They are used here only to identify the taxonomy discussed. URL Categorization Database is not affiliated with, sponsored or endorsed by the Interactive Advertising Bureau.

echo '';