RSA Encrypt & Decrypt

Encrypt with RSA public key, decrypt with private key — OAEP padding

Free Client-Side No Login No Storage
Loading tool...

How to Use the RSA Encrypt & Decrypt

  1. Encrypt: Paste an RSA public key (PEM) and plaintext, then click Encrypt.
  2. Decrypt: Paste an RSA private key (PEM) and the Base64 ciphertext, then click Decrypt.

RSA encryption uses the Web Crypto API (RSA-OAEP with SHA-256). Maximum message size depends on key size (e.g., ~190 bytes for 2048-bit keys). Generate key pairs using the RSA Key Generator tool.