Async clipboardBaseline · Newly available
The navigator.clipboard API asynchronously reads and writes to the system clipboard.
Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Jun 11, 2024.
Browser support
DesktopChrome
1–75Not supported
76+Supportedsince Jul 30, 2019
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–126Not supported
127+Supportedsince Jun 11, 2024
Current: 157Safari
1–13Not supported
13.1+Supportedsince Mar 24, 2020
Current: 27MobileChrome Android
18–75Not supported
76+Supportedsince Jul 30, 2019
Current: 155Firefox Android
4–126Not supported
127+Supportedsince Jun 11, 2024
Current: 157Safari iOS
1–13Not supported
13.4+Supportedsince Mar 24, 2020
Current: 27How to use
Every current browser supports this, but it only became Baseline on Jun 11, 2024. Use it as a progressive enhancement, or keep a fallback if you support older devices.
Example
Full syntax and examples are on MDN: Clipboard.
Feature detection
JS · check before using
if ("Clipboard" in globalThis) {
// Clipboard is available
} else {
// load a polyfill or use a fallback
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (15). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Clipboard | 66 | 79 | 63 | 13.1 | 66 | 63 | 13.4 |
| Clipboard.read | 76 | 79 | 127 | 13.1 | 76 | 127 | 13.4 |
| Clipboard.readText | 66 | 79 | 125 | 13.1 | 66 | 125 | 13.4 |
| Clipboard.type_image-png | 76 | 79 | 127 | 13.1 | 76 | 127 | 13.4 |
| Clipboard.type_text-html | 86 | 86 | 127 | 13.1 | 86 | 127 | 13.4 |
| Clipboard.type_text-plain | 76 | 79 | 127 | 13.1 | 76 | 127 | 13.4 |
| Clipboard.write | 76 | 79 | 127 | 13.1 | 76 | 127 | 13.4 |
| Clipboard.writeText | 66 | 79 | 63 | 13.1 | 66 | 63 | 13.4 |
| ClipboardItem | 76 | 79 | 127 | 13.1 | 84 | 127 | 13.4 |
| ClipboardItem.ClipboardItem | 133 | 133 | 127 | 13.1 | 98 | 127 | 13.4 |
| ClipboardItem.getType | 76 | 79 | 127 | 13.1 | 84 | 127 | 13.4 |
| ClipboardItem.presentationStyle | ✕ | ✕ | 127 | 13.1 | ✕ | 127 | 13.4 |
| ClipboardItem.types | 76 | 79 | 127 | 13.1 | 84 | 127 | 13.4 |
| Navigator.clipboard | 66 | 79 | 63 | 13.1 | 66 | 63 | 13.4 |
| Permissions.permission_clipboard-write | 64 | 79 | ✕ | ✕ | 64 | ✕ | ✕ |