DevTools
Language

RSA Key Pair Generator

DevTools RSA Key Pair Generator creates RSA public/private key pairs and exports PEM locally in your browser—for encryption, signing, and JWT RS256 testing.

RSA Key Pair Generator

Generate PEM-format RSA public/private key pairs for encryption, signing, and JWT RS256 testing.

About this tool

RSA keys power RS256 JWTs, client certs, and temporary test keys. Choose key length, generate, and copy PEM text for your test environment.

How to use

  1. Select key length.
  2. Click Generate RSA key pair.
  3. Copy PEM public and private keys to your test setup.

FAQ

Can I use browser-generated private keys long term?

Not recommended. Use a proper KMS for long-lived keys; this tool is for development and integration tests.

RSA 2048 vs 4096—which should I pick?

2048 meets most needs with better performance. Choose 4096 for stricter compliance or longer lifetimes.

Are keys sent to a server?

No. Key generation runs locally in your browser.

Is this tool free?

Yes. No sign-up required.

Related tools