AES Encrypt / Decrypt

Encrypt and decrypt text locally with AES-GCM or AES-CBC, with Base64 and Hex output.

Use this page to encrypt and decrypt text with AES-GCM or AES-CBC. It focuses on plaintext, ciphertext, key, and IV/nonce and produces Base64 or Hex ciphertext and decrypted plaintext.

How to use

  1. Prepare plaintext, ciphertext, key, and IV/nonce and paste, upload, or enter it as requested by the page.
  2. Adjust the available options, then run the process, conversion, generator, or lookup.
  3. Review Base64 or Hex ciphertext and decrypted plaintext, then copy, download, or continue editing the result.

Examples

Typical use

Input

Plaintext Hello 51tools with key secret

Output

Outputs JSON with algorithm, iv, and ciphertext.
Privacy
Processed in browser Input not stored Review sensitive data

The input is mainly processed in your browser, and the page only uses browser capabilities needed to generate the result.

Frequently asked questions

Use plaintext, ciphertext, key, and IV/nonce as expected by this page. If validation fails, try a smaller sample and check encoding, separators, file type, or expression syntax.

The usual causes are input format issues, browser support, or option settings. Verify the workflow with the sample first, then replace it with your own data.

You can copy ordinary results, but review critical fields and edge cases before production use, official submission, financial calculation, or publication.
Next steps

Related tools

After finishing this task, continue with these related tools.