Clipboard API

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The Clipboard API is a modern API providing asynchronous functions and secure context support. This API is designed to supercede clipboard access using document.execCommand()

Clipboard interfaces

Clipboard Secure context
Provides an interface for reading and writing text and data to or from the system clipboard. The specification refers to this as the 'Async Clipboard API.'
ClipboardEvent Secure context
Represents events providing information related to modification of the clipboard, that is cut, copy, and paste events. The specification refers to this as the 'Clipboard Event API'.

Specifications

Specification Status Comment
Clipboard API and events Working Draft Initial definition.

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Clipboard 61 ? ? ? 48 ?
ClipboardEvent 58 (Yes) (Yes) 4.0 45 (Yes)
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Clipboard 61 61 ? ? ? 48 ?
ClipboardEvent 58 58 (Yes) ? 4.0 45 (Yes)

Document Tags and Contributors

 Contributors to this page: jpmedley
 Last updated by: jpmedley,