AES-256 Text Encryption — AES-GCM With PBKDF2 Password

WebCrypto AES-GCM-256 with PBKDF2 (150k iterations) — output is one portable base64 blob.

Quick answer: Encrypt any text to a portable base64 blob with AES-256-GCM and a PBKDF2 password, or decrypt blobs back — real WebCrypto in your browser, nothing uploaded.

Format: base64(16-byte salt + 12-byte IV + ciphertext) — AES-256-GCM, PBKDF2-SHA256 × 150,000. Losing the password means the data cannot be recovered; there is no backdoor.

How to use

  1. Pick Encrypt, type your message and choose a strong password.
  2. Press Encrypt → base64 and copy the blob wherever you need it.
  3. To decode, switch to Decrypt, paste the blob and enter the same password.
  4. Wrong password or altered blob? The tool says so instead of returning garbage.

About this tool

Real AES-256 encryption, running where nobody can intercept it: your browser's native WebCrypto engine. Choose a password and the tool derives a 256-bit AES-GCM key with PBKDF2-SHA256 at 150,000 iterations over a random 16-byte salt; your message is sealed with a fresh 12-byte IV and packed into a single base64 blob you can paste into an email, chat or note. Decrypting is the mirror operation — paste the blob, enter the same password, and authenticated decryption either returns your exact text or refuses with a clear error when the password is wrong or the data was altered. Your file never leaves this page — processing runs entirely in your browser; nothing is uploaded and the data is dropped from memory when you close the tab. One warning is printed on the page because it matters: if you lose the password, the data is mathematically unrecoverable — there is no reset and no backdoor.

FAQ

Where does my password go?
Nowhere — it derives the key in your tab via PBKDF2 and is never stored or transmitted. Your file never leaves this page — processing runs entirely in your browser; nothing is uploaded and the data is dropped from memory when you close the tab.
What if I forget the password?
The data is unrecoverable. AES-GCM offers no reset and no backdoor — keep the password together with the blob.
Why does the blob include salt and IV?
Both must be random per message; they travel alongside the ciphertext so one password can decrypt every blob uniquely and safely.
Why did decryption fail with the right password?
The blob was altered, truncated or mangled in transit (email line breaks are the usual culprit) — paste it exactly as it was copied.
Is this safe for sensitive secrets?
The crypto is standard AES-256-GCM, but your password is the weakest link — use a long, unique one, and remember the no-recovery warning.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.

Related tools

{ }

JSON Formatter

Developer Tools

🔀

CSV to JSON Converter

Developer Tools

🔍

Regex Tester

Developer Tools

🔤

Base64 Encoder / Decoder

Developer Tools

🌐

URL Encoder / Decoder

Developer Tools

#️⃣

Hash Generator (MD5 & SHA)

Developer Tools

🆔

UUID Generator

Developer Tools

⏱️

Epoch Timestamp Converter

Developer Tools

🎟️

JWT Decoder

Developer Tools

Cron Expression Generator

Developer Tools

🔢

AI Token Counter

Developer Tools

🧪

Fake Person Generator

Developer Tools

📧

Fake Email Generator

Developer Tools

Credit Card Validator

Developer Tools

📱

Phone Number Validator

Developer Tools

📨

Email Validator

Developer Tools

💾

Data Storage Converter

Developer Tools

🧬

HTML Encoder / Decoder

Developer Tools

🧾

JSON to CSV Converter

Developer Tools

🔁

CSV to JSON Converter

Developer Tools

📐

XML Formatter / Beautifier

Developer Tools

🗄️

SQL Formatter

Developer Tools

📝

Markdown Previewer

Developer Tools

🌐

IP Subnet Calculator

Developer Tools

🕒

Unix Timestamp Converter

Developer Tools

🌈

CSS Gradient Generator

Developer Tools

🌓

CSS Box Shadow Generator

Developer Tools

🚦

HTTP Status Code Lookup

Developer Tools

🛰️

What Is My IP

Developer Tools

🔎

WHOIS Lookup (RDAP)

Developer Tools

🛡️

Password Breach Checker

Developer Tools

Internet Speed Test

Developer Tools

🧪

Fake JSON / API Data Generator

Developer Tools

🔌

REST API Tester

Developer Tools

🌍

DNS Lookup

Developer Tools

📑

Markdown to HTML Converter

Developer Tools

🗂️

ZIP File Extractor

Developer Tools

📦

ZIP File Creator

Developer Tools

🔏

File Checksum Verifier

Developer Tools

📷

Webcam Test

Developer Tools

🎙️

Microphone Test

Developer Tools

⌨️

Keyboard Tester

Developer Tools

🕵️

User Agent Checker

Developer Tools

🖥️

Screen Resolution Checker

Developer Tools

🗝️

Passphrase Generator

Developer Tools

🛡️

WebRTC Leak Test

Developer Tools

🟥

Dead Pixel Test

Developer Tools