RSA-OAEP (2048/SHA-256) Encrypt / Decrypt

RSA-OAEP provides asymmetric encryption; protect private keys and use adequate key sizes.
Keys are generated and used locally in your browser. Export/import JWK for reuse.
Public Key (JWK)
Private Key (JWK)

Notes

RSA-OAEP is suitable for small messages; for larger data, encrypt a random symmetric key and use AES-GCM (hybrid encryption).

RSA-OAEP encrypt/decrypt online  in-browser, no upload (FAQs)

FAQs

What is OAEP?
Optimal Asymmetric Encryption Padding; it adds randomness and security to RSA encryption.
How to encrypt large files?
Use hybrid encryption: generate a random AES key, encrypt the file with AES-GCM, then encrypt the AES key with RSA-OAEP.
Does this RSA tool upload my keys or data?
No. Keys are generated/exported locally and encryption happens in your browser.

RSA-OAEP encrypt/decrypt FAQs

FAQs

Key size?
Use >= 2048-bit keys; prefer hybrid with AES-GCM for large data.
Padding?
OAEP with SHA-256 recommended over PKCS#1 v1.5 for new designs.