Security & Authentication Toolkit
For building and testing logins, tokens and access rules. Everything is generated in your browser, so secrets you test with aren't sent anywhere. Use test values, not production secrets.
Passwords
Generate strong random passwords, and hash them with bcrypt the way your login code should store them.
Tokens
Create HMAC-signed JWTs (HS256, HS384, HS512) for testing, decode any JWT to read its claims, and verify HMAC signatures.
JWT Generator
Create signed JWT tokens online using HS256, HS384, or HS512 via the Web Crypto API.
JWT Decoder
Decode JWT tokens online and inspect the header, payload, and signature instantly.
JWT Validator
Verify a JWT token's HMAC signature and check its expiry online, instantly.
Hashes and signatures
Compute SHA-256 and other hashes for checksums, and HMAC signatures for webhooks and signed requests. Base64 is an encoding, not encryption, which is worth checking when a value only looks secret.
Two-factor codes
Generate time-based one-time passwords from a test secret to check a 2FA setup.
Access and networks
Work out Unix file permissions, and the address ranges in a CIDR block for firewall and VPC rules.
Frequently asked questions
Is it safe to generate passwords online?
These tools generate values in your browser, so nothing is sent to a server. Still, generate production secrets on a device you trust.
What's the difference between hashing and encryption?
A hash can't be turned back into the original, so it's used to check data and store passwords. Encryption can be reversed with the key. Base64 is neither: anyone can decode it.
How should passwords be stored?
With a slow password hash such as bcrypt, never plain text or a fast hash like SHA-256 on its own. The Bcrypt Generator shows what a stored hash looks like.
Can I test 2FA codes here?
Yes, with a test secret. The TOTP Generator shows the current 6-digit code; don't paste a real account's secret.