Kadben

Encrypt and decrypt text with a password

Type a password and paste the text to get it encrypted as Base64; reverse the direction to decrypt. The format is documented, so other tools can decrypt it too.

Runs in your browser. Nothing you paste or choose is uploaded.

Encrypt text with a password

Nobody can recover a forgotten password.

    Add a step
    Result

      How to use it

      1. Type a password in the step, then paste the text or choose a file.
      2. Copy the encrypted Base64; it changes every time because the salt and IV are random.
      3. To decrypt, press “Reverse the direction” (or choose “Decrypt with a password”) and use the same password.

      Rules and limits

      How the text is encrypted

      Questions and answers

      Can you recover a forgotten password?

      No. Nobody can; keep the password somewhere safe, for example in a password manager.

      How do I decrypt it elsewhere?

      Base64-decode it: the first 16 bytes are the salt, the next 12 the IV, the rest the ciphertext with its 16-byte tag. Derive a 256-bit key with PBKDF2-HMAC-SHA256 (600,000 iterations) and decrypt with AES-GCM.

      What if someone gets the encrypted text?

      Without the password it cannot be read. A short or common password can still be guessed, so use a long one and send it another way than the text.

      Related tools