Canvas Fingerprint Test: How It Works and How to Protect Your Browser
Canvas Fingerprint Test: How It Works and How to Protect Your Browser

What Is Canvas Fingerprinting?
Canvas fingerprinting is one of the most precise and widely used browser tracking techniques available today. It works by using the HTML5 Canvas API — a standard web technology designed for drawing graphics in the browser — to generate a hidden image, then reading back the pixel data. Because graphics rendering differs subtly between devices based on GPU hardware, graphics drivers, and operating system font rendering, the resulting image is slightly different on every device. This difference becomes a unique identifier: your canvas fingerprint. For the wider context of how canvas fits into the full fingerprinting picture, see our complete browser fingerprinting guide.
Unlike cookies, canvas fingerprints are not stored on your device. They are regenerated on every page visit by re-running the same JavaScript. This means clearing your browser history, deleting cookies, switching to incognito mode, or even reinstalling your browser has no effect on your canvas fingerprint.
How Canvas Fingerprinting Works Step by Step
- Create a hidden canvas element. JavaScript creates a canvas element that is not visible to the user.
- Draw text and shapes. The script draws a specific combination of text, shapes, and gradients onto the canvas.
- Read the pixel data. The rendered canvas is read back using
canvas.toDataURL(). - Hash the result. The pixel string is hashed to produce a compact fingerprint value.
- Send to tracking server. This hash is sent to the tracking service and associated with your browsing session.
How to Protect Against Canvas Fingerprinting
Use Brave Browser (Recommended)
Brave randomizes canvas output on a per-session basis, making cross-site tracking impossible. Verify at brave://settings/shields.
Use Firefox with ResistFingerprinting
Type about:config, search for privacy.resistFingerprinting, and set it to true.
Use CanvasBlocker Extension (Firefox)
Offers fine-grained control: Fake mode returns slightly randomized data. Fake mode is recommended over Block mode.
Summary
Canvas fingerprinting is a precise, invisible tracking technique that creates a unique identifier from how your browser renders graphics. It is unaffected by cookies, VPNs, incognito mode, or clearing your browser data. Use SpeedIQ's canvas fingerprint test to see your current fingerprint and verify whether your browser's protection is working.
Part of the Vatha network.