← Glossary

What Is a WebGL Fingerprint?

A WebGL fingerprint is a set of signals a script collects from the browser's WebGL implementation, including renderer and vendor strings, supported extensions and parameter limits, and hashes of rendered output, used to characterise the graphics environment. It describes a hardware and driver class, and browsers differ in how much of it they expose.

Updated:

A WebGL fingerprint is the combination of observable graphics characteristics that a web page can read through the WebGL API and use to distinguish one browsing environment from another. WebGL is the JavaScript interface for rendering 2D and 3D graphics in a canvas element, closely following OpenGL ES, and because it hands work to the device's graphics stack, its behaviour reflects that stack: which GPU and driver are present, which optional extensions they support, what numeric limits they impose, and exactly how they rasterise a given scene. A fingerprinting script queries those properties and may also draw a test image and hash the resulting pixels. The output is a compact description of the graphics environment. It is one input to browser fingerprinting, whose usefulness depends on the collected features, their stability and the comparison population, but it is not a unique identifier of a device or a person, and the amount a browser reveals is a matter of that browser's privacy settings.

Renderer Information and Capability Signals

The most direct signals are strings. A WebGL context exposes getParameter for values including VENDOR, RENDERER, VERSION and SHADING_LANGUAGE_VERSION. The Khronos specification for the WEBGL_debug_renderer_info extension explains that implementations may mask the RENDERER and VENDOR strings of the underlying driver for privacy reasons, and that the extension defines UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL for debugging when the browser makes that extension available. A renderer fingerprint built from those strings might read as a particular GPU family from a particular vendor through a particular translation layer, which can narrow the apparent graphics environment without proving which physical GPU is installed.

Capability signals come next. A script can list the supported extensions, read numeric limits such as the maximum texture size, maximum viewport dimensions and aliased line width range, and probe precision formats for shaders. Each value is set by the GPU, driver and browser implementation together, so the list of supported extensions and the pattern of limits varies between graphics stacks. These GPU rendering signals require no drawing at all; they describe reported capabilities rather than the result of a rendered test scene.

Rendering Measurements and Comparison

The second class of signals comes from actually rendering. A script creates a small canvas, obtains a WebGL context, draws a scene with chosen geometry, shaders, textures, blending and anti-aliasing, reads the pixels back, and hashes them. Different graphics stacks produce slightly different pixels for the same instructions, because of differences in floating-point handling, rasterisation rules, anti-aliasing implementation and driver optimisations. The hash therefore encodes a sample of the stack's rendering behaviour.

Comparison works by matching these components against previously seen values. A tracking system stores the renderer strings, extension list, parameter values and render hashes for a visitor and later compares a new visit's values to find a match. Some components repeat across sessions, while settings, selected GPU, privacy protections or software changes may alter others. Matching values are evidence of similar observed configurations, not proof of one device. The strength of a match depends on how common the combination is and whether the same test produced both samples. Fingerprinting systems combine the WebGL fingerprint with other signals, such as fonts, screen metrics, audio processing and canvas 2D output, to narrow further, and they treat the result as a probabilistic estimate.

WebGL Fingerprints Compared With Canvas and Browser Fingerprints

TechniqueWhat is measuredWhat it mainly reflectsRelationship
WebGL fingerprintRenderer and vendor strings, extensions, parameter limits, hashes of 3D renderingGPU, driver, graphics translation layer, browser WebGL implementationA component of the overall browser fingerprint
Canvas fingerprintHash of 2D canvas drawing, typically text and shapesFont rendering, anti-aliasing, 2D rasteriser, installed fontsA separate component; both use canvas elements but different rendering paths
Browser fingerprintThe combined set of all collected signalsThe whole environment as the page can observe itThe aggregate that WebGL and canvas feed into

WebGL vs canvas fingerprint is a question of rendering path. Canvas 2D fingerprinting draws text and shapes through the browser's 2D graphics code and is sensitive to fonts and text rendering. WebGL fingerprinting uses a graphics implementation that may involve a GPU, a translation layer such as ANGLE, or a software renderer. Canvas 2D can also use hardware acceleration, so the distinction is the API and test path rather than a simple CPU-versus-GPU split. A machine can have an ordinary canvas fingerprint and a distinctive WebGL one, or the reverse, which is why trackers collect both.

Browser Controls and Masking

Browsers decide how much to expose. The Khronos specification advises user agents to carefully consider whether to expose the debug renderer extension in non-privileged settings, noting that identifying a specific graphics card could reveal personal information. MDN records that depending on the browser's privacy settings the extension may be available only to privileged contexts or not work at all, and that in Firefox the extension is disabled when the resist-fingerprinting preference is enabled. Brave documents both API restrictions and seeded randomisation of selected values by session, site and storage area. The aim is to make repeated measurements less useful for tracking; it does not guarantee that other signals cannot correlate activity. Other browsers return generic renderer strings in some configurations, which collapses many machines into one reported value.

Each approach has costs. Masking the renderer removes information developers use to work around GPU bugs. Randomising rendered output can make pages that depend on exact pixels behave inconsistently. Disabling WebGL entirely breaks maps, games and visualisations. Privacy settings therefore trade compatibility for reduced identifiability, and a site that reads WebGL signals from a browser with such settings receives values that are deliberately uninformative or deliberately unstable.

Limits of the Signal

A renderer string is not a unique hardware identifier. Many machines with similar graphics configurations return the same strings and limits, while rendering outputs can vary with settings and the test used. Conversely, different physical hardware can expose the same generic values. The signal also changes with driver updates, browser releases, operating-system upgrades and changes to graphics settings, so there is no fixed guaranteed lifetime for a match. A routing-only proxy or VPN does not itself change the local graphics implementation. A site may therefore combine unchanged graphics signals with a changed address, although that combination does not prove the visits came from one person. Virtual and cloud environments may expose virtual GPUs, passed-through hardware or software renderers. Software fallback is not universal: Chromium has deprecated automatic SwiftShader fallback for WebGL, and context creation can fail rather than produce a software-rendered fingerprint. Anti-detect browsers that alter reported values must keep them consistent with the rest of the environment, because inconsistent strings and measured capabilities can provide another clue; their significance depends on the comparison. A WebGL fingerprint describes a graphics environment with useful precision, and its evidential weight depends on how many others share it and on which values the browser exposes and how consistently the measurement can be reproduced.

Frequently asked questions

Is a renderer string unique to one person?

No. A renderer string describes an exposed graphics implementation, often shared by many devices or generalised by privacy protections. It is not a serial number or proof of a person. Its contribution to matching depends on other measurements and how common the reported configuration is.

Does a proxy change WebGL signals?

A routing-only proxy or VPN does not itself alter the browser's local graphics stack. Other changes made by a browser tool may affect reported values, but those are separate from routing. Matching WebGL values across two addresses still does not prove that one person made both visits.

Can privacy settings restrict renderer information?

Yes. Firefox disables the debug renderer extension when resist-fingerprinting is enabled, the Khronos specification advises browsers to consider withholding it in non-privileged contexts, and Brave randomises fingerprintable values per session and site. Some configurations return generic renderer strings instead of the real ones.

How does a WebGL fingerprint differ from a canvas fingerprint?

Canvas fingerprinting commonly means measuring 2D drawing such as text and shapes. WebGL fingerprinting uses WebGL capabilities and rendered scenes. Both may involve hardware acceleration, and both use canvas surfaces; the distinction is the API and measurements, not simply CPU versus GPU.

Does the fingerprint stay the same forever?

No. Driver and browser updates, graphics configuration, GPU selection and privacy protections can change the values. Some measurements may repeat over many sessions, but there is no guaranteed duration. A changed result also does not necessarily mean a different device is being used.