File API
Widely available since 2022-07-15
The File API represents and reads from file data and metadata. Typically, you get files through other APIs, such as the <input type="file">
element or drag-and-drop events. You may also send file data to other APIs, such as creating images or drawing on canvases.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 38 Released on 2014-10-07
- Chrome Android 38 Released on 2014-10-08
- Edge 79 Released on 2020-01-15
- Firefox 28 Released on 2014-03-18
- Firefox for Android 28 Released on 2014-03-18
- Safari 10.1 Released on 2017-03-27
- Safari on iOS 10.3 Released on 2017-03-27
Specifications
- File API, from Web Applications Working Group (W3C).