# WebXR

> A web standard that lets a web page show VR and AR on headsets and phones.

**Field:** Design  
**Category:** 3D & Immersive  
**Also known as:** WebXR Device API, WebVR, Web XR

## Think of it like

It is like a door in a web page. It opens into a world in a headset.

## Definition

WebXR is a web standard that lets a web page run VR and AR. The page asks the browser for an XR session. The browser hands over the headset's position and the controllers. The page draws the 3D scene with WebGL, once for each eye. The W3C, the group that writes web standards, looks after it.

## Example

Lucy builds a museum tour with three.js. Visitors open a link on a headset, tap Enter VR and walk the rooms with no app to install.

## Why it matters

A link is easier to share than an app. No store review and no install between the visitor and the experience.

## Common mistake

Assuming every browser supports it. Check for support first and show a plain 3D view when it is missing.

## Three principles

- **From a web page.** No app to install.
- **Browser gives tracking.** Head and controllers.
- **Draws with WebGL.** Once for each eye.

## Related terms

- [WebGL](https://learn.benibix.com/term/design/webgl)
- [three.js](https://learn.benibix.com/term/design/three-js)
- [Virtual Reality (VR)](https://learn.benibix.com/term/design/virtual-reality)
- [Augmented Reality (AR)](https://learn.benibix.com/term/design/augmented-reality)
- [Head-Mounted Display (HMD)](https://learn.benibix.com/term/design/head-mounted-display)

![A row of steps: a model made in a 3D app, exported as a file, loaded by a JavaScript library in a web page, drawn through WebGL by the graphics card, and shown on screen.](https://learn.benibix.com/diagrams/web-3d-pipeline.svg)

---

Source: https://learn.benibix.com/term/design/webxr
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
