Free online RSA encryption and decryption tool. Supports 1024/2048/4096 bit key generation, public key encryption and private key decryption.
TL;DR: Free RSA encrypt/decrypt tool supporting 1024, 2048, and 4096-bit key generation. Powered by Web Crypto API, runs locally in your browser.
For local tools, open DevTools → Network and search your input — it should not appear in requests.
Usage Guide
RSA encrypt/decrypt — local browser tool; verify options on screen.
1. Use
Follow on-screen options; copy results locally.
- Open the tool.
- Set options.
- Copy output.
2. Scope
Capabilities match the visible UI, not wishful docs.
3. Checks
- Tiny sample first.
- Note options used.
- Keep PII private.
4. Limits
Browser memory and format edge cases still apply.
5. Related
Pair with sibling converters/checkers on this site.
6. Handoff
Document source, options, and known boundaries when sharing.
FAQ
Key generation, encryption, and decryption all run locally via the browser's Web Crypto API — the private key and plaintext are never uploaded. What local computation can't prevent is you copying the key elsewhere: discard test keys after use, and keep production keys out of repos and chat apps.
1024, 2048, and 4096 bits. 2048 is the recommended balance of security and performance; 1024 is no longer advised for production; 4096 is stronger but slower.
Padding first: PKCS#1 v1.5 and OAEP don't interoperate, and mismatched ends simply fail to decrypt. Then confirm the keys are a matched pair and the ciphertext is intact; if it still misbehaves, reproduce with a minimal sample (short text plus fixed options) to tell an input problem from an option-combination problem.
Not a good fit. RSA is asymmetric — public key encrypts, private key decrypts — suited to key exchange and signatures, but it has a per-block size cap and is slow. AES is symmetric, fast, and unlimited in length. The right pattern for large files is hybrid: AES encrypts the data while RSA only protects that AES key. For the symmetric half, use the AES tool on this site.
This tool is aimed at teaching and integration demos; real systems should pick libraries and parameters per a security baseline, and it is no substitute for a professional assessment. Neighboring tools split the work: bcrypt for password hashing, certificate-decoder for inspecting certificates; on odd output, reproduce minimally first, then move to the next tool.
Related Tools
Related Articles
Online RSA Encryption/Decryption: Asymmetric Crypto and Digital Signatures
Learn RSA asymmetric encryption algorithm principles and applications. Understand public/private key encryption, digital signatures, key pair generation, and use in HTTPS and API authentication.
SM2 vs RSA: How to Choose Between Chinese and International Public-Key Crypto
SM2 versus RSA compared: security strength (256-bit SM2 ≈ 3072-bit RSA), performance (signing vs verification tradeoffs), key sizes, the C1C3C2/C1C2C3 ciphertext format pitfall, Chinese compliance requirements, and how to verify with an online SM2 tool.
Hashing vs Encryption: What's the Difference and When to Use Each
Hashing and encryption are not the same. Hashes are one-way and irreversible; encryption is reversible with a key. Clear guide to choosing the right one for passwords, integrity, and confidentiality.