What Is WebXR? AR and VR in the Web Browser (2026)
By AR Compare Team ·
WebXR is the web standard that lets a web page run AR and VR on glasses and headsets. Its full name is the WebXR Device API, and it gives a page access to head tracking, controllers, hand tracking and the display, so people open an experience with a link instead of installing an app. The W3C’s latest version is a Candidate Recommendation Draft dated November 9, 2026, the stage before a final standard.
The details come from the W3C’s WebXR Device API and the Immersive Web site, read November 27, 2026. For glasses and headsets developers build for, see best AR glasses for developers.
What it does
A WebXR page can run in 3 ways:
- Inline: XR content inside a normal web page.
- Immersive VR: the content fills a headset.
- Immersive AR: the content sits on top of your view of the real world.
Because it’s the web, there is no app store step, and an update reaches everyone the next time they load the page. The page must be served over HTTPS (or localhost while you test), and browsers only start an immersive session after the user does something, such as clicking a button.
Its status
The W3C draft comes from the Immersive Web Working Group, with editors from Google and Meta. The previous Candidate Recommendation Snapshot dates from March 31, 2022. The W3C notes that this stage does not mean it has endorsed the standard.
Which devices run it
- Snap Spectacles: Snap’s WebXR page says WebXR apps run on Spectacles (5th generation) through the Browser Lens, with hand tracking as the main input. See the Snap Spectacles SDK.
- Browsers: the Khronos Group’s OpenXR page lists Chrome, Edge and Wolvic as using WebXR.
WebXR and OpenXR
OpenXR is the matching standard for installed apps and game engines. Khronos’s list of engines says WebXR supports OpenXR as its default backend. See what is OpenXR.
How people build with it
WebXR handles sessions, tracking and input; drawing the scene is up to your page. Many developers use a 3D library. The Immersive Web site has starter scenes for A-Frame, Babylon.js and PlayCanvas, and Snap recommends PlayCanvas for Spectacles. Apps for Snap’s newer consumer glasses, Snap Specs, are built in Lens Studio.
Frequently asked questions
What is WebXR?
A web standard, the WebXR Device API, that lets a web page use VR and AR hardware: head tracking, controllers, hand tracking and the display. People open the experience with a link instead of installing an app.
Is WebXR a finished standard?
Not yet. The W3C published it as a Candidate Recommendation Draft, most recently on November 9, 2026. That is the stage before a final Recommendation.
Which AR glasses support WebXR?
Snap's Spectacles (2024) docs say WebXR apps run in the Spectacles Browser Lens, with hand input. Khronos lists Chrome, Edge and Wolvic as browsers using WebXR.
What is the difference between WebXR and OpenXR?
WebXR is for web pages; OpenXR is for installed apps and engines. Khronos lists WebXR as supporting OpenXR as its default backend.
What do I need to build a WebXR app?
A web page served over HTTPS (or localhost while testing), and usually a 3D library such as A-Frame, Babylon.js or PlayCanvas. Browsers only start an immersive session after the user does something, like clicking a button.