KeyNesta backup and export format

Read from the shared core library that writes the files and from the web app's export screen. Current as of 24 October 2026.

This is a high-level description, enough to read your own data without KeyNesta. It contains no keys and no secrets. If you find a difference between this page and a file the app wrote, tell us.

Ways out

ExportFormatEncrypted
Encrypted backupJSON file with the extension .keynesta, "format": "keynesta.backup"Yes, with a backup password
Plain JSON exportJSON file, "format": "keynesta.export"No. Anyone with the file has your secrets.
Plain otpauth listText file, one otpauth:// link per line, which most authenticators importNo
Backup file to your own storage (Individual)The vault file itself, "format": "keynesta.vault", extension .keynestaYes, with your vault passphrase

Every authenticator that reads otpauth:// links can read the plain list.

Encrypted backup

One JSON object with these fields. Binary values are standard base64.

To open one: normalise the password to Unicode NFKC and encode it as UTF-8. Derive a 32-byte key with scrypt and the stored salt. Decrypt ct with AES-256-GCM, using nonce and the authenticated data string keynesta.backup.v1. The result is the vault, as JSON. New backup passwords need at least 12 characters.

What the vault contains

Vault model version 2:

Plain exports

The JSON export is an object with "format": "keynesta.export", "version": 1 and an entries list. Each entry has the entry fields listed above, without folders. The otpauth list has one link per entry. Deleted entries are left out of both. The app warns you before it writes either file, because the secrets are readable.

Backup file versus encrypted backup

The two encrypted files are different. An encrypted backup uses a backup password you choose when you export. A backup file written to your own storage is the vault file as the device keeps it, { format: "keynesta.vault", version: 1, keyslot, data }. It opens with the vault passphrase that was in use when it was written, through the key slot, and carries no separate password. Vault History restore points are held on the sync server, sealed with your vault key, and are not a file you download.

Stability

Format changes follow the pledge: 90 days' notice, and the app keeps reading older backups. The release gate that protects existing vaults is explained in Updates never delete your data.

Try KeyNesta free. The web app needs no sign-up.

Open the web app All platforms