Skip to content

RSA Key Generator

Generate an RSA key pair in PEM form, in your browser.

Generate production keys with openssl or ssh-keygen on a machine you control. This is right for test keys, development environments and fixtures. The private key is shown once and is gone when you leave.

Quick Tool Overview

The RSA Key Generator creates a key pair in your browser and exports the public key as SPKI PEM and JWK, and the private key as PKCS#8 PEM — the formats modern libraries actually expect.

What it does
Generates an RSA key pair as PEM
You give it
A key size and a purpose
You get back
A public and private key, plus a JWK
Best for
Test keys, development environments and JWT experiments
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the RSA Key Generator

Generates an RSA key pair using the browser's own crypto and exports both halves as PEM: the public key in SPKI form and the private key in PKCS#8, which is what modern libraries expect. The public key is also given as a JWK, for JWKS endpoints and OIDC configuration.

The key is generated locally and never transmitted — but that is a weaker promise than it sounds, because you have to trust this page to keep making it. For a production signing key, generate it with openssl or ssh-keygen on a machine you control. For a test key, a development environment, a JWT experiment or a fixture in a test suite, generating one here is exactly the right amount of effort.

Key features of the RSA Key Generator

Modern PEM formats

SPKI for the public key and PKCS#8 for the private one, which is what current libraries import without conversion.

JWK included

The public key is also exported as a JWK, ready for a JWKS endpoint or an OIDC configuration.

Signing or encryption

Generate an RSASSA-PKCS1-v1_5 key for signatures or an RSA-OAEP key for encryption, since the two are not interchangeable.

A fingerprint to match on

A SHA-256 fingerprint of the public key, so you can confirm a deployed key is the one you generated.

Straight about the trade-off

The page says plainly that production keys belong on a machine you control, rather than implying a browser tool is equivalent.

How to use the RSA Key Generator

  1. 1

    Choose the key size

    2048 bits is the practical minimum; 3072 and 4096 are slower to generate and to use.

  2. 2

    Choose the purpose

    Signing produces an RSASSA-PKCS1-v1_5 key; encryption produces an RSA-OAEP key.

  3. 3

    Generate the pair

    Larger keys take a few seconds — that work happens in your browser.

  4. 4

    Save both halves

    Copy or download each PEM. The private key is shown once and not stored anywhere.

Frequently asked questions

No. Generate production keys with openssl or ssh-keygen on a machine you control. A browser tool is right for test keys, development environments and fixtures.

Reviews of the RSA Key Generator

What people who use the RSA Key Generator think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the RSA Key Generator. It takes half a minute and no account.

Write the first review

More developer tools