Encoding & Decoding

RSA Public/Private Key Pair Generator (PEM)

Generate RSA key pairs in the browser with the Web Crypto API at 1024, 2048, or 4096 bits and export standard PEM text. Private keys are not sent over the network. Intended for development, testing, and learning—not as a production key-management system.

RSACryptographySecurity

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Create throwaway RSA keys for local integration tests
  • Inspect PEM structure while learning asymmetric crypto
  • Produce temporary keys to exercise encrypt/decrypt flows

How to use

  1. Choose a modulus length (2048 is the common baseline)
  2. Generate and wait for the browser to finish
  3. Copy the public and private PEM blocks as needed

Example input and output

Modulus length

2048

Output

-----BEGIN PRIVATE KEY-----…

FAQ

Is the private key uploaded?

No. Keys are created with Web Crypto in the browser, and the tool works offline.

Which key size should I choose?

2048-bit is a common baseline for many systems. 4096-bit is stronger but slower. 1024-bit is only for teaching or legacy compatibility checks—not recommended for real deployments.

Tools

Related tools

Continue with another translated tool for a nearby task.

Bcrypt Hash Inspector

Bcrypt Hash Format and Cost Factor Inspector

Available

Inspect bcrypt hash strings ($2a$10$...) locally without cracking passwords. Extract version, cost rounds, salt, and digest layout for security reviews.

Crypto Backend Security

JWT Payload Viewer

JWT Header and Payload Decoder

Available

Decode JWTs locally into readable Header and Payload JSON. Tokens never leave the browser.

JWT Token Security