Glyph WidgetsGlyph Widgets
ToolsAboutContactBlogPrivacyTermsRemove AdsSupport on Ko-fi

© 2026 Glyph Widgets LLC. All rights reserved.

·

100% Client-Side Processing

Developer
Text & Writing
Images & Colors
Media
Web & SEO
Utilities
Privacy & Security
Calculators
  1. Home
  2. Privacy & Security
  3. Cryptography
  4. AES Encryption

AES Encryption

Last updated: March 5, 2026

Encrypt and decrypt text using the AES (Advanced Encryption Standard) algorithm with 128, 192, or 256-bit keys. Supports GCM, CBC, and CTR cipher modes. All encryption happens locally in your browser using the Web Crypto API.

Security Note: All encryption happens locally in your browser. Your password and data are never sent to any server. Use a strong, unique password for important data.

Use a strong password. You'll need this exact password to decrypt the data.

Plaintext (Input)

Ciphertext

About AES Encryption

Algorithm

AES (Advanced Encryption Standard) - FIPS 197

Key Derivation

PBKDF2 with SHA-256, 100,000 iterations

GCM Mode

Authenticated encryption with 96-bit nonce

CBC Mode

Cipher Block Chaining with PKCS7 padding

Saved Presets is a Supporter feature.

Tool History is a Supporter feature.

Tool Notes is a Supporter feature.

Features

  • ▶AES-128, AES-192, and AES-256 encryption
  • ▶Multiple cipher modes: GCM (recommended), CBC, CTR
  • ▶Password-based key derivation (PBKDF2)
  • ▶Base64 and Hex output formats
  • ▶Encrypt and decrypt text
  • ▶Uses Web Crypto API for security
  • ▶100% client-side - your data never leaves your browser
  • ▶Works offline after page loads

How to Use This Tool

1

Choose Mode and Settings

Select Encrypt or Decrypt mode. Choose your key size (AES-256 recommended) and cipher mode (GCM recommended). Select your preferred output format (Base64 is more compact).

2

Enter Your Password

Enter a strong password. This password will be used to derive the encryption key. Use a long, random password for best security. Remember: if you lose this password, you cannot decrypt your data.

3

Enter Text to Process

For encryption, enter the plaintext you want to encrypt. For decryption, paste the encrypted output from a previous encryption operation.

4

Process and Copy Result

Click the Encrypt or Decrypt button. Copy the result using the Copy button. Save your encrypted data securely - and remember your password!

Key Derivation (PBKDF2)

Your password is transformed into a cryptographic key using PBKDF2 with SHA-256. We use 100,000 iterations and a random 16-byte salt. This makes brute-force attacks extremely slow and expensive. Each encryption generates a new random salt, so the same password produces different keys each time.

AES Block Cipher

AES processes data in 128-bit (16-byte) blocks. It uses a substitution-permutation network with multiple rounds of operations: SubBytes (byte substitution), ShiftRows (row shifting), MixColumns (column mixing), and AddRoundKey (XOR with round key). AES-256 uses 14 rounds of these operations.

GCM Mode (Recommended)

GCM (Galois/Counter Mode) combines CTR mode encryption with Galois authentication. It produces an authentication tag that detects any tampering with the ciphertext. If someone modifies the encrypted data, decryption will fail. This is called Authenticated Encryption with Associated Data (AEAD).

Output Format

The encrypted output contains: salt (16 bytes) + IV (12 or 16 bytes) + ciphertext + auth tag (GCM only). This is encoded as Base64 or Hex for easy copying. The salt and IV are stored with the ciphertext because they're needed for decryption but aren't secret.

Web Crypto API

This tool uses the browser's native Web Crypto API, which provides cryptographic operations implemented in the browser's secure context. This is more secure than JavaScript crypto libraries because the implementation is written in native code and has been extensively audited.

Frequently Asked Questions

AES (Advanced Encryption Standard) is a symmetric block cipher algorithm adopted by the U.S. government as a standard for encrypting classified information. It's one of the most secure and widely-used encryption algorithms, supporting key sizes of 128, 192, or 256 bits. AES-256 is considered secure against all known attacks including quantum computing.

Related Tools