Convert certificates between PEM, DER, PKCS12, and PKCS7 formats
SSL/TLS certificates come in several standard formats: PEM (Base64-encoded, most common), DER (binary format), PKCS12 (archive format for bundling certificates and private keys), and PKCS7 (signed data format). Our Format Converter enables quick conversion between these formats without needing OpenSSL command-line tools, making certificate management accessible to everyone.
A certificate is a binary document. Every format below is a different way of wrapping the same bytes so that a particular piece of software can accept them.
Base64 text between BEGIN and END CERTIFICATE lines. It is about a third larger than the binary and is what you can paste into a config file, read in an email and copy through a ticket. Nginx, Apache and most documentation expect it.
The same certificate as raw binary, with no armour. Smaller, and what certificate authorities hand out as the “binary” download and what Windows certificate stores and Java key stores use internally.
A container for a certificate and the intermediates needed to build a chain, without the private key. It is the format to use when you have several certificates to distribute together, such as handing an intermediate to an application that expects a bundle.
A password-protected container that can hold the private key as well. If your task involves a private key, use the PFX to PEM tool instead — this page does not handle keys.
Converting between PEM and DER changes only the encoding. The certificate inside is byte-for-byte the same document, and its fingerprint is unchanged, which is the quickest way to confirm a conversion was lossless.
Formats: PEM, DER, P7B/PKCS#7, PFX/PKCS#12 conversion
Components: Certificate, key, and chain conversion
Security: Password-protected format handling
Output: Converted certificate files with validation