OS Integration

Web Share

Probing…

Web Share is a web platform capability in the OS Integration category. Open the native share sheet with text, links or files. Supported in Chromium 89+ and Safari 12.1+; not available in Firefox. Requires a secure context (HTTPS or localhost) and a user gesture such as a click or tap.

Secure contextUser gesture

Try it

Loading demo…

Code

await navigator.share({
  title: 'Browser Capabilities',
  text: 'Check out this collection of modern web APIs.',
  url: 'https://example.com',
})

Browser support

Chromium
89
Firefox
No
Safari
12.1

Frequently asked questions

Which browsers support Web Share?

Supported in Chromium 89+ and Safari 12.1+; not available in Firefox.

Does Web Share require HTTPS?

Yes. Web Share needs a secure context, so it only works over HTTPS (or on localhost during development).

What is Web Share used for?

Open the native share sheet with text, links or files.

Can I try Web Share in my browser?

Yes. shwcs.net runs a live Web Share demo that probes your current browser and lets you try the API. Everything runs locally — nothing is sent anywhere.

MDN reference ↗ Specification ↗