Key Format Converter

Convert between key formats, supporting PEM / DER(Hex) / JWK.

Key Type

Input Key

Instructions

Supported Formats

!PEM: Base64-encoded text format starting with ----BEGIN..., commonly used by OpenSSL, SSH, etc.; JWK: JSON Web Key format, commonly used by Web Crypto API, JWT.

Steps

1. Select key type (public/private) and input format; 2. Paste key content; 3. Click 'Convert'; 4. Copy converted result. All operations use native browser Web Crypto API.

Notes

Only supports RSA keys (based on RSA-PSS/SHA-256 algorithm parameters); public keys use SPKI format, private keys use PKCS#8 format; keys never leave your local machine during conversion, please safeguard private keys.