Jasypt Online Encryption & Decryption

Encrypt and decrypt Jasypt ENC() values online for Spring Boot. Supports PBEWithMD5AndDES, TripleDES and PBEWITHHMACSHA512ANDAES_256 with IV generators.

Runs 100% in your browser. Nothing you paste is uploaded.

Plain text

Encrypted

Spring Boot configuration snippet

About the Jasypt Encrypt / Decrypt

Jasypt (Java Simplified Encryption) is the standard way to keep secrets such as database passwords out of plain text in Spring Boot application.properties and application.yml files — values are written as ENC(…) and decrypted at start-up with a master password.

This tool is byte-for-byte compatible with Jasypt’s StandardPBEStringEncryptor: it uses the same key-derivation, salt and IV layout as Java’s JCE, so values you encrypt here decrypt in your application and vice versa. Paste a whole properties or YAML file in decrypt mode and every ENC(…) value is decrypted in place.

Features

  • PBEWithMD5AndDES (Jasypt 1.x default)
  • PBEWITHHMACSHA512ANDAES_256 (jasypt-spring-boot 3.x default)
  • PBEWithMD5AndTripleDES and all HMAC-SHA1/256/384/512 + AES-128/256 variants
  • RandomIvGenerator and NoIvGenerator
  • Custom key-obtention iterations
  • Base64 or hex output, optional ENC(…) wrapper
  • Bulk mode: one value per line, or decrypt a whole config file
  • Verified against the Java JCE implementation

How to use it

  1. Choose Encrypt or Decrypt and select the algorithm your application uses.
  2. Enter the secret key — the value of jasypt.encryptor.password.
  3. Paste the value(s). For decryption you can paste ENC(…) strings or a complete properties/YAML file.
  4. Copy the result. Use the generated Spring Boot snippet to configure the same settings in your app.

Frequently asked questions

Why do I get a different encrypted value each time?

Jasypt adds a random salt (and, for AES, a random IV) to every encryption. This is intentional: identical plaintexts produce different ciphertexts, yet all of them decrypt to the same value with the right password.

Which algorithm does my Spring Boot app use?

jasypt-spring-boot 3.x defaults to PBEWITHHMACSHA512ANDAES_256 with RandomIvGenerator. 2.x and Jasypt 1.9 default to PBEWithMD5AndDES with NoIvGenerator. Check jasypt.encryptor.algorithm in your configuration.

Decryption fails with “wrong password” but the password is right

The algorithm, iteration count (default 1000) or IV generator must match exactly. A common mistake is decrypting a 3.x value (AES with random IV) using PBEWithMD5AndDES, or using RandomIvGenerator with DES values created by Jasypt 1.x.

Is it safe to paste production secrets here?

All processing happens locally in your browser — nothing is uploaded. For maximum assurance, load the page, disconnect from the network, then use it.

Is PBEWithMD5AndDES secure?

No. DES uses a 56-bit key and MD5 is broken. Migrate to PBEWITHHMACSHA512ANDAES_256: decrypt with the old algorithm here and re-encrypt with the new one.

Esc