ASAR Decompress & Unpack Web Viewer

Explore the contents of Electron .asar archives directly in your browser.

Upload a file or drag and drop

.asar files only

Understanding Electron, ASAR, and the Power of Web-Based Decompression

What is Electron?

Electron is a framework for building desktop applications using web technologies like HTML, CSS, and JavaScript. It was developed by GitHub and allows developers to create cross-platform applications that run on Windows, macOS, and Linux with a single codebase. By combining the Chromium rendering engine and the Node.js runtime, Electron enables web developers to build powerful desktop apps without learning native languages like C++ or Swift. Popular applications like Visual Studio Code, Discord, Slack, and WhatsApp Desktop are all built on Electron.

What is an ASAR File?

ASAR stands for "Atom Shell Archive". It is a simple, extensive archive format primarily used to package the source code of Electron applications. Think of it as a specialized tar-like format that concatenates all your project files into a single big file. This solves a specific problem on Windows systems where deeply nested directories (like `node_modules`) can cause path length issues.

By packing thousands of small files into one `.asar` file, Electron apps also launch faster because the OS only needs to read one file from the disk instead of searching for many small ones. However, unlike standard ZIP or RAR files, ASAR files are not compressed; they are just concatenated. This allows for random access, meaning Electron can read a specific file from the archive without unpacking the whole thing.

Why Use This Online ASAR Unpack & Decompress Tool?

Traditionally, inspecting the contents of an ASAR file required using command-line interface (CLI) tools. You would need to install Node.js, install the `asar` package globally (`npm install -g asar`), and then run commands like `asar extract app.asar destination_folder`. This process can be cumbersome, especially for designers, curious users, or developers who are not on their primary machine or don't want to clutter their system with global packages.

Our **ASAR Decompress & Unpack Web Viewer** solves this by providing a purely browser-based solution. Here is why it is so convenient:

How ASAR "Decompression" Works

Although we often use the terms "decompress" or "unzip" for ASAR files, technically, ASAR archives are not compressed (zipped). They are "packed". This distinction is important because it means we can read the raw bytes of any file within the archive directly using offsets found in the header.

When you drop a file onto this tool, we read the first 8 bytes to determine the size of the header. The header is a big JSON object that acts as a map. It tells us, for example, that "background.png" starts at byte 10240 and is 5000 bytes long. Our viewer parses this JSON map to build the file tree you see on the left. When you click a file, we simply slice that specific chunk of bytes from the file you selected and display it. If the file is a text file (JS, HTML, CSS), we decode the bytes to text. If it is an image, we create a blob URL to show it.

Handling Large Files

Performance is key in a web environment. While small text files and images are easy to preview, large files (like big videos or database dumps) can slow down the browser if we try to display them directly. That's why this tool includes a smart feature: for any file larger than 2MB, we automatically offer a download option instead of a live preview. This keeps your browser responsive while still giving you access to every single byte inside the archive.

Whether you are a developer debugging a build, a security researcher analyzing an app, or just curious about how your favorite Electron app is built, this ASAR Unpacker is the fastest, safest way to look inside.