JWK Generator

Generate RSA, EC, and OKP key pairs as JWK / PEM using WebCrypto.

Privacy: 100% Client-Side. Your data never leaves this browser tab. Processing uses Web APIs and client-side libraries only.

Why generate JWKs in the browser?

JWT signing, OAuth private_key_jwt, and local OIDC mocks need key pairs in JWK or PEM form. Generating them locally avoids shipping private keys through a third-party API.

This generator uses WebCrypto to create RSA, EC, and OKP keys and export them for your test stack.

How to use this tool

  1. Choose an algorithm/curve and generate a key pair.
  2. Copy public and private material as JWK or PEM.
  3. Register the public key with your IdP or app and keep the private key local.

Frequently asked questions

Are private keys uploaded?

No. Key generation is 100% client-side with WebCrypto.