SimplyScan logoSimplyScan
What We ScanPricingFree ToolsBlogCreate AccountLog In
  1. Home
  2. Free Tools
  3. AES Encrypt / Decrypt
Free Tool · Runs in your browser

Free AES Text Encryption (AES-256-GCM)

Encrypt text with a password using AES-256-GCM · and decrypt it back. Keys are derived with PBKDF2 and everything stays in your browser.

100% client-side · nothing you enter is ever sent to a server or stored.

Preview · sign in with a free account to run it

AES-256-GCM · key derived with PBKDF2-SHA-256 at 310,000 iterations · fresh random salt and IV every time.

How to use it

  1. Choose Encrypt, type the text and a password.
  2. Copy the Base64 output. It contains the salt, the IV and the ciphertext.
  3. To read it later, choose Decrypt and paste the output with the same password.

Example

The output changes every time, because the salt and IV are random.

Input

Text      launch code: blue-42
Password  correct horse battery staple

Result

Base64 of salt (16 bytes) | IV (12 bytes) | ciphertext + tag
88 characters for this text, different every time

Decrypt with the same password → launch code: blue-42
Wrong password → Wrong password or corrupted data ·
                 GCM authentication failed.

How it works

AES-256-GCM
Authenticated encryption: any change to the ciphertext is detected, and decryption fails instead of returning garbage.
PBKDF2-SHA-256, 310,000 iterations
Turns your password into a 256-bit key slowly, so guessing passwords is expensive. A fresh random salt each time means the same text never encrypts the same way twice.
The password is the key
There's no recovery. Lose the password and the data is gone.
Wrong password or corrupted data
GCM's integrity check failed: the password is wrong, or the Base64 was changed or cut off.

Go deeper

  • AES-256 and TLS 1.3 Explained | How Your Data Is Actually Protected

Page updated 21 November 2026

Frequently asked questions

How is the key derived from my password?

PBKDF2 with SHA-256, a random salt, and a high iteration count stretches your password into a 256-bit AES key. The salt and IV are prepended to the output blob, so the password alone decrypts it later.

Why GCM instead of CBC?

GCM is authenticated encryption: it detects any tampering with the ciphertext before decrypting. CBC without a separate MAC is malleable and enabled a generation of padding-oracle attacks · modern designs default to GCM.

Is it safe to share the encrypted text in chat or email?

With a strong password sent through a different channel, yes. The output is useless without the password.

Want the full picture?

This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.

Run a full security scan

Related tools

.gitignore Generator

Pick your stack and get a ready .gitignore · with the .env and secret-file rules that keep credentials out of your repository.

Data URI Generator

Convert a file or image into a Base64 data URI · ready to inline into HTML, CSS, or JSON. The file is read locally and never uploaded.

Password Generator

Generate strong, cryptographically random passwords · choose the length and character sets, then copy with one click.

SimplyScan logoSimplyScan

Security Scanner for Vibe-Coded Apps.

Product

See What We ScanHow It WorksView Pricing

Resources

Security BlogSecurity ChecklistTrust BadgeUptime MonitoringIntegrationsMCP Server (Claude, Cursor & Windsurf)API DocumentationBackend Audit GuideThreat Detection GuideFAQTerms of ServicePrivacy Policy

Platforms

All platforms →Lovable ScannerBolt.new ScannerCursor ScannerReplit Scannerv0.dev ScannerWindsurf ScannerBubble Scanner

Free Tools

All free tools →SSL CheckerSecurity HeadersDNS Security CheckerCORS TesterJWT DebuggerCSP EvaluatorHash GeneratorSEO Checker

Account

Create AccountLog In

© 2026 SimplyScan. All rights reserved.