Canvas Hash

Back to Main

Your Canvas Fingerprint Hash

This cryptographic hash uniquely identifies your browser's rendering characteristics, creating a persistent tracking identifier.

Generating...

1. Technical Classification

HTML5 Canvas API Cryptographic Hash Client-Side Cookie-less Tracking

Category: Rendering Fingerprint

Data Type: Hexadecimal String (Hash)

Availability: All modern browsers with HTML5 Canvas support

A canvas hash is a cryptographic fingerprint generated from the rendered output of HTML5 canvas operations. It works by:

2. Background & Purpose

Historical Context:

Canvas fingerprinting was first documented in 2012 by Keaton Mowery and Hovav Shacham in their paper "Pixel Perfect: Fingerprinting Canvas in HTML5." The technique exploits subtle differences in how different systems render graphics.

How Canvas Hashing Works:

  1. Draw Operations: A website uses JavaScript to draw text (with specific fonts) and shapes on an HTML5 canvas element
  2. Pixel Rendering: Different combinations of hardware (GPU), software (graphics drivers), and OS render the same canvas slightly differently at the pixel level
  3. Data Extraction: The canvas is converted to a PNG image encoded as a base64 data URL using toDataURL()
  4. Hashing: The data URL string (typically 4,000-10,000 characters) is passed through a hash function to create a short, unique identifier
  5. Tracking: This hash remains consistent for the same browser/system combination and can track users across websites

Why Hashing Instead of Raw Data?

3. Hash Characteristics & Uniqueness

Common Hash Functions Used:

Uniqueness Statistics:

Study/Source Uniqueness Rate Notes
Mowery & Shacham (2012) ~5.7% unique Early study, limited sample
Acar et al. (2014) 89-99% unique Combined with other attributes
AmIUnique (2020) ~80% unique Canvas fingerprint alone
BrowserLeaks ~90-95% unique When combined with WebGL

What Makes Each Hash Unique?

4. Common Uses

Legitimate Uses:

Privacy-Invasive Uses:

⚠️ Important: Canvas fingerprinting works silently in the background. There's no browser notification, permission prompt, or visual indicator when it occurs.

5. Platform & Browser Differences

Platform/Browser Canvas Rendering Engine Hash Consistency
Windows + Chrome DirectX / ANGLE Very consistent per system
macOS + Safari Core Graphics / Metal Highly consistent, Apple-specific
Linux + Firefox OpenGL / Cairo Varies by distribution
Android + Chrome OpenGL ES / Skia Consistent per device model
iOS + Safari Core Graphics / Metal Uniform across iOS devices

Key Observations:

6. Privacy Implications & Tracking Risks

Privacy Risk Level: VERY HIGH

⚠️ Critical Concern: Canvas fingerprinting is one of the most powerful tracking techniques available. It creates a persistent identifier that cannot be cleared like cookies.

Why Canvas Hashing is Dangerous for Privacy:

Real-World Tracking Scenarios:

Legal and Ethical Concerns:

7. Protection & Countermeasures

Browser-Based Protections:

Tor Browser (Best Protection):

Brave Browser (Balanced Approach):

Firefox (Manual Configuration):

Browser Extensions:

What Doesn't Work:

Best Practices:

8. Learn More