Generate and convert cryptographic keys in PEM and JWK formats for secure signing and encryption.
Our lightweight JWK generator runs entirely in your browser — no keys leave your machine. Use it to convert PEM to JWK, convert JWK to PEM, or generate new keys and export a JWKS for your jwks_uri endpoint.
Learn more: What is JWKS
See source code: https://github.com/authgear/authgear-widget-jwk-generator
kid, choose alg and use (sig / enc), then click Generate JWK. This converts PEM → JWK in the standard jwk format so you can add the JWK to a JWKS or plug it directly into JOSE libraries (Node jose, Python jwcrypto, etc.).kid, alg, and use metadata in your JWK set.sig or encryption enc), key type (RSA, EC, OKP, or oct), and configure size/curve/parameters. The generator suggests alg values and auto-generates a kid you can edit. Output options include a single JWK or a full JWKS (jwks.json) ready to host.jwks.json at a jwks_uri.keys array of JWKs. JWKS is the standard format used by identity providers to publish public keys at a jwks_uri so clients can validate JWT tokens (see RFC 7517). If you searched “what is jwks” or “jwks uri”, this is the format you need.jwks_uri and rotate keys regularly — publish new keys with new kid values and remove deprecated keys safely.kid and alg metadata in your JWKs so clients can select the right key when verifying JWTs.