Encoding, hashing & encryption

Encode or decode Base64, calculate MD5 or SHA digests, encrypt text with a passphrase, or minify JavaScript and shorten local names in your browser.

Text is converted using UTF-8. Choose Base64URL for use in a URL.

How to use this tool

Encoding, hashing & encryption

Choose Base64URL to embed text in a URL. To compare two texts, calculate the SHA-256 digest of each and compare the results. Spaces and line breaks also affect the digest.

Keep the entire AES ciphertext and the passphrase. You need both to decrypt it. Each encryption uses a fresh salt and IV, so encrypting the same text twice produces different results.