Convert DER, CER and CRT files to PEM

Drop a binary certificate, key, CSR or CRL and get it as PEM text with the right header, or turn PEM back into DER. PKIScope detects what the file contains, so you don't need to know the type. Everything runs locally.

What you can do

Frequently asked questions

How do I tell whether a .cer or .crt file is DER or PEM?

Open it in a text editor. PEM starts with a -----BEGIN line; DER looks like binary noise. PKIScope accepts either and detects which it is.

What is the OpenSSL command for DER to PEM?

For a certificate: openssl x509 -inform der -in cert.cer -out cert.pem. Keys, CSRs and CRLs each need a different subcommand, which is why PKIScope detects the type for you.

Can I convert a .p7b file?

PKCS#7 (.p7b) files are detected automatically. To list and export the certificates inside one, open it in the PKCS#7 viewer.

Related tools