OS Integration

Async Clipboard

Probing…

Async Clipboard is a web platform capability in the OS Integration category. Read and write text and images to the system clipboard. Supported in Chromium 66+, Firefox 63+, and Safari 13.1+. Requires a secure context (HTTPS or localhost) and a user gesture such as a click or tap.

Secure contextUser gesture

Permission clipboard-read: unknown

Try it

Loading demo…

Code

// Write
await navigator.clipboard.writeText('Hello!')

// Read (may prompt for permission)
const text = await navigator.clipboard.readText()
console.log(text)

Browser support

Chromium
66
Firefox
63
Safari
13.1

Frequently asked questions

Which browsers support Async Clipboard?

Supported in Chromium 66+, Firefox 63+, and Safari 13.1+.

Does Async Clipboard require HTTPS?

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

What is Async Clipboard used for?

Read and write text and images to the system clipboard.

Can I try Async Clipboard in my browser?

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

MDN reference ↗ Specification ↗