Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

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.

Atualizado em

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

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

Como usar: 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.

Também pesquisado como: aes encryption online, aes 256 encrypt, aes decrypt, encrypt text with password, openssl enc decrypt, aes gcm, encrypt text online.

Ferramentas que combinam com: AES Encrypt & Decrypt

  • Codificação/Decodificação Base64 — Converte texto para Base64 e vice-versa, com suporte total a UTF-8 (acentos, emojis); alterna para Base64 seguro para URLs; ou arrasta um arquivo para obter sua string Base64 ou URI de dados.
  • 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.
  • Decodificador JWT — Cole um JSON Web Token para analisar seu cabeçalho e sua carga, verificar quando ele expira e conferir sua assinatura.
  • 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.

Perguntas frequentes

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.
Posso instalar o AES Encrypt & Decrypt como um aplicativo da web e usá-lo offline?
Sim. O AES Encrypt & Decrypt é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas