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
- DER → PEM with the correct BEGIN/END label
- PEM → DER for each block in a bundle
- Detects certificates, keys, CSRs, CRLs and PKCS#7 automatically
- Handles .der, .cer, .crt and .p7b files
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
- Converter — All conversions: PEM, DER, PFX, PKCS#1/PKCS#8, chains, key passwords
- Viewer — Inspect and debug certificates, PFX files, keys, CSRs and CRLs
- PKCS#7 / CMS — Open P7S, P7M and P7B files and verify signed data
- PEM to PFX — Combine certificate, key and chain into a PFX/P12