Web platform features explorer

File API

Widely available since 2022-07-15
Tags: api

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)

Specifications