Async Clipboard API
Async Clipboard API — navigator.clipboard exposes read()/write() (and the
text-only readText()/writeText()) so a page can copy and paste programmatically,
instead of relying on the older document.execCommand('copy'). Access is gated: most
engines require the call to happen inside a user-gesture handler, or a granted
clipboard-read/clipboard-write permission.
Browser & ecosystem support
Section titled “Browser & ecosystem support”| Browser / Platform | Support | Since | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop) | ✅ yes | 76 | high | ref | read() requires the clipboard-read permission. write() requires the clipboard-write permission or, from Chrome 107, a user gesture. |
| Edge (Desktop) | ✅ yes | 79 | high | ref | — |
| Firefox (Desktop) | ✅ yes | 127 | high | ref | write()/read() must be called within a user gesture event handler. |
| Safari (macOS) | ✅ yes | 13.1 | high | ref | — |
← Back to the Compatibility explorer.