File Handling provides a way for web applications to declare the ability to handle files with given MIME types and extensions. The web application will receive an event when the user intends to open a file with that web application.

Motivation

Powerful web applications need to express their ability to read and edit files from the file system on the user’s device. Once a web application expresses this ability, it should be listed alongside native applications with similar abilities in host operating system surfaces, such as “Open with…” dialogs and context menus.

Demo

Documentation

Status in Chromium

UI>Browser>WebAppInstalls


Origin trial (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Defer
  • No signal
  • Positive

Owners

Intent to Prototype url

Intent to Prototype thread

Search tags

files, file handling, mime,

Last updated on 2021-11-17