AES Encryption Tool

Encrypt text or bytes with AES online. Configure the key, IV, mode, padding and output format, then download the encrypted result locally.

Free · No sign-up required

Text input

Your result is ready to copy or download after running.

Tool options

About AES Encryption Tool

Advanced Encryption Standard (AES) is a U.S. Federal Information Processing Standard (FIPS). It was selected after a 5-year process where 15 competing designs were evaluated. Key: The following algorithms will be used based on the size of the key:16 bytes = AES-128 24 bytes = AES-192 32 bytes = AES-256 You can generate a password-based key using one of the KDF operations. IV: The Initialization Vector should be 16 bytes long. If not entered, it will default to 16 null bytes. Padding: In CBC and ECB mode, PKCS#7 padding will be used.

Input: text. Output: text.

Format reference: AES Encrypt background and specification

Example

Use “Try example” to load this public sample and its settings, then run it.

Settings used in this example
ParameterExample valueInput and choices
Key{"option":"Hex","string":"00112233445566778899aabbccddeeff"}Key/text encoding: Hex, UTF8, Latin1, Base64
IV{"option":"Hex","string":"00000000000000000000000000000000"}Key/text encoding: Hex, UTF8, Latin1, Base64
Mode"CTR"CBC, CFB, OFB, CTR, GCM, ECB, CBC/NoPadding, ECB/NoPadding
InputRawRaw, Hex
OutputHexHex, Raw
Additional Authenticated Data{"option":"Hex","string":""}Key/text encoding: Hex, UTF8, Latin1, Base64
Include IV in outputOffOff, Prepend, Append

Sample keys and passwords are public. Never use them to protect real data.

Input

The quick brown fox jumps over the lazy dog.

Result

a98c9e8e3b7c894384d740e4f0f4ed0be2bbb1e0e13a255812c3c6b0a629e4ad759c075b2469c6f4fb2c0cf9

Match all encryption parameters

The key size, key encoding, IV, mode and padding must agree with the decrypting system. Text typed into a key field is interpreted using its encoding selector.

Example keys are public

Sample keys and IVs exist only to reproduce the example. Never reuse them for real data. Follow your protocol’s rules for unique nonces and authenticated encryption.

Parameters

ParameterDefault valueInput and choices
Key{"option":"Hex","string":""}Key/text encoding: Hex, UTF8, Latin1, Base64
IV{"option":"Hex","string":""}Key/text encoding: Hex, UTF8, Latin1, Base64
Mode"CBC"CBC, CFB, OFB, CTR, GCM, ECB, CBC/NoPadding, ECB/NoPadding
InputRawRaw, Hex
OutputHexHex, Raw
Additional Authenticated Data{"option":"Hex","string":""}Key/text encoding: Hex, UTF8, Latin1, Base64
Include IV in outputOffOff, Prepend, Append

Before interpreting the result

Use the exact key encoding, mode, padding and IV expected by the source system. Historical ciphers are useful for learning and analysis. Encoding alone provides no confidentiality.

How to use this page

  1. Paste your input or open a local file.
  2. Adjust tool options if needed, then choose Run tool.
  3. Copy the result or download the original output bytes.

Inputs and results are not added to the public catalogue or saved in the URL. Processing happens in your browser; HTTP Request and DNS over HTTPS send the requests you explicitly run. Files up to 128 MiB can be opened; decompression and image tools may have smaller processing limits. Large results have a shortened preview. Text and HTML downloads use UTF-8; binary downloads preserve output bytes. Pasted text follows browser newline handling; open a file when exact input bytes matter.

Related tools

Browse encryption / encoding tools