Archives & files

ASAR Extractor

Open the app.asar of an Electron app and look at its source, assets and package.json. Extract one file, a folder or everything, without Node.js or the asar command.

  • Files are processed locally. Nothing is uploaded to a server.
Electron appsapp.asarpackage.jsonsource previewno npm needed

How it works

1

Find the archive: on Windows it is in resources\app.asar next to the program, on a Mac in Contents/Resources/app.asar inside the .app bundle.

2

Drop the .asar file onto the box above, or click to choose it.

3

Browse the folders, preview a file, or download a selection or everything as a ZIP.

What an asar file is

Electron apps such as code editors, chat clients and launchers ship their JavaScript, HTML, CSS and images in one archive called app.asar. It is a plain concatenation of the files with a JSON index at the start, not compressed and not encrypted.

This page reads that index and shows the files as a folder tree. Opening a file only reads its bytes from your copy of the archive, so even a large app.asar lists in a moment.

Unpacked files and native modules

Some files cannot run from inside an archive, mostly native .node modules and helper executables. Electron keeps them in an app.asar.unpacked folder next to the archive and only records their names in the index. The page tells you how many there are; open that folder directly to get them.

Inside installers too

Many Windows installers built with electron-builder contain an app-64.7z with the app inside. Open the installer on the EXE extractor, open the 7z, and the app.asar inside it opens here in the same view.

Frequently asked questions

Frequently asked questions

Can I read the source code of an Electron app this way?

You can read what the app ships, which is usually bundled or minified JavaScript. Respect the app’s licence: being able to read the files does not give you the right to reuse them.

Why are some files missing?

Files marked as unpacked are stored in the app.asar.unpacked folder next to the archive, not inside it. The page lists how many there are.

Can I change the files and pack them back into an asar?

Not here. This page reads and extracts. To repack, use the @electron/asar package from npm.

Is the asar file uploaded?

No. It is read locally by code running in your browser. The page works offline once it has loaded.

More extractors