How to share a WebXR game: links, QR codes and portals
By the Turbl team · · 10 min read
To share a WebXR game, put it on a host that serves HTTPS and send people the link. They open the link in a headset browser and press the game's VR button. There is no store review and no install, so the real work is getting a URL into a headset and getting strangers to find it.
What a player needs to open your game
WebXR is the browser feature that lets a web page start a VR or AR session. A WebXR game is a web page. Sharing it means sharing a URL.
The player needs two things:
- A browser that supports WebXR. On Meta Quest that is the built-in Meta Quest Browser. Our WebXR browser support table lists the rest.
- A link that starts with
https://.
The second point is a hard rule. MDN marks the WebXR Device API as available only in secure contexts. A secure context is a page the browser trusts to be private, which in practice means HTTPS. A plain http:// address on your home network will load the page, but the VR button will not work. The one exception is http://localhost, and that only helps on the same machine.
Where to host a WebXR game
Most WebXR games are static files: an index.html, some JavaScript, and assets such as models and sounds. Any static host with HTTPS works. The numbers below are from each host's own documentation, as of November 2026.
| Host | Cost | Limits worth knowing | Players can discover it there? |
|---|---|---|---|
| GitHub Pages | Free | Site up to 1 GB, soft limit of 100 GB bandwidth per month, not meant for running a business | No |
| Cloudflare Pages | Free plan | 20,000 files, 25 MiB per file | No |
| itch.io | Free | Up to 1,000 files, 500 MB extracted, 200 MB per file | Yes, through tags and search |
| heyVR | Free | 300 MB upload, review before going public | Yes, it is a VR game portal |
| Turbl | Free to start | Only for projects made in Turbl | No, there is no gallery |
GitHub Pages serves every github.io site over HTTPS automatically. Its terms say it is not for a site that mainly sells things. A free game is fine.
Cloudflare Pages caps a single file at 25 MiB on every plan. A large 3D model or audio file can hit that. Compress it, or split it.
A plain static host gives you a link and nothing else. Nobody browses GitHub Pages looking for games. If you want strangers to find your game, you also need a portal, covered below.
If you built the game in Turbl, you skip hosting. Publish gives you a share link, and anyone can open it in a WebXR browser without an account. Projects are private until you publish. Turbl has no public gallery, so the link is the only way in. It also only hosts what you made there, so it is not an option for an existing three.js or Babylon.js project.
How to get the link into a headset
This is where most shares fail. Your friend reads your message on a phone. The game needs to open on the headset. Typing a long URL with VR controllers is slow.
You have four ways to bridge that gap.
A short, typeable URL
The method that always works is typing. Make it painless. Use a short address with no random characters, for example a custom domain or a clean subdomain. Avoid capital letters, since paths on many hosts are case sensitive. If the URL is hard to say out loud, it is hard to type.
A Web Launch link
Web Launch is Meta's official way to send a web page from a phone or computer to a Quest. You wrap your URL in a Meta address:
https://www.oculus.com/open_url/?url=https%3A%2F%2Fexample.com%2Fgame%2F
The part after url= is your own address, URL-encoded. Encoding replaces special characters with codes, so : becomes %3A and / becomes %2F. In JavaScript, encodeURIComponent() does this for you. The target must be HTTPS.
Meta described the flow when it launched the feature in November 2022. The person clicks the link and picks one of their headsets. The page then opens in the Meta Quest Browser on that headset. They can also save it for later. This only works for Quest owners, and the headset is tied to their Meta account. Meta asks you to put Meta Quest branding on the button, so people know which devices it is for.
Put a Web Launch button on your game's page next to the normal link. Label it clearly, for example "Open on Meta Quest".
A QR code
A QR code is your URL drawn as a square pattern. A phone camera reads it in a second. That makes QR codes good for posters, slides, stream overlays and event booths. Point the code at a normal web page that has your Web Launch button and the plain URL. Then a phone user can send the game on to their headset.
Scanning with the headset itself is new. Meta's release notes for Horizon OS 2.9 say Quest 3 and Quest 3S now have a built-in QR code scanner. Horizon OS is the system software on Quest headsets. That update began rolling out the week of October 19, 2026, and Meta pushes updates gradually. The notes do not say what the scanner does with a web link, so we cannot confirm it opens the browser. Quest 2 and Quest Pro are not listed for the scanner. Print the short URL under every QR code as a fallback.
Bookmarks and messages inside the headset
Once a player has opened your game, ask them to bookmark it. A message they can read inside the headset also works, since the link is then one click away. Our Meta Quest Browser guide covers bookmarks and other settings.
WebXR portals and directories
A portal is a website that lists browser VR games and lets people play them there. Portals bring you players who were not sent by you.
heyVR
heyVR is a portal built only for WebXR games. Its public game list held 74 titles when we checked in November 2026. Publishing is free. You upgrade your account to a developer account, upload a build, and submit it. The heyVR team reviews it before it goes public. If they reject it, you get an email with the reason and can submit again.
The technical rules are short. The upload can be at most 300 MB. The build needs an index.html at its root. Executable files are not allowed.
The agreement is not exclusive. heyVR's FAQ says you keep ownership and can host the same game anywhere else. It offers in-game sales and in-game ads. Its leaderboard and other APIs only work for games published on heyVR.
itch.io
itch.io is a large indie game store that also runs HTML5 games in the browser. You upload a ZIP file with an index.html inside and pick "HTML" as the kind of project. itch.io then shows your game inside an iframe on your page. An iframe is a web page embedded in another web page.
For years that iframe blocked VR. A developer asked for the fix on the itch.io forum in May 2020. It is fixed now. We checked a live WebXR game page in November 2026, and the iframe carried xr-spatial-tracking in its allow attribute. That is the permission WebXR needs, explained in the next section. itch.io's HTML5 documentation does not mention it, so test your own upload on a headset.
In the embed options, choose "Click to launch in fullscreen" unless your game adapts to a small frame.
itch.io has a webxr tag. It listed 146 games in November 2026. HTML5 games on itch.io can only take money as donations.
Other places
VIVERSE, run by HTC, accepts any HTML5 project as a ZIP with an index.html at the top level. Its documentation lists three.js, Babylon.js, A-Frame, PlayCanvas, Godot and Wonderland Engine. We did not confirm how immersive sessions behave there, so test first.
XR Swim, an older WebXR directory, did not load when we checked in November 2026.
Portals are not the only route to an audience. You can also package a web game for the Meta Horizon Store. See our guides on PWAs on Meta Quest and on how to publish a game on the Meta Quest Store.
Embedding a WebXR game in another page
You may want the game on your own site, a blog post or a client's page. If the game sits in an iframe from a different domain, WebXR is blocked by default.
The rule comes from Permissions Policy. That is the browser system that decides which features an embedded page may use. The WebXR permission is named xr-spatial-tracking. Its default covers only the page's own origin. Without the permission, the game's request for a VR session is rejected with a security error.
The fix is one attribute on the iframe:
<iframe
src="https://example.com/game/"
allow="xr-spatial-tracking; fullscreen"
width="960"
height="540"
></iframe>
Three things still go wrong:
- The outer page is on
http://. Then the iframe is not a secure context, even if the game itself uses HTTPS. - The site builder strips the
allowattribute. Many hosted website builders do. Check the published HTML. - The frame is tiny and the VR button is hidden below its edge.
When you cannot control the iframe, link out instead. A big "Play in VR" button that opens the game in its own tab always works.
Make the link look good when shared
A bare URL in a chat gets ignored. A link with an image and a title gets clicks. Chat apps and social networks build that preview from Open Graph tags. These are meta tags in your page's head. The Open Graph protocol requires four:
<meta property="og:title" content="Cave Runner VR" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://example.com/game/cover.jpg" />
<meta property="og:url" content="https://example.com/game/" />
Use a screenshot that shows the game. Say in the title or description that it needs a VR headset. People who tap the link on a phone should learn that before the page loads.
Give those phone and desktop visitors something to do. Show a short video, the Web Launch button and the plain URL. Better still, let the game run in a flat 3D view with mouse or touch controls.
Check these before you send the link
- Open the final URL on a real headset, not only in an emulator. Testing WebXR without a headset is fine for development, but the last check belongs on the device.
- Watch the loading time on Wi-Fi. A player waiting in a headset gives up fast. Our guide to WebXR performance on Meta Quest covers asset sizes.
- Make the VR button large and visible without scrolling.
- State the supported headsets on the page.
- Keep the URL stable. Every shared link, bookmark and QR code breaks if you move the game.
FAQ
Do players need an account or an app to play a WebXR game?
No. A WebXR game runs in the headset's browser from a link. The player needs no install. Some portals ask for an account for extras such as leaderboards.
Can I share a WebXR game from my own computer without hosting it?
Not easily. WebXR needs HTTPS, and a plain local network address is http://. During development you can use a tunnel service that gives your local server a public HTTPS address. For a link that should keep working, upload the game to a host.
Does WebXR work on itch.io?
Yes, as of November 2026. The iframe that itch.io uses for HTML5 games includes the xr-spatial-tracking permission that WebXR needs. itch.io does not document this, so test your upload on a headset.
How do I send a link from my phone to my Quest?
Use a Web Launch link. Put your URL-encoded HTTPS address after https://www.oculus.com/open_url/?url= and open that link on the phone. You pick your headset, and the page opens in the Meta Quest Browser.
Is publishing on heyVR free?
Yes. heyVR's FAQ says publishing and playing are both free. Your build must pass a review and stay under 300 MB. You keep the right to publish the game elsewhere.
Why does the VR button not work when my game is embedded?
The iframe is probably missing allow="xr-spatial-tracking", or the outer page is not on HTTPS. Add the attribute, or link to the game in its own tab.
Sources
- WebXR Device API, MDN
- Secure contexts, MDN
- Permissions-Policy: xr-spatial-tracking directive, MDN
- Permissions Policy, MDN
- Use Web Launch to send links to headsets from the web, Meta
- Bring people into VR from web and mobile with Web Launch for WebXR, Meta, November 29, 2022
- Meta Quest release notes, Meta
- Uploading HTML5 games, itch.io
- Add support for WebXR, itch.io community forum, May 2020
- Elfland Glider, a WebXR game page on itch.io used to inspect the iframe
- Games tagged webxr, itch.io
- FAQ, heyVR documentation
- Game requirements, heyVR documentation
- heyVR, heyVR
- GitHub Pages limits, GitHub
- Securing your GitHub Pages site with HTTPS, GitHub
- Pages limits, Cloudflare
- Intro to standalone app publishing, VIVERSE
- The Open Graph protocol, ogp.me