Skip to Content
Platform.Ontology

File System Access: open and save pickers

Lets the person pick files and then read and write them in place; Chromium only.

You pick what to shareFiles and storageFilesWeb browsersWhile you use it

In one line

Can open files you pick and save changes back to them, in Chrome and Edge

Lets the person pick files and then read and write them in place; Chromium only.

A site can open a local document, edit it and save over the original, like a desktop app. The person picks the file, and the browser asks again before write access.

What it can and can't do

What the user does: You click Open file or Save as, pick, and later click Allow.

It can

  • Open the file you pick
  • Save changes in place, once you allow saving
  • Create a new file where you choose in Save as
  • Remember a file to reopen it later, but ask you again for permission

It cannot

  • See other files in the same folder
  • Change the file before you allow saving
  • Pick sensitive locations such as system folders
  • Work in Firefox or Safari

How it differs between platforms: Chrome and Edge on computers only. Firefox, Safari and phones do not have it.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported862020-10-20None
EdgeSupported862020-10-09None
FirefoxNot supportedNot availableNot listedNone
SafariNot supportedNot availableNot listedNone
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidSupported1322025-01-14None
Samsung InternetSupported29.02025-10-25None

How a site asks for it

APIshowOpenFilePicker(); showSaveFilePicker(); FileSystemFileHandle.createWritable()
Permission namefile-system-access
Browser compat keysapi.Window.showOpenFilePicker
api.Window.showSaveFilePicker
api.FileSystemFileHandle
How access is grantedpicker
What the user seesChrome file chooser, then Edit files / Save changes permission bubble
Needs a secure context (HTTPS)Yes
Needs a user gestureYes
Activationtransient
How long it lastsHandles can be stored in IndexedDB; Chrome 122 offers Allow on every visit persistent permission
How to take it backNothing to revoke (no permission is stored)
Inside an iframeNot available in cross-origin iframes (SecurityError); secure context

Typical flow

  1. Person clicks
  2. Page calls showOpenFilePicker
  3. Chrome shows file chooser (and a Save changes prompt for write)
  4. Page reads or writes through the handle

Data you get

Shape: none

No individual data fields. The signal is the access itself.

Technical limits

  • Needs transient user activation and a secure context
  • Chrome and Edge 86 only (no Firefox, no Safari); Safari and Firefox expose only OPFS
  • Write access prompts after the pick (Edit files? bubble); permission lasts until all tabs of the site close, or persistent in Chrome 122
  • Chrome blocks picking system files and some folders (for example files in system directories and executables like .exe and .bat are warned or blocked for writing)
  • startIn can name well known folders (desktop, documents, downloads, music, pictures, videos) or reuse an id; the page cannot read the full path

The story

What it is

Lets you pick files, then the site reads and writes them in place (Chromium only).

For you

A system window opens so you choose a file. Pick it, and the site can save changes back to the same file. The browser asks again after you close the tab.

For makers

It makes web apps feel like desktop apps, with open, save and save as. That helps web editors and tools replace installed software. It only works in Chromium browsers today.

Where you see it

TypeExampleApps
creativeA web photo editor opens your image, lets you edit, and saves back to the same file.Photopea
creativeA web drawing tool lets you open and save sketches on your disk.Excalidraw
gamesA browser game editor opens a map file and saves it back as you work.None named
productivityA web text or code editor opens a file and saves changes in place.VS Code for the Web
creativeA music tool opens a project file and writes the changes without making a copy.None named
securityA scam page asks to save a file to a sensitive place. Browsers refuse many locations.None named
enterpriseA company web app edits spreadsheets in place on a shared drive.None named

Risks

  • Can overwrite files
  • Chromium only

What the platform says

Good uses and abuse

Legitimate uses

  • Text and image editors
  • IDE and design tools
  • Save as to chosen folder

Known abuse

  • Ransomware style bulk writes (mitigated by prompts and blocklist)
  • Planting a malicious file after a deceptive save prompt

Scores

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2020-10, Chrome 86: File System Access pickers ship
  • 2023-02, Chrome 110: Dangerous file types blocked for write in some cases
  • 2024-02, Chrome 122: Persistent permissions for handles (Allow on every visit)

Sources

How well checked: Based on official documentation.

On this page