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.
Related
Do PWAs work offline?
PWAs can work offline, but only for content their service worker has explicitly cached. Registering a service worker does not automatically make a site offline-capable — you decide what to cache (app shell, API responses, images) and what strategy to use (cache-first, network-first, stale-while-revalidate).
Can a PWA access the camera?
Yes. A PWA can access the camera, microphone, geolocation and file system through the same Web APIs a regular website uses (getUserMedia, showOpenFilePicker, Geolocation). Every capability requires explicit user permission and works cross-platform, though a few APIs (Bluetooth, USB, NFC) are still Chromium-only.