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
| Export | Format | Encrypted |
|---|---|---|
| Encrypted backup | JSON file with the extension .keynesta, "format": "keynesta.backup" | Yes, with a backup password |
| Plain JSON export | JSON file, "format": "keynesta.export" | No. Anyone with the file has your secrets. |
| Plain otpauth list | Text file, one otpauth:// link per line, which most authenticators import | No |
| Backup file to your own storage (Individual) | The vault file itself, "format": "keynesta.vault", extension .keynesta | Yes, 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.
format,version:"keynesta.backup"and1kdf: scrypt withN32768,r8,p1. The file states its own values; readers acceptNfrom 2^15 to 2^20.salt: 16 random bytesnonce: 12 random bytesct: AES-256-GCM ciphertext with its 16-byte tag at the endcreatedAt: Unix time in milliseconds
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:
spacesandgroups: your folders, with names, colours and nesting.smartGroups: saved rule-based views.entries:type(totporhotp),issuer,account,displayName,secret(base32),algorithm,digits,period,counterandtags.tombstones,settingsandmeta. Readers should ignore fields they do not know.
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