ToolzyLab ToolzyLab

Text Encrypt / Decrypt

Encrypt plain text locally and decrypt it securely in your browser using AES-GCM with PBKDF2. No uploads. No server processing. Just fast, private text protection with a clean ToolzyLab UI.

Secure browser-only text protection

Paste your text, choose whether to encrypt or decrypt, enter a password, and process everything fully on-device. This upgraded version has a clearer UI, better action status, smarter encrypted-input detection, strong error handling, password visibility controls, file import, output download, and cleaner analysis cards.

🔐 AES-GCM 🧂 Random Salt 🛡 Authenticated ⚡ Browser Only 📄 Import TXT 📋 Copy / Download
Action Overview
Current Action Encrypt text locally
Password Status Waiting for password
Input Detection Plain or unknown text
Security Method AES-GCM • PBKDF2-SHA-256
Password strength: Waiting
Ready status
Add a password to see whether it is weak, fair, good, or strong.
This panel now shows what the tool is doing right now, instead of looking like an encryption-only section.

Encryption Controls

Choose mode, output format, key derivation iterations, and how the tool should behave.

🟡 Ready to process
250k
Ready. Paste text, enter a password, and choose encrypt or decrypt.
ModeEncrypt
Password StrengthWaiting
Iterations250,000
Input Size0 chars
Output Size0 chars
StatusReady

Before & After Workspace

Two large square workspaces keep the page clean. Input stays on the left. Result stays on the right with scroll inside the box.

No result yet Metadata waiting

Input Text

Plain / Encrypted 0 chars
Ready
Auto detect waiting

Output Result

No output 0 chars

            
Waiting
Nothing copied yet

Result Analysis

See which format is detected, what metadata is available, and whether your current input looks ready for encryption or decryption.

Waiting
Detected Format
AlgorithmAES-GCM
Salt
IV / Nonce
Iterations
AdvicePaste text and process it to see useful metadata.

Useful notes

What this tool does and how to use it correctly.

  • Encrypt mode protects plain text and creates an encrypted token or JSON envelope.
  • Decrypt mode reads the encrypted token or JSON and unlocks the original plain text.
  • Compact Token is cleaner for sharing or storing in one line.
  • Readable JSON is better when you want inspectable metadata.

Security Tips

Encryption is strong, but your password choice still matters a lot.

If you forget the password, your encrypted text cannot be recovered by this tool. Keep the password safe.
This tool uses the browser Web Crypto API and runs fully client-side. Your text and password are not uploaded anywhere.

Keyboard shortcuts

  • Ctrl + Enter process using current mode
  • Ctrl + Shift + E encrypt
  • Ctrl + Shift + D decrypt
  • Ctrl + Shift + C copy output
  • Ctrl + Shift + S swap panels
  • Ctrl + L reset tool
Password-based browser encryption with key-handling limits

Encrypt text with a strong passphrase while preserving the full parameters needed for authenticated decryption

Encryption can protect text when the algorithm, authenticated mode, key derivation, random salt and nonce, password, and output package are handled correctly. Choose encrypt or decrypt, output format, PBKDF2 iterations, password confirmation, trimming, and auto-detection carefully, then test recovery before deleting any plaintext.

Password and derivation

A strong unique passphrase must be stretched with a salt before it becomes a key

PBKDF2 iterations increase the cost of password guesses, while a random salt prevents identical passwords from producing identical derived keys. Iteration counts are environment-dependent and should follow current project policy. Do not reuse an account password, and send the passphrase through a separate trusted channel when sharing ciphertext.

Authenticated package

Ciphertext needs its salt, nonce or IV, algorithm version, and authentication data to decrypt safely

Those parameters are not secret and can be stored in the JSON or text package, but they must remain intact. Authenticated encryption detects a wrong password or modified ciphertext instead of returning silent garbage. Pretty-printing or copy operations must not alter encoded fields.

Threat model

Local browser encryption does not protect a compromised device, weak password, or exposed copy

Malicious extensions, clipboard history, screenshots, page scripts, downloaded plaintext, and device malware can still capture content. Review loaded third-party libraries and organizational policy before processing sensitive data. Use established encrypted messaging, password managers, or approved storage systems for operational secrets.

Practical review

Encrypted text recovery check

Prove that the exact exported package can be decrypted before relying on it.

  • Use a long unique passphrase and store or share it separately from ciphertext.
  • Keep algorithm version, salt, nonce or IV, authentication tag, and KDF settings intact.
  • Test correct-password recovery and confirm wrong-password or modified input fails.
  • Avoid trimming plaintext when leading or trailing whitespace is meaningful.
  • Clear clipboard and downloads, and use approved systems for high-risk secrets.

Technical references: OWASP cryptographic storage guidance MDN Web Crypto overview

Text encryption questions

Passwords, PBKDF2, salts, nonces, authenticated failure, recovery, and browser security

Is encrypted text the same as Base64?

No. Base64 only represents bytes as readable characters. Encryption uses a secret key to provide confidentiality and should also authenticate the ciphertext.

What do PBKDF2 iterations do?

They make deriving a key from each password guess more expensive. The suitable count depends on current policy, device performance, hash choice, and compatibility.

Do the salt and nonce need to be secret?

Usually no, but they must be random or unique as required and stored accurately with the ciphertext. Reuse rules depend on the encryption mode.

Why does decryption fail with the right-looking password?

Capitalization, whitespace, Unicode, output corruption, missing parameters, or a different KDF setting can change the key. Use the exact password and complete package.

Can ToolzyLab recover a forgotten encryption password?

No. Strong encryption is designed to prevent recovery without the correct key. Keep a secure passphrase record and test decryption before removing plaintext.

Is browser encryption safe for production secrets?

It can be useful for controlled local tasks, but device compromise, extensions, clipboard exposure, dependencies, and policy matter. Prefer an approved key-management and encrypted-storage system.