AESテキスト暗号化ツール
AES-256-GCMとパスフレーズ由来の鍵でテキストをローカルに暗号化・復号します。平文もパスフレーズもアップロードされません。
ツール操作エリア
アカウント不要AES-GCM text encryptor
Core processing uses browser APIs and locally loaded libraries, not an upload endpoint. Optional analytics and device or clipboard access are separate privacy considerations. Use synthetic data; browser processing is not a guarantee of confidentiality.
Encrypt downloads a name.ext.encrypted.json envelope using the passphrase, key size, and cipher mode above. Decrypt expects an envelope file created by this tool and downloads the original file. Files are processed in your browser only and are never uploaded.
How it works
Everything runs in your browser with the Web Crypto API — text and files are never uploaded. Your passphrase is stretched with PBKDF2-HMAC-SHA-256 (100,000 iterations) and a random 16-byte salt, and a fresh random IV is generated for every encryption (12 bytes for GCM, 16 bytes for CBC and CTR), so encrypting the same text twice produces different output. The salt and IV are not secret: they travel with the ciphertext in the JSON envelope, or packed in front of it in the raw Base64/Hex formats (salt, then IV, then ciphertext).
AES-GCM is authenticated: a wrong passphrase or a single changed character makes decryption fail instead of returning garbage. AES-CBC (PKCS#7 padding) and AES-CTR are not authenticated, so prefer GCM unless you need another mode for compatibility. Raw formats are not self-describing — decrypting them needs the same cipher mode, key size, and format that were selected when encrypting.
| Algorithm | Key size | Rounds | Notes |
|---|---|---|---|
| AES-128 | 16 bytes | 10 | Fastest; still considered secure for everyday use. |
| AES-192 | 24 bytes | 12 | Middle option; less commonly required by standards. |
| AES-256 | 32 bytes | 14 | Common choice for long-lived secrets and compliance baselines. |
All three key sizes are considered secure. In practice the passphrase is the weak point: a long, unique passphrase (or a generated key) matters far more than the jump from AES-128 to AES-256.