Open ASAR files in your browser
The archive desktop apps built with Electron, like Slack and Discord, keep their code in. Open an app.asar right here like a folder. Nothing in it runs, and nothing leaves your device.
Or drop it anywhere on this page
What you'll see
Your app's archive opens like a folder, every file listed on the left, and the one you pick in its own viewer.
- Every file in its folder • Listed at once
- Scripts and HTML • As text in their colors
- Search • Find any file by its name
- Export • Save as ZIP or Extract all
About ASAR
Electron runs desktop apps written for the web, Slack, Discord, Obsidian and many more. Each keeps its code in an app.asar in its resources folder, an archive Electron reads like a folder, so an app's thousands of small files ship as one.
An ASAR starts with two of Chromium's pickles: a header of sizes, then a JSON list of every folder and file with its size and where it starts. The files follow one after another, never compressed, and those the app needs as real files, like native modules, sit outside it in an app.asar.unpacked folder beside it.
Filepeek lists every file in your browser like a folder, each opening in its own viewer: its scripts and HTML as text in their colors, package.json in the data viewer, its pictures and fonts in theirs. Save as ZIP or Extract all saves them, the files kept in app.asar.unpacked are left out, and nothing in the app runs.
Electron archive
.asar
Format
- MIME type
- application/octet-stream
- Made by
- The Electron project
Inside the file
- Holds
- An Electron app's files
- Index
- JSON after a short header
- Compression
- None
- Beside it
- app.asar.unpacked, for native files
Opens in every browser
Filepeek opens ASAR archives in Chrome, Edge, Firefox and Safari. On their own, browsers only download them.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open ASAR
- WindowsNo app opens it • npx @electron/asar extract unpacks it in a terminal
- MacNo app opens it • npx @electron/asar extract unpacks it in Terminal
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
How do I extract an app.asar?
Drop it on this page and it opens like a folder. Pick a file to open it, or save every file with Save as ZIP or Extract all. npx @electron/asar extract does the same in a terminal.
Where is an app's app.asar?
In its resources folder: on Windows in the resources folder of the app's own folder, and on a Mac inside the app, in Contents/Resources.
Why are some files missing?
Files an app keeps outside its archive, mostly native modules, are in the app.asar.unpacked folder beside it. Drop that folder too, and its files open like any folder's.