.asar Electron Archive (ASAR)
Other formats
| MIME type | application/x-asar |
|---|---|
| Description | Electron Archive (ASAR) |
| Acronym | ASAR – Atom Shell Archive Format |
| Category | Other formats |
| Signature (magic bytes) | 04 00 00 00 (....) |
Frequently asked questions
What is a .asar file?
A .asar file is a “Electron Archive (ASAR)” (MIME type application/x-asar). ASAR stands for Atom Shell Archive Format.
How do I open a .asar file?
With the program that created the file. On Linux, xdg-mime query default with the MIME type shows the default application, and xdg-open opens the file with it.
How can you tell a genuine .asar file?
By the bytes at the start of the file, the signature (magic bytes): 04 00 00 00 (....). On Linux and macOS, file --mime-type example.asar checks the real type regardless of the extension.
Which MIME type belongs to .asar?
The MIME type is application/x-asar. In the Apache web server: AddType application/x-asar .asar; in nginx: types { application/x-asar asar; }.