Certificate format converter — PEM, DER, PFX, PKCS#8
An online converter for certificates and private keys. It reads PEM, DER, PKCS#1, PKCS#8, SEC1, encrypted keys and PKCS#12 bundles, works out what you gave it without being told, and offers only the conversions that make sense for that input. Everything runs in your browser through the WebCrypto API and a hand-written ASN.1 layer.
How to use it
Paste the text or drop the file. Several files at once are merged, which is how you build a PFX from a separate certificate, key and CA file.
The field appears only when the input turns out to be encrypted.
Only the conversions that apply to your input are offered; the rest are greyed out.
Text formats can be copied. DER and PFX are binary — use the download button, since copying the hex will not give you a working file.