Font enumeration by text metrics
Tests hundreds of font names by comparing text width against a fallback font.
In one line
Can test hundreds of font names to learn which fonts are on your device
Tests hundreds of font names by comparing text width against a fallback font.
Installed fonts reveal OS, Office or Adobe apps, languages and sometimes profession (design, dev). The list is stable and shared by few people, one of the strongest fingerprint inputs.
What it can and can't do
What the user does: Nothing. It happens when the page loads
It can
- Measure text width for each font name against a plain fallback font
- Build a list of fonts you have installed
- Guess your system, apps like Office or Adobe, and sometimes your job
- Use the list to recognise you later, since few people share it
It cannot
- Open your font files or see your files
- Ask permission first
- Get a clean list in Tor Browser or Safari 26, which limit this
- Know your name by itself
How it differs between platforms: Safari 26 and Tor Browser limit font checks. Chrome, Edge and Firefox allow them in normal browsing.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 4 | 2010-01-25 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 3.6 | 2010-01-21 | None |
| Safari | Supported | 4 | 2009-06-08 | None |
| Safari on iPhone | Supported | 4 | 2010-06-21 | None |
| Chrome on Android | Supported | 4 | Not listed | None |
| Samsung Internet | Supported | 5.0 | 2016-12-15 | None |
How a site asks for it
| API | canvas measureText(); element.offsetWidth; getBoundingClientRect(); document.fonts.check() |
| How access is granted | none |
| What the user sees | Not listed |
| 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
- Render a test string in 'monospace', record width
- For each candidate font render 'font, monospace' and compare widths
- A mismatch means the font is installed
Data you get
What comes back: Probe 100 to 1,000 font names, 1 bit each (installed or not)
Shape: list
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
installed fonts | list | None | 0 to 500 of those probed | exact names for the probe list |
Technical limits
- Cannot list font names directly without Local Font Access permission
- Probe lists are finite
- Firefox RFP and Tor expose only a bundled set
The story
What it is
A script tests hundreds of font names by comparing text width with a fallback font to see which are installed.
For you
You never see it. The page writes a word in each font name and measures how wide it is. If the width changes, that font is on your device, and your font list works like a signature.
For makers
Design and document tools need to know which fonts you have. Trackers use the same trick because few people have the same font set, especially people who install apps like Office or Adobe.
Where you see it
| Type | Example | Apps |
|---|---|---|
| creative | A web design tool lists fonts you own so your mockups match what you will print. | Figma, Canva |
| productivity | A web document editor warns that a font in a file is missing on your computer. | Google Docs, Microsoft 365 web |
| ads | A tracker checks 500 font names and uses the list as a strong part of a device ID. | None named |
| security | A fraud tool sees a device with no common fonts and suspects a cloud server or bot. | None named |
| shopping | A custom print shop shows a preview using fonts you already have so the look matches. | None named |
| games | A browser game with a creator mode asks which fonts to offer for custom signs. | None named |
| accessibility | A reading site checks for dyslexia friendly fonts on your device before loading its own. | None named |
Risks
- Font list is very unique
- No prompt needed
- Hard to stop
What the platform says
- Google Chrome: Local Font Access API. Chrome offers a permission based way for design apps to list your fonts, instead of guessing by measuring.
Good uses and abuse
Legitimate uses
- Detect CJK and emoji coverage
Known abuse
- Cookieless ID, profession or OS inference
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 1 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 7 | Rough identifying entropy, when known |
History
- 2013-01, paper: Nikiforakis et al. Cookieless Monster documents font fingerprinting
- 2016-01, paper: AmIUnique reports fonts about 8 bits (Flash era)
Related capabilities
Related
- SVG text metrics. Can measure picture text sizes to learn about your fonts and system
- Emoji and glyph rendering. Can draw emoji to tell your system and version apart
Sources
How well checked: Based on official documentation.