How do I open an encrypted Home Assistant backup without Home Assistant?

Updated 2026-11-24 · By HA Backup Opener

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 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

PartWhat it holds
backup.jsonNot 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.gzYour 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.gzThe 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.

VersionHow it is encrypted
SecureTar v3Starts 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 v2Starts 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 v1No header: 16 bytes of salt, then the same AES-128 encryption.

Open it in the browser

  1. Open HA Backup Opener and drop the backup .tar on the page. Nothing is uploaded: the file is read on your computer.
  2. Type or paste the encryption key and press “Open backup”, or drop the emergency kit .txt so the key is read from it.
  3. 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.
  4. 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 backup

Limits

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.

More questions on the home page.