JWK to PEM Converter
Convert between JWK and PEM public keys
What is JWK to PEM Converter?
This JWK converter translates in both directions between a JSON Web Key from a JWKS and a PEM-encoded public key, built on the browser's Web Crypto import and export routines. RSA public keys are supported today, and the conversion runs entirely in your browser.
How to use JWK to PEM Converter
- 1Choose the conversion direction.
- 2Paste a PEM public key or a single JWK object, not the whole JWKS array.
- 3Click Convert and copy the result.
Frequently asked questions
Which part of a JWKS do I paste in?+
A JWKS has the shape { "keys": [ ... ] }. Pull out the one object in that array whose kid matches your token and paste that object in full. Pasting the entire JWKS fails to import because of the extra wrapper layer.
Why are only public keys supported?+
Private keys have no business being pasted into a web page. Verifying a signature needs only the public key, and signing belongs on your backend. If you genuinely need to convert a private key, do it in a controlled environment with openssl or your language's SDK.
Related tools
All toolsHTTP Status Codes
HTTP status code reference with likely causes and where to look
URL Parser
Break a URL into its components and query parameters
MIME Type Lookup
MIME type and file extension reference
User Agent Parser
Parse a User-Agent string into browser and OS details
CIDR Subnet Calculator
CIDR subnet calculator with membership checks
HTTP Header Analyzer
Inspect response headers and security header coverage