The modern way Using the Async Clipboard API To read images from the user's clipboard programmatically, that is, after a button click, you can use the read() method of the Async Clipboard API.