How do I open an encrypted Home Assistant backup without Home Assistant?
Decrypt the archives inside the backup .tar with the encryption key of that backup, the one in your backup emergency kit. HA Backup Opener does this in the browser and lets you save the files. Without the key, the backup cannot be opened.
What you need
Home Assistant’s documentation says: “Home Assistant encrypts your backups by default.” and “The backup emergency kit is a text file with this key.” About a lost key it says: “If you have lost that encryption key, there is no way to restore the backup.”
Source: Home Assistant, “Backup emergency kit”, read on November 24, 2026.
- The backup file: the
.tarthat Home Assistant wrote, whole. Do not unpack it first. - The encryption key of that backup. If you changed the key at some point, an older backup opens with the key you had when it was made.
The encryption key and the emergency kit
The emergency kit is a text file named home_assistant_backup_emergency_kit_….txt. It holds the name and address of your Home Assistant, the date, and a line with the key: 7 groups of 4 capital letters or digits, separated by dashes, like ABCD-EFGH-IJKL-MNOP-QRST-UVWX-YZ12. The dashes are part of the key: Home Assistant uses it exactly as written.
If your Home Assistant still runs, the same documentation page explains that you can show the key under Settings > System > Backups, on the Encryption key card, as long as you have not changed it since the backup was made. It also says: “Nabu Casa does not store your encryption key and cannot provide support in decrypting backups if the key goes missing.”
Backups made by the Supervisor with a password that you chose open with that password.
What is inside the .tar
| Part | What it holds |
|---|---|
backup.json | Not encrypted. The name and date of the backup, the Home Assistant version, whether it is protected and compressed, and the add-ons and folders it includes. |
homeassistant.tar.gz | Your configuration folder: configuration.yaml, automations.yaml, scripts.yaml, scenes.yaml, secrets.yaml, the .storage folder, and the database home-assistant_v2.db unless it was left out. |
<add-on>.tar.gz | The data of one add-on. |
media.tar.gz, share.tar.gz, ssl.tar.gz… | One archive per folder included. |
In an encrypted backup each inner archive is in the SecureTar format. That is why an archive program can list the outer .tar but says the .tar.gz files inside are damaged.
| Version | How it is encrypted |
|---|---|
| SecureTar v3 | Starts with SecureTar and the number 3. Key derived with Argon2id; data in XChaCha20-Poly1305 blocks of 1 MiB, each authenticated, the last one marked as final. Home Assistant’s documentation: “Current backups use version 3 of the format.” |
| SecureTar v2 | Starts with SecureTar and the number 2. AES-128 in CBC mode; the key is the first 16 bytes of SHA-256 applied 100 times to your key. |
| SecureTar v1 | No header: 16 bytes of salt, then the same AES-128 encryption. |
Open it in the browser
- Open HA Backup Opener and drop the backup
.taron the page. Nothing is uploaded: the file is read on your computer. - Type or paste the encryption key and press “Open backup”, or drop the emergency kit
.txtso the key is read from it. - If the key is the right one, the summary and the files appear. If it is not, the page says that the key does not open the backup and shows nothing.
- Pick an archive, search for a file, preview it, and save what you need.
Do it in your browser
Add your backup and your key. HA Backup Opener decrypts the backup on your computer and lists your files. Nothing is installed and nothing is uploaded. Free: opening and decrypting, the backup summary, the full list of files, and preview and download of configuration.yaml, automations.yaml, scripts.yaml, scenes.yaml and secrets.yaml. $9 once for everything.
Open my backupLimits
- The key is required. No key, no files.
- It does not restore. It takes files out of a backup; it does not put a backup into a Home Assistant.
- It does not connect to anything. It does not download backups from Home Assistant Cloud or from your Home Assistant.
- Large backups. The backup is read in pieces, not loaded whole. To read one file, its archive is decrypted from the start up to that file. A decrypted archive or a ZIP is assembled by the browser before it is saved, which needs that much free space; one ZIP is limited to 4 GB and 65,535 files.
- Versions 1 and 2 are not authenticated. In an uncompressed v1 or v2 backup, a changed byte inside a file’s contents cannot be detected. Version 3 detects any change.
- Links and special files in an archive are listed but not written to the ZIP.
FAQ
Can I open the backup without the key?
No. Home Assistant’s documentation says: “If you have lost that encryption key, there is no way to restore the backup.” HA Backup Opener has no way around that.
The key I typed is not accepted. Why?
Check it against the emergency kit, character by character, with its dashes. If you changed the encryption key after the backup was made, use the older key.
Is there a free way to do this?
Yes. If your Home Assistant still runs, its documentation says: “If you download the backup from the Home Assistant backups page, Home Assistant decrypts the backup on the fly.” The securetar library is open source (Apache-2.0) and can decrypt a backup from Python. HA Backup Opener does it as a web page, with nothing to install.