File Handling - Interactive Lab | IconVault
Explore the File Handling API: launchQueue consumer, simulated file launches, file_handlers manifest builder. Free, in your browser.
File Handling
File type associations and manifest handlers
Launch simulation
launchQueue: not supported
consumer: not attached
A real launch only happens when an installed PWA declares file_handlers and the OS opens a file with it. This page is not an installed PWA, so the picker stands in: chosen files flow through the same consumer code a real launch would use.
5 of 5 free simulations left.
file_handlers snippet builder
App name
Action URL
Extensions (comma separated)
Launched files (0)
Files opened with your PWA would arrive here through launchQueue. Run a simulation to see the flow.
Generated manifest snippet
{
"name": "My PWA",
"file_handlers": [
{
"action": "/open",
"accept": {
"application/octet-stream": [
".png",
".jpg",
".md",
".txt"
]
}
}
]
}Paste file_handlers into your web app manifest, then install the PWA. After that, opening one of these file types from the OS offers your app, and the files arrive in launchQueue exactly like the simulation above.
About this tool
IconVault's File Handling playground demystifies the PWA File Handling API: attach a real `launchQueue` consumer, simulate an OS file launch through the same code path a real launch uses, preview launched text files, and generate the `file_handlers` manifest snippet your PWA needs to register file types. It is free and runs fully in your browser.
You will learn why a real launch needs an installed PWA with a manifest declaration, how launched files arrive as FileSystemHandle objects, and how to read their contents with getFile(). The manifest builder produces a copy-ready snippet with your app name, action URL and accepted extensions.
Frequently asked questions
Popular searches
More tools
Algorithm Visualizer
Watch sorting and searching animate step by step
Alt Text Helper
Write better image alt text with live feedback
ARIA Reference
Searchable ARIA roles and attributes guide
Array Visualizer
Step through map, filter, reduce like a debugger
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon