Can Screen Resolution Identify a Tor User?
Screen resolution alone cannot reliably identify an individual Tor user because the Tor Browser implements aggressive anti-fingerprinting defenses specifically designed to neutralize display-based tracking. While standard web browsers expose exact monitor dimensions and viewport sizes to websites, Tor Browser standardizes, spoofs, and masks these values to ensure that millions of users appear identical to tracking scripts.
How Screen Resolution Fingerprinting Works
In a standard web browser, websites can query JavaScript APIs (such
as window.screen.width, window.screen.height,
and window.devicePixelRatio) or use CSS media queries to
read your exact display properties. When combined with window borders,
taskbars, and custom display scaling settings, the resulting viewport
size often produces a rare or unique identifier. Data brokers and
tracking networks use this metric as a major component of a browser
fingerprint.
Tor Browser’s Defenses Against Resolution Tracking
To prevent screen dimensions from deanonymizing users, Tor Browser uses several layered countermeasures:
- Spoofed Screen Dimensions: When a website queries the system display size via JavaScript, Tor Browser returns the size of the browser’s content window rather than the actual physical monitor resolution.
- Letterboxing: Introduced in Tor Browser 9, letterboxing dynamically places gray margins around a web page if the browser window is resized. This ensures that the rendered content area always snaps to standardized increments (multiples of 200px wide by 100px high), grouping thousands of different window sizes into a handful of identical buckets.
- Default Uniform Window Size: Upon launch, Tor Browser opens to a rounded, standard viewport size. Users are discouraged from maximizing the window or manually adjusting borders, minimizing deviations from the common user pool.
- Uniform Color Depth and Pixel Ratio: Tor Browser forces standard reporting for parameters like color depth (typically fixed at 24-bit) and prevents the leakage of custom OS-level DPI scaling settings.
Potential Risks and Edge Cases
While Tor’s built-in protections effectively neutralize resolution-based identification, certain user behaviors can theoretically reduce anonymity:
- Disabling Letterboxing or Fingerprinting
Protections: Altering advanced configuration flags
(
about:config) can expose raw hardware metrics. - Correlated Fingerprinting: Screen resolution is never used in absolute isolation. If a user disables JavaScript protections or uses a compromised extension, trackers might combine partial display data with advanced side-channel leaks (such as CPU rendering performance) to narrow down identity.
Conclusion
Screen resolution cannot be used to track or identify a Tor user under normal operating conditions. As long as users run the standard Tor Browser without modifying its default window settings or disabling internal privacy features, display metrics provide trackers with a generic, shared profile shared by the entire Tor user base.