JWKS Viewer
Paste a JSON Web Key Set — or a single JWK — to inspect its keys and convert RSA/EC keys to PEM. Runs entirely in your browser.
Quick Learn
A JWKS (JSON Web Key Set) is how a server publishes the public keys it uses to sign tokens — usually served from a well-known URL like /.well-known/jwks.json — so that anyone verifying a token can look up the right key by its kid (key ID) without needing to be handed a PEM file out of band. It's the standard way OAuth providers, identity platforms, and API gateways distribute the public half of their signing keys.
Each entry in a JWKS is a JWK (JSON Web Key): a JSON object describing one key's type (RSA, EC, or a raw symmetric secret) and its material as base64url-encoded fields, rather than the PEM format most crypto tooling expects. This tool reads a JWKS (or a single JWK) and, for RSA and EC keys, converts it into standard PEM — the exact format the JWT Verifier tool on this site expects — entirely in your browser, using the Web Crypto API.
Best Practices
- •Match a token's kid (in its header) to the key with the same kid in the JWKS before verifying — a JWKS often contains multiple keys (for key rotation), and using the wrong one will make a perfectly valid token look invalid.
- •Symmetric (oct) keys can't be converted to PEM here on purpose — a symmetric key is a shared secret, not a public/private key pair, so there's no "public half" to export.
- •A JWKS you fetch from a live endpoint can rotate over time — if a token that used to verify suddenly doesn't, check whether the JWKS has published a new key set since you last fetched it.
- •Once you have a PEM here, paste it straight into the JWT Verifier tool to confirm a real token actually verifies against this specific key.
More JWT Tools
JWT Decoder
Decode a JWT's header and payload, and check its expiry — no signature verification.
JWT Verifier
Verify a JWT's signature against a secret or public key.
JWT Generator
Build and sign a new JWT from custom header and payload claims.
JWT Compare
Compare the claims of two JWTs side by side.
Frequently Asked Questions
Is my data uploaded or stored anywhere?
No. Parsing and PEM conversion both happen entirely in your browser using the Web Crypto API — nothing you paste is sent to a server or stored anywhere.
Can I paste a single JWK instead of a full key set?
Yes — if the JSON you paste has a "kty" field directly (rather than being wrapped in a "keys" array), it's treated as one key automatically.
Why can't every key be converted to PEM?
Only RSA and EC keys have a public/private structure that PEM (and Web Crypto's SPKI export) can represent. Symmetric (oct) keys are just a raw shared secret with no public half, and OKP (Ed25519/X25519) keys aren't supported by this tool yet.
Does this fetch a JWKS from a URL for me?
No — paste the JSON directly. Fetching a live .well-known/jwks.json URL would mean this page making a network request on your behalf, which conflicts with the "runs entirely in your browser, nothing leaves it" guarantee every tool on this site keeps.
What does the bit size shown for RSA keys mean?
It's the RSA modulus size (derived from the byte length of the n field) — 2048-bit and up is standard for RSA signing keys today; anything smaller is considered weak by modern standards.
Want the engineering deep-dives behind tools like this one?