immersive-web/webxr

Repository for the WebXR Device API Specification.

Bikeshed

3,156

1,107 commits

updated Sep 10, 2026

See the code

README

WebXR Device API Specification

Build Status

The WebXR device API is for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays on the Web.

Headset DevicesHandheld Device e.g. Phone
VRVR Devices, previously handled by WebVRMagic Window Behaviour
ARMixed Reality HeadsetsPhone AR

The WebXR Device API Specification is the repository of the Immersive Web Working Group.

Taking Part

  1. Read the code of conduct
  2. See if your issue is being discussed in the issues, or if your idea is being discussed in the proposals repo.
  3. We will be publishing the minutes from the bi-weekly calls.
  4. You can also join the working group to participate in these discussions.

Specifications

See also list of all specifications with detailed status in Working Group and Community Group.

Legacy

  • Legacy WebVR API Specification: Legacy WebVR API 1.1 specification for JavaScript API for accessing VR displays. Development of the WebVR API has halted in favor of being replaced the WebXR Device API. Several browsers will continue to support this version of the API in the meantime.
  • Legacy Gamepad Extensions API Specification: Extends the Gamepad API to enable access to more advanced device capabilities.

Communication

Maintainers

To generate the spec document (index.html) from the index.bs Bikeshed document:

make

Tests

For normative changes, a corresponding web-platform-tests PR is highly appreciated. Typically, both PRs will be merged at the same time. Note that a test change that contradicts the spec should not be merged before the corresponding spec change. If testing is not practical, please explain why and if appropriate file a web-platform-tests issue to follow up later. Add the type:untestable or type:missing-coverage label as appropriate.

License

Per the LICENSE.md file:

All documents in this Repository are licensed by contributors under the W3C Software and Document License.

augmented-reality
virtual-reality
web-api
webxr

immersive-web/webxr

Repository for the WebXR Device API Specification.

Bikeshed

3,156

1,107 commits

updated Sep 10, 2026

See the code

README

WebXR Device API Specification

Build Status

The WebXR device API is for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays on the Web.

Headset DevicesHandheld Device e.g. Phone
VRVR Devices, previously handled by WebVRMagic Window Behaviour
ARMixed Reality HeadsetsPhone AR

The WebXR Device API Specification is the repository of the Immersive Web Working Group.

Taking Part

  1. Read the code of conduct
  2. See if your issue is being discussed in the issues, or if your idea is being discussed in the proposals repo.
  3. We will be publishing the minutes from the bi-weekly calls.
  4. You can also join the working group to participate in these discussions.

Specifications

See also list of all specifications with detailed status in Working Group and Community Group.

Legacy

  • Legacy WebVR API Specification: Legacy WebVR API 1.1 specification for JavaScript API for accessing VR displays. Development of the WebVR API has halted in favor of being replaced the WebXR Device API. Several browsers will continue to support this version of the API in the meantime.
  • Legacy Gamepad Extensions API Specification: Extends the Gamepad API to enable access to more advanced device capabilities.

Communication

Maintainers

To generate the spec document (index.html) from the index.bs Bikeshed document:

make

Tests

For normative changes, a corresponding web-platform-tests PR is highly appreciated. Typically, both PRs will be merged at the same time. Note that a test change that contradicts the spec should not be merged before the corresponding spec change. If testing is not practical, please explain why and if appropriate file a web-platform-tests issue to follow up later. Add the type:untestable or type:missing-coverage label as appropriate.

License

Per the LICENSE.md file:

All documents in this Repository are licensed by contributors under the W3C Software and Document License.

augmented-reality
virtual-reality
web-api
webxr

Project health

Overall

4.5/10

Maintained

5/10

Code review

8/10
OpenSSF Scorecard

Significant stargazers

Don McCurdy

2,493 followers · starred Feb 2017

Xuan Huang (黄玄)

7,886 followers · starred Nov 2019

Kirat

24,753 followers · starred Sep 2017

Jeff Carpenter

186 followers · starred Jun 2017