What WebGL is and why you might need it
WebGL is a technology that lets websites display 3D graphics and animations directly in your browser without installing anything extra. If a website shows you a 3D model you can rotate, a map you can tilt and zoom, or a game with 3D environments, that site is probably using WebGL.
Most modern browsers have WebGL turned on by default, but it can be disabled — either by accident, by a security setting, or because you turned it off yourself. If a website tells you WebGL is not supported or you see a blank space where a 3D graphic should be, you may need to turn it back on.
WebGL is safe to enable. It has the same security protections as other web technologies, and disabling it rarely solves real problems. If you disabled it in the past because of a specific issue, that issue is usually fixed by now.
Key Takeaways
- WebGL is turned on by default in Chrome, Firefox, Safari, and Edge, so most people do not need to change anything.
- If a website says WebGL is missing, the fastest check is to visit a WebGL test site to see whether your browser supports it at all.
- In Chrome and Edge, you turn WebGL on through Settings > Advanced > System, then toggle Hardware Acceleration on.
- In Firefox, you go to about:config and search for webgl.disabled, then make sure it is set to false.
- Safari and most mobile browsers have WebGL on by default and do not offer a user-facing toggle.
Check whether WebGL is actually disabled
Before you change any settings, confirm that WebGL is the real problem. Visit get.webgl.org in your browser. If you see a spinning cube and the words "Your browser supports WebGL", WebGL is already on and working — the issue is something else.
If you see a red message saying WebGL is not supported, or if the page is blank, then WebGL is either disabled or your graphics hardware does not support it. Try the steps below for your browser. If WebGL still does not work after you turn it on, your hardware may not support it, and you will need to use a different device or browser.
Enable WebGL in Chrome or Edge
Open Chrome or Edge and click the three-dot menu in the top right corner. Select Settings.
On the left side, click Advanced to expand it, then click System. Look for the toggle labeled Hardware Acceleration. If it is already on (the toggle is blue or switched right), WebGL is enabled. If it is off, click the toggle to turn it on.
Close and reopen your browser completely — do not just close the tab. Then visit get.webgl.org again to confirm WebGL is working.
Enable WebGL in Firefox
Open Firefox and type about:config in the address bar, then press Enter. Firefox will show you a warning. Click Accept the Risk and Continue.
In the search box at the top, type webgl.disabled. You will see one result. Look at the Value column on the right. If it says false, WebGL is already on. If it says true, click the two-arrow icon on the right side of that row to flip it to false.
Close and reopen Firefox completely. Then visit get.webgl.org to test it.
Enable WebGL in Safari
Safari turns WebGL on by default and does not give users a toggle to turn it off. If a website says WebGL is missing in Safari, the issue is usually that the website itself is broken or incompatible with Safari, not that WebGL is disabled.
If you are on an older Mac running an old version of Safari, update macOS to the latest version your computer supports. Newer versions of Safari have better WebGL support. You can check your Safari version by clicking Safari in the menu bar, then About Safari.
Enable WebGL on mobile browsers
Chrome, Firefox, and Safari on iPhone and Android all have WebGL on by default. Mobile browsers do not offer a user-facing setting to turn WebGL on or off.
If a website says WebGL is not supported on your phone, the website may not be designed for mobile, or your phone's graphics hardware may not support it. Try the website on a computer instead, or contact the website's support to ask whether they support mobile devices.
What to do if WebGL still does not work
If you have turned on Hardware Acceleration or set webgl.disabled to false, closed your browser completely, and WebGL still does not work on get.webgl.org, your graphics hardware may not support WebGL. This is rare on modern computers but common on very old machines or on some virtual machines.
You can also try updating your graphics drivers. On Windows, right-click the desktop and look for an option to open your graphics control panel (NVIDIA, AMD, or Intel depending on your card). Check for driver updates. On Mac, update macOS. On Linux, update your graphics drivers through your package manager.
If WebGL works on get.webgl.org but not on a specific website, the problem is with that website, not your browser. Contact the website's support team or try a different browser.
Frequently Asked Questions
Is WebGL a security risk?
WebGL has the same security model as other web technologies. Websites cannot use WebGL to access your files, camera, or location without your permission. If you have concerns about a specific website, you can block it in your browser settings without disabling WebGL entirely.
Why would I want to turn WebGL off?
Most people never need to. In the past, WebGL had bugs that caused crashes on some computers, but those are fixed now. The only reason to disable it today is if a specific website is crashing your browser and you have confirmed that website uses WebGL — which is rare.
Does WebGL work on all websites?
No. WebGL is optional — websites choose whether to use it. Most websites do not use WebGL at all. Only sites that need to show 3D graphics, like games, design tools, or interactive maps, use it.
What if my browser is very old?
Very old browsers (more than five years old) may not support WebGL at all, even if you turn it on. Update your browser to the latest version. If your operating system is too old to run a new browser, you may need to use a different device.
Can I test WebGL on my phone?
Yes. Visit get.webgl.org on your phone's browser. If you see the spinning cube, WebGL is working. If you see an error, your phone may not support WebGL, or the website itself may not work on mobile.