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

1
Give it the file

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.

2
Enter a password if the file is protected

The field appears only when the input turns out to be encrypted.

3
Pick the target format

Only the conversions that apply to your input are offered; the rest are greyed out.

4
Download

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.

Drop in whatever you have and take out the format your server wants

Paste above, drop files anywhere on this box, or
Published Updated Author: