AES Encryption / Decryption Tool
Encrypt and decrypt text free online using real AES-256-GCM via the browser's Web Crypto API. Industry-standard encryption, not a toy cipher, all client-side.
Real AES-256-GCM via Web Crypto API -- everything stays in your browser.
How to Use This Tool
AES Encryption / Decryption Tool is a free online tool that works entirely in your browser — no signup, no data uploaded, no limits.
Real Browser-Native Cryptography, Not a JavaScript Reimplementation
Many online "encryption tools" implement their own simplified cipher in JavaScript, which is risky because cryptographic algorithms are notoriously easy to implement incorrectly in subtle ways that undermine security. This tool instead calls the Web Crypto API's SubtleCrypto interface directly -- the same audited, standardized cryptographic engine browsers use for HTTPS connections and other security-critical operations.
AES-256-GCM is the specific algorithm and mode used: AES-256 for the encryption strength, GCM for combined encryption and tamper detection. This combination is widely considered the current standard for symmetric encryption in modern applications.
Why a Passphrase Is Not Used Directly as the Key
A human-chosen passphrase, even a good one, has far less entropy than a properly random 256-bit key. PBKDF2 with 100,000 iterations and a random salt deliberately makes deriving the actual encryption key from the passphrase slow and resistant to brute-force guessing, closing the gap between human-memorable input and cryptographic-grade key strength.
Why GCM Mode Specifically
Older AES modes like ECB have well-documented weaknesses (identical plaintext blocks produce identical ciphertext blocks, leaking patterns). CBC mode fixes that but provides no built-in way to detect tampering. GCM mode provides both strong encryption and an authentication tag that detects if the ciphertext was modified after encryption -- exactly the properties a general-purpose encryption tool should default to.
Frequently Asked Questions
No comments yet
Be the first to share your experience with this tool!