Cisco Type 7 and Juniper $9$ decoder
Runs in your browserPaste a value or a whole configuration. Every password 7 and $9$ is shown in plain text: they are only scrambled, not encrypted. Nothing leaves your browser.
Paste a value or a whole configuration
Every Cisco Type 7 and Juniper $9$ value is shown in plain text. Type 5, 8 and 9 hashes are listed, they can’t be reversed.
Plain password in, type 7 or $9$ out
For testing and lab devices. On real devices use secret 9 (Cisco) or let the device hash it.
Start from an example
Each example fills in the tool above and decrypts it. All keys and passwords are demo values made for this page.
Type 7, $9$ and the hashes
| Looks like | What it is | Reversible? |
|---|---|---|
password 7 0822455D0A16 | Cisco Type 7: XOR with a fixed, published key (Vigenère). The two digits at the start choose where in the key to begin. | Yes, by anyone |
$9$… | Juniper $9$: obfuscation with fixed tables and random padding, no key. | Yes, by anyone |
secret 5 $1$… | Cisco Type 5: MD5-crypt hash. | No, only guessing |
secret 8 $8$… | Cisco Type 8: PBKDF2-SHA256. | No |
secret 9 $9$… | Cisco Type 9: scrypt. Note: also starts with $9$, but is a hash. | No |
$8$… | Juniper $8$: AES-256-GCM with the device’s master password. | Only with the master password |
Type 7 is not protection
Cisco calls type 7 “encryption”, but the key has been public since the 1990s. It only keeps passwords from being read over your shoulder. Use secret instead of password: enable algorithm-type scrypt secret … (type 9) and username admin algorithm-type scrypt secret …. Where type 7 can’t be avoided (OSPF, BGP, TACACS+, RADIUS keys), keep configurations out of tickets and chats, or use the master key encryption (type 6, key config-key password-encrypt).
The same on IOS and Junos
key chain TEST key 1 key-string 7 0822455D0A16 show key chain ! shows the key in plain text
request system decrypt password "$9$…" # Junos 22.3+
from passlib.hash import cisco_type7
cisco_type7.decode("0822455D0A16")Tested against the original tools
Every format on this page was checked against values made by the real tool, on 3 December 2026:
- 16 values from Python’s passlib (cisco_type7) and network-secret (juniper9) plus published examples; what the tool creates, those libraries read.
- Whole IOS and Junos configurations: every value is found, hashes are listed but not touched.
Other encrypted formats
Every format has its own page with the same tool. Paste anything into one of them: if it belongs elsewhere, the tool says so and takes it there.
Questions about Cisco Type 7 & Juniper $9$
How do I decrypt a Cisco type 7 password?
Paste the value or the whole configuration above. Type 7 has no secret key, so this always works.
Can type 5, 8 or 9 be decrypted?
No. They are hashes: the device stores only a fingerprint of the password. You can check a guess, but there is nothing to decrypt.
Is Juniper $9$ secure?
No. Like type 7 it only hides the password from a quick glance. For real protection Junos has $8$ with a master password.
Is it safe to paste a configuration here?
Everything runs in your browser: nothing you paste is sent anywhere, not even to this site. The page’s Content-Security-Policy blocks connections to other sites; check the Network tab of your browser’s developer tools.