Clipboard & Sharing
Clipboard Image
Read and write image Blob objects (PNG/JPEG) from the system clipboard.
Checking support...
Feature Not SupportedThis browser does not support the Clipboard Image Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const items = await navigator.clipboard.read();
for (const item of items) {
if (item.types.includes('image/png')) {
const blob = await item.getType('image/png');
}
}About the Clipboard Image Web API
Clipboard API read() and write() methods handle binary ClipboardItem objects containing image blobs.
Specification:W3C & WHATWG Web API Standard
Sponsored Content