Async Clipboard API browser support
Published
navigator.clipboard exposes read(), write(), and the text-only readText() and writeText(), so a page can copy and paste programmatically instead of relying on document.execCommand('copy').
The table covers the Clipboard interface as recorded in MDN browser-compat-data. Each engine gates reads differently (a clipboard-read permission, a user-gesture handler, or a paste prompt); the row footnotes record which gate applies.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop) | Yes | 76 | high | source | 1 |
| Chrome (Android) | Yes | 76 | high | source | 23 |
| Edge (Desktop) | Yes | 79 | high | source | 45 |
| Firefox (Desktop) | Yes | 127 | high | source | 678 |
| Firefox (Android) | Yes | 127 | high | source | 9101112 |
| Safari (macOS) | Yes | 13.1 | high | source | — |
| Safari (iOS) | Yes | 13.4 | high | source | 13 |
| Samsung Internet | Yes | 12.0 | high | source | 1415 |
| WebView (Android) | Yes | 76 | high | source | 1617 |
- The user must grant the `clipboard-read` permission.
- The user must grant the `clipboard-read` permission.
- Derived by browser-compat-data mirroring from Chrome.
- The user must grant the `clipboard-read` permission.
- Derived by browser-compat-data mirroring from Chrome.
- This method must be called within user gesture event handlers.
- A paste prompt is displayed when the clipboard is read. If the clipboard contains same-origin content, the prompt is suppressed.
- Web extensions with the `clipboardRead` permission in their manifest can read data without the paste prompt displaying. Prior to Firefox 147, extensions without this permission were unable to read clipboard data.
- This method must be called within user gesture event handlers.
- A paste prompt is displayed when the clipboard is read. If the clipboard contains same-origin content, the prompt is suppressed.
- Web extensions with the `clipboardRead` permission in their manifest can read data without the paste prompt displaying. Prior to Firefox 147, extensions without this permission were unable to read clipboard data.
- Derived by browser-compat-data mirroring from Firefox.
- Derived by browser-compat-data mirroring from Safari.
- The user must grant the `clipboard-read` permission.
- Derived by browser-compat-data mirroring from Chrome Android.
- The user must grant the `clipboard-read` permission.
- Derived by browser-compat-data mirroring from Chrome Android.
See also
Section titled “See also”- Async Clipboard API: reading and writing the clipboard
- Clipboard API and events (w3c.github.io)
- Clipboard (developer.mozilla.org)