PEM ⇄ JWK

Convert RSA/EC keys between PEM and JWK (JSON Web Key). Paste your data, then click to dissect it. Everything runs on your device, nothing is sent to a server.

The result will appear here…
or press Ctrl+Enter

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

-----BEGIN PUBLIC KEY-----…

Example Output

{ "kty": "RSA", "n": "…", "e": "AQAB" }

How to Use

  1. 1Paste your data (PEM/Base64/token) into the Input field.
  2. 2Click the button (or press Ctrl+Enter) to dissect it.
  3. 3Read the decoded result in the Output field.

About PEM ⇄ JWK

A JWK (JSON Web Key) represents a key as a JSON object, the format used by the JOSE ecosystem (JWT/JWS/JWE) and many web APIs. PEM is the traditional text format.

This tool auto-detects direction: paste PEM to get JWK, or paste JWK JSON to get PEM. It supports RSA and EC keys, both public and private.

Use this when moving keys between PEM-based systems (OpenSSL, certificates) and JWK-based systems (JWKS endpoints, JS libraries). All conversion happens in the browser.

FAQ

Are my data or keys sent to a server?

No. PEM ⇄ JWK runs entirely in your browser using the Web Crypto API and client-side libraries. Your data, passwords, and keys never leave your device.

Related Tools

Related Categories