RSA Key Generator, Encryption & Signature Tool

Online RSA toolkit: generate 2048/3072/4096-bit key pairs, import PEM keys, encrypt with the public key, decrypt with the private key, and sign or verify — all locally.

Key generation and cryptography run locally; private keys are never uploaded or stored.

About This Tool

The RSA Toolkit covers the full asymmetric flow: generate a key pair and export PEM, encrypt short text with the public key, decrypt with the private key, then sign and verify. Choose 2048, 3072 or 4096 bits.

All operations use the native WebCrypto API. Private keys stay in memory, are never written to storage and are never sent anywhere.

Key Features

Key pair generation

Three key sizes with standard SPKI public and PKCS#8 private PEM output.

Encrypt and sign

RSA-OAEP encryption plus RSASSA-PKCS1-v1_5 signatures and verification.

Bring your own keys

Paste existing PEM keys to match your backend.

When to Use It

API integration

Generate test keys and validate backend verification and decryption.

Signature debugging

Replay a signature with the same keys to isolate encoding or key issues.

How to Use It

  1. 1Choose a key size and generate a pair.
  2. 2Copy the keys into the encryption or signature panels.
  3. 3Encrypt, decrypt, sign or verify and copy the result.

Frequently Asked Questions

Can RSA encrypt long text?

No. RSA can only encrypt data smaller than the key size; encrypt long content with AES and wrap the AES key with RSA.

Is the private key stored?

No. It only lives in page memory and disappears on refresh.

Which signature algorithm is used?

RSASSA-PKCS1-v1_5 with SHA-256, matching most backend defaults.

Other Tools

CodeSwordsman

100+ technical tools with browser-local processing — your data never leaves your device. Official Microsoft Store desktop apps: free, ad-free, offline.

Completely Free

© 2026 CodeSwordsman All Rights Reserved

Service Terms | Privacy Policy | Help | Version Updates | About Us

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.