fetch("url-to-image") .then(function(response) { return response.blob() }) .then(function(blob) { // here the image is a blob });