coderef

ClipboardItem.supports()Baseline · Newly available

The ClipboardItem.supports() static method checks if the browser supports writing data types such as "image/svg+xml" or other custom formats to the system clipboard.

Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Mar 31, 2025.

Browser support

DesktopChrome
1–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155
Edge
12–120Not supported
121+Supportedsince Jan 25, 2024
Current: 154
Firefox
1–126Not supported
127+Supportedsince Jun 11, 2024
Current: 157
Safari
1–18.3Not supported
18.4+Supportedsince Mar 31, 2025
Current: 27
MobileChrome Android
18–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155
Firefox Android
4–126Not supported
127+Supportedsince Jun 11, 2024
Current: 157
Safari iOS
1–18.3Not supported
18.4+Supportedsince Mar 31, 2025
Current: 27

How to use

Every current browser supports this, but it only became Baseline on Mar 31, 2025. Use it as a progressive enhancement, or keep a fallback if you support older devices.

Example

Full syntax and examples are on MDN: supports static.

Feature detection

JS · check before using
if ("ClipboardItem" in globalThis && "supports" in ClipboardItem) {
  // ClipboardItem.supports is available
}