oauth2.dev

public / private keypair generator

Generate a keypair using jose library

About Key Formats

About Key Formats

JWK (JSON Web Key)

A JSON-based format that can include metadata like key ID, usage, and algorithm. Ideal for web applications and APIs.

Metadata Support
Web Friendly

PEM (Privacy Enhanced Mail)

A base64-encoded format that contains the raw key material. Commonly used for certificates and private keys.

Base64 Encoded
Widely Used

PKCS8

A format specifically designed for private keys, often used with PEM encoding. Provides secure private key storage.

Private Keys
Secure Storage

SPKI (Subject Public Key Info)

A standard format for public key information. Used in X.509 certificates and for exchanging public keys.

Public Keys
X.509 Compatible