JWK to PEM & PEM to JWK Converter

Convert JSON Web Keys (JWK/JWKS) to PEM public or private keys and PEM keys to JWK with RFC 7638 thumbprint kid. RSA, EC P-256/384/521 and Ed25519.

Runs 100% in your browser. Nothing you paste is uploaded.

JWK / JWKS

PEM

About the JWK ↔ PEM Converter

Identity providers publish public keys as JWKS, while many libraries, gateways and tools such as OpenSSL expect PEM. This converter translates between the two using the browser’s Web Crypto API — paste an entire JWKS document to get every key as PEM, or convert PEM keys into JWKs with a standard RFC 7638 thumbprint as kid.

Features

  • JWK and full JWKS input
  • Public and private keys
  • RSA, EC (P-256, P-384, P-521) and Ed25519
  • PKCS#1 and PKCS#8/SPKI PEM input
  • RFC 7638 thumbprint as kid

How to use it

  1. Select the direction.
  2. Paste the JWK/JWKS or PEM.
  3. Copy the converted key.

Frequently asked questions

Does converting a private JWK expose my key?

Conversion happens locally via Web Crypto. Nothing is uploaded, but as always avoid pasting production private keys on shared machines.

Esc