Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

AES Encryption & Decryption — Text with a Password

Protect a note, secret or config value with a password using AES-256 — or decrypt text produced by openssl enc. Encryption happens on your device.

Mis à jour le

🔒 Runs locally with your browser’s Web Crypto API — nothing you type is sent to a server.

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : AES Encrypt & Decrypt

  1. Choose Encrypt or Decrypt and the format.
  2. Enter a strong password.
  3. Paste the text and click the button.
  4. To decrypt later you need the same password and format — store the password safely.

Two formats

AES-256-GCM (default)OpenSSL AES-256-CBC
CipherAES-256 in Galois/Counter Mode — authenticatedAES-256 in CBC mode with PKCS#7 padding
Key derivationPBKDF2-SHA256, 600,000 iterations, 16-byte saltPBKDF2-SHA256, configurable iterations (OpenSSL default 10,000), 8-byte salt
Tamper detectionYes — modified data fails to decryptNo — only padding errors
Compatible withThis tool and any code that follows the documented layoutopenssl enc -aes-256-cbc -pbkdf2 -a

The GCM output is Base64(salt ‖ IV ‖ ciphertext ‖ tag), so the Web Crypto API, Node.js (crypto.createDecipheriv('aes-256-gcm', …)) or Python’s cryptography package can decrypt it with the same parameters.

Decrypting OpenSSL output

Text encrypted with

echo -n "secret" | openssl enc -aes-256-cbc -pbkdf2 -salt -a -A -pass pass:YOURPASS

starts with U2FsdGVkX1 (Base64 for “Salted__”) and can be decrypted here with the OpenSSL format. Without -pbkdf2, OpenSSL uses the old, weak EVP_BytesToKey derivation, which this tool does not support — always add -pbkdf2.

Password strength matters most

AES-256 itself cannot be brute-forced, but a weak password can. PBKDF2 slows each guess down, yet an 8-character password is still guessable. Use a long passphrase — the password generator helps. For one-way storage of passwords use bcrypt instead; for signatures use HMAC.

Aussi recherché comme : aes encryption online, aes 256 encrypt, aes decrypt, encrypt text with password, openssl enc decrypt, aes gcm, encrypt text online.

Outils complémentaires : AES Encrypt & Decrypt

  • Encodage / Décodage Base64 — Convertissez du texte au format Base64 et inversement, avec une prise en charge complète de l'UTF-8 (accents, emojis) ; passez au format Base64 compatible URL, ou glissez-déposez un fichier pour obtenir sa chaîne Base64 ou son URI de données.
  • Hash Generator — Compute MD5 and SHA hashes of any text or file instantly, create HMAC signatures, and paste an expected checksum to verify a download.
  • Décodeur JWT — Collez un JSON Web Token pour examiner son en-tête et sa charge utile, vérifier sa date d'expiration et valider sa signature.
  • IBAN Validator — Check whether an IBAN is valid before you send money or save it: the country, the length for that country, the account format and the mod-97 checksum.

Questions fréquentes

Is my text or password sent to a server?
No. Encryption and decryption use the Web Crypto API in your browser.
I forgot the password — can you recover the text?
No. Without the password the data cannot be decrypted by anyone, including us.
Why does every encryption produce different output?
A new random salt and IV are used each time. This is intended and all outputs decrypt with the same password.
Can I decrypt data from other AES tools?
Only if it uses one of the two documented formats. Other tools use different key derivation, modes or layouts.
Puis-je installer AES Encrypt & Decrypt en tant qu’application web et l’utiliser hors ligne ?
Oui. AES Encrypt & Decrypt est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires