Free online Jasypt encryption and decryption tool. Encrypt or decrypt passwords using one-way or two-way Jasypt encryptors, and verify encrypted passwords easily.
Jasypt (Java Simplified Encryption)
is a popular Java library used to encrypt and decrypt sensitive data such as passwords, API keys, and
configuration values in Spring Boot and enterprise applications.
This free online Jasypt encryption and decryption tool helps you quickly encrypt plain text or decrypt
Jasypt-encrypted values without writing any Java code. It supports both one-way password hashing and
two-way PBE-based encryption.
Default algorithms include PBEWithMD5AndDES, with support for stronger options like
PBEWithMD5AndTripleDES.
Jasypt Encryption
Jasypt Decryption
We do not store, log any key you enter.
This tool is intended for personal and educational use.
We suggest not to use online tools to protect real production secrets.
Key Features of Jasypt
Easy to Use:
Jasypt provides a simple and intuitive API, allowing developers to implement encryption and decryption
in Java applications without in-depth cryptography knowledge.
Support for Strong Algorithms:
Jasypt supports widely used password-based encryption algorithms such as AES, DES, and Triple DES.
For direct algorithm-based encryption, you can also try our
AES encryption tool or
RSA encryption tool.
Flexible Configuration:
Encryption settings can be configured using Java code or external configuration files, making it easy
to manage secret keys and encryption parameters.
Built-in Security Practices:
Jasypt automatically handles secure salt generation and key derivation iterations to strengthen encrypted output.
Framework Integration:
Jasypt integrates seamlessly with popular Java frameworks such as Spring and Spring Boot.
How Jasypt Encryption and Decryption Works
Encryption:
To encrypt data using Jasypt, create an instance of
StandardPBEStringEncryptor, configure it with a password, and call the
encrypt() method with plain text.
String password = "your_password";
String data = "Sensitive information";
StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor();
encryptor.setPassword(password);
String encryptedData = encryptor.encrypt(data);
Decryption:
To decrypt a value encrypted using Jasypt, use the same password and call the
decrypt() method to retrieve the original plain text.
Algorithm Flexibility:
Supports multiple encryption and password-based encryption techniques.
Password-Based Security:
Uses passphrases for key derivation, avoiding direct key storage.
Limitations of Jasypt
The overall security of Jasypt-encrypted data depends heavily on the strength of the password or secret key used.
Always use strong, unique passwords. For file- or image-level encryption, consider tools such as
file encryption or
image encryption.
Integrating Jasypt with Java Applications
Jasypt can be easily added to Java projects using build tools such as Maven or Gradle.
Below is an example Maven dependency configuration: