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.

Specifications

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