Web, HTTP & devices
Languages and Accept-Language
Common language codes with realistic Accept-Language headers and regions, weighted by web usage, for i18n and content-negotiation tests.
- synthetic
- MaxoPerf synthetic data, free to use
- 3 columns
About this dataset
Each row has a two-letter language code weighted by web usage, a matching Accept-Language header string and a region. Headers are drawn from common real-world browser defaults.
Typical use: Test locale negotiation, translated content and language-specific caching.
Columns
3 columns, 1,000 rows by default.
| Column | Type | Source |
|---|---|---|
language_code | string | Generated: choice.weighted |
accept_language | string | Generated: choice.weighted |
region | string | Generated: choice.weighted |
Preview
First 20 rows. Download for up to 1,000.
| language_code | accept_language | region |
|---|---|---|
| en | ja-JP,ja;q=0.9,en;q=0.8 | IN |
| en | pt-BR,pt;q=0.9,en;q=0.8 | US |
| en | fr-FR,fr;q=0.9,en;q=0.8 | ES |
| en | en-GB,en;q=0.9 | BR |
| en | en-US,en;q=0.9 | GB |
| en | zh-CN,zh;q=0.9,en;q=0.8 | US |
| ru | es-ES,es;q=0.9,en;q=0.8 | GB |
| en | ja-JP,ja;q=0.9,en;q=0.8 | FR |
| pt | de-DE,de;q=0.9,en;q=0.8 | FR |
| en | en-US,en;q=0.9 | US |
| en | en-US,en;q=0.9 | ES |
| pt | en-US,en;q=0.9 | DE |
| en | en-US,en;q=0.9 | US |
| de | en-US,en;q=0.9 | CN |
| en | fr-FR,fr;q=0.9,en;q=0.8 | US |
| ar | ja-JP,ja;q=0.9,en;q=0.8 | US |
| en | en-US,en;q=0.9 | DE |
| pt | en-US,en;q=0.9 | US |
| en | nl-NL,nl;q=0.9,en;q=0.8 | US |
| es | en-US,en;q=0.9 | GB |
License
Values in downloads are plain text. In the JSON file every value is a string, matching the CSV cell. See Dataset Library docs for licensing details and how to bind a dataset to a test.