JWKS and JWK to PEM

Inspect a JWKS set, look up a kid, and convert a public JWK to PEM.

Runs in your browser. Your input is not uploaded.

Correctness last checked 2026-11-13. How we verify

Loading the tool…

What it does, how to use it, and questions

What it does

A JSON Web Key Set is a keys array of public keys used to verify JWTs. Each key may have a kid that matches the JWT header, plus kty, alg and use.

This page lists those fields and can export a public RSA or EC JWK as PEM. Private key material is refused. Signatures are not verified here.

How to use it

  1. Paste a JWKS or a single JWK.
  2. Read the table of keys.
  3. Convert a public key to PEM if you need it for a server library.

Things to watch for

  • Decoding keys is not verifying a JWT. Use your server stack with the matching key.
  • Symmetric oct keys cannot be exported as PEM public keys.

Questions

How do I match a JWT?
Decode the JWT header, read kid, and find that row in the JWKS.
Is the key uploaded?
No. Import and PEM export use Web Crypto in this page.
Why was a private JWK refused?
Private material such as d must not be pasted into tools. Only public JWKs are converted.
Does this fetch jwks_uri?
No. Paste the JSON you already have.