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.
Related tools
More from the same category · Encryption
MD5 HashGenerate 32-char MD5 digests for text and files to verify integrity and detect content changes locally.Hash CalculatorMD5, SHA-1, SHA-256, SHA-512 digests for text and files in one pass for checksums.Base64 ConverterBase64 encode/decode for text, UTF-8 and images, with Data URL output for inline embedding.Symmetric EncryptionEncrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV, fully client-side.RSA ToolsGenerate RSA key pairs (1024-4096 bit), encrypt/decrypt and sign with PKCS#1 v1.5 or PSS, browser-side.PGP ToolsGenerate OpenPGP keys, encrypt, decrypt and sign text or files with GnuPG-compatible ASCII-armored output.