How to get a file or blob from an object URL?

The Solution to How to get a file or blob from an object URL? is


Modern solution:

let blob = await fetch(url).then(r => r.blob());

The url can be an object url or a normal url.

~ Answered on 2018-09-19 16:04:41


Most Viewed Questions: