Browser language
Reads the language the browser asks pages to use.
In one line
Can see which language your browser asks pages to use
Reads the language the browser asks pages to use.
Reveals language, region and sometimes nationality. Order of preferred languages narrows identity.
What it can and can't do
What the user does: Nothing. It happens when the page loads
It can
- See your preferred language and region
- Show the page in that language
- Guess your country or background from the order of languages
It cannot
- See your exact location from it
- Know languages you did not set in the browser
- Show a permission pop up; there is none
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Supported | 18 | 2012-06-27 | None |
| Samsung Internet | Supported | 1.0 | 2013-04-27 | None |
How a site asks for it
| API | navigator.language, navigator.languages; Accept-Language |
| Browser compat keys | api.Navigator.language |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Script reads the value
- Value joins the fingerprint payload
Data you get
What comes back: Browser language
Shape: string
How often: static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
language | string | None | BCP 47 | Not listed |
Technical limits
- Cannot see all installed languages
The story
What it is
The page can read the language your browser asks for.
For you
A site shows itself in your language, or suggests you switch. You rarely think about how it knew. It does not ask.
For makers
Makers localize the page, prices and support. Ad and fraud systems use language and region as basic targeting and risk signals.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A game site shows menus in your language and picks a nearby server region. | Roblox, Miniclip |
| media | A streaming site chooses subtitles and the home page for your region. | Netflix |
| shopping | A store shows the right currency and language at once. | Amazon |
| news | A news site serves local editions based on the language setting. | None named |
| ads | An ad network targets campaigns by language and region. | None named |
| security | A fraud tool flags a login where language does not match the usual pattern. | None named |
Risks
- Hints at nationality
- Part of a fingerprint
Good uses and abuse
Legitimate uses
- Localize
Known abuse
- Fingerprint input
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 4 | Rough identifying entropy, when known |
A real example: LinkedIn
Collector key(s): language. BleepingComputer confirms language.
Related capabilities
Related
- APFC / DNA device fingerprint (abuse prevention features). Can collect about 48 device traits and send them in secret with later requests
Sources
- MDN language
- BleepingComputer: LinkedIn scans for 6,000+ Chrome extensions
- mdp/linkedin-extension-fingerprinting (LinkedIn script snapshot and ID list)
How well checked: Based on official documentation.