Skip to main contentTool URL: https://diveshfx.github.io/online-tools/aes/encrypt/
2.1 What is AES
AES is a symmetric encryption algorithm. It uses one shared secret key for both encryption and decryption.
It is fast, secure, and widely used for encrypting large amounts of data.
This tool allows you to encrypt text or files using AES with customizable security settings.
Available Settings
- Input Type
- Input Encoding
- Output Encoding
- Key Size
- 128 bits
- 192 bits
- 256 bits
- Recommendation: 256 bits
- Mode
- CBC
- CFB
- OFB
- CTR
- GCM
- CBC is common, GCM is recommended for authenticated encryption
- Padding
- PKCS7 (default and recommended)
- Key Type
- Passphrase
- Password used to derive the AES key
- Hash
- Salt Type
- Custom Iteration
- Allows control over PBKDF2 iteration count
2.3 How to Encrypt Data Using AES
- Open the AES Encryption page
- Select Input Type and enter your data
- Choose Key Size (256 bits recommended)
- Select Mode and Padding
- Enter a strong Passphrase
- Click Encrypt
- The encrypted output will appear in the output panel
You can copy or share the encrypted result.
2.4 AES Decryption
To decrypt data:
- Go to the AES Decryption section
- Paste the encrypted output
- Use the same settings as encryption
- Enter the same passphrase
- Click Decrypt
If all parameters match, the original data will be restored.
Browser Based Encryption Disclaimer
All operations are performed locally in your browser. Keys and data are not sent to any server. However, avoid using browser tools for extremely sensitive production secrets.