Help centre

Answer

Can PWAs read and write files?

Short answer

Yes on Chromium browsers (Chrome, Edge, Opera). The File System Access API lets a PWA open, read, edit and save files with the user’s permission — Figma, VS Code Web and Excalidraw use it in production. iOS Safari and Firefox fall back to the standard `<input type="file">` and downloads.

By InstantPWA engineering·Reviewed July 22, 2026

What Chromium supports

File System Access API: showOpenFilePicker, showSaveFilePicker, showDirectoryPicker. Handles persist across sessions with IndexedDB.

What everyone supports

File input (`<input type="file">`) for reads, Blob + anchor download for writes. Works everywhere but requires user interaction each time.

Feature-detect and degrade

Check `'showOpenFilePicker' in window` and fall back to the classic pattern on iOS Safari and Firefox.