Text Encryption / Decryption Tool
Encrypt and decrypt text with AES-256-GCM — the same standard used by governments and financial institutions. Everything runs in your browser using the built-in Web Crypto API. No server calls, no data uploaded, works offline. Uses PBKDF2 key derivation (100k iterations) and a random salt + IV for every encryption.
Frequently Asked Questions
What encryption algorithm does this tool use?▼
AES-256-GCM (Advanced Encryption Standard, 256-bit key, Galois/Counter Mode). AES-256 is the industry standard used by governments and financial institutions worldwide. GCM mode provides both confidentiality (nobody can read the data) and authenticity (tamper detection). The key is derived from your password using PBKDF2 with 100,000 iterations and SHA-256.
Is my data sent to a server?▼
No. All encryption and decryption happens entirely in your browser using the Web Crypto API, which is built into all modern browsers. Your text and password never leave your device. This tool works offline once the page is loaded.
Why does encrypting the same text twice produce different results?▼
Each encryption operation generates a random 16-byte salt and 12-byte IV (Initialization Vector). These are included in the encrypted token. This randomness means encrypting the same plaintext with the same password will produce a different token each time — which is a security feature that prevents pattern analysis attacks.
How strong is the encryption?▼
AES-256-GCM with PBKDF2 key derivation (100k iterations) is considered very strong. Breaking it by brute force is computationally infeasible. However, the security ultimately depends on password strength — a weak or reused password significantly reduces security. Use a long, random passphrase for maximum protection.
What happens if I forget my password?▼
The encryption is one-way: if you lose the password, the data cannot be recovered. There is no backdoor, recovery key, or master password. This is by design — if recovery were possible, so would unauthorized decryption. Always store your password securely (a password manager is recommended).
What is this tool good for?▼
Encrypting short pieces of sensitive text before sharing them over insecure channels (email, chat, GitHub issues). Examples: API keys, passwords, configuration values, personal notes. For large file encryption, database encryption, or enterprise use cases, use purpose-built tools like GPG, 1Password, or your cloud provider's KMS.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
AES Encryptor / Decryptor
Encrypt and decrypt text using AES-256-GCM in your browser. Key derived via PBKDF2-SHA256 with 100,000 iterations. No data sent to any server — fully client-side using Web Crypto API.
Open free tool →
HTTP Security Headers Generator
Generate HTTP security headers configuration for nginx and Apache. Configure HSTS, CSP, X-Frame-Options, Referrer-Policy, and more with toggle switches. Copy ready-to-use configs.
Open free tool →
HTTP Security Headers Checker
Paste HTTP response headers and get a checklist of security headers present or missing. Checks CSP, HSTS, X-Frame-Options, and more.
Open free tool →
More Free Tools
Related Articles
Web Security in 2026: CSP, CORS, and Modern Auth Patterns
Master content security policy, CORS configuration, and WebAuthn passkeys. Practical security patterns for modern web applications.
API Authentication Guide: JWT, OAuth 2.0 & API Keys 2026
API authentication guide 2026: JWT structure and validation, OAuth 2.0 flows (authorization code, client credentials), API key management, refresh tokens, and security best practices.
Authentication Security Tools 2026: Modern Auth Patterns, MFA, Passwordless, and OAuth2
Complete guide to authentication security tools in 2026. Covers Auth0, Clerk, NextAuth.js v5, JWT security, Passkeys/WebAuthn, TOTP authenticator apps, OAuth2/OIDC, session management, and building secure auth systems with Node.js and Python.
DevSecOps Tools Checklist 2026: 20 Essential Tools for Shift-Left Security
Complete DevSecOps tools checklist for 2026. 20 essential SAST, DAST, SCA, secrets scanning, and container security tools with free/open-source options.
JWT Authentication Best Practices 2026: Secure Your API Tokens
Complete JWT security guide for 2026. Covers RS256 vs HS256 signing, token storage strategies, expiry and refresh token patterns, revocation, common vulnerabilities, and a production security checklist.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →