The SSL Certificate Converter is a free online tool that converts SSL/TLS certificates between PEM, DER, PKCS#7 (P7B), and PKCS#12 (PFX) formats. Upload your certificate file or paste PEM text — conversion happens instantly in memory for maximum security. Use it when migrating certificates between Apache, Nginx, IIS, Java, or other platforms.
Drag and drop your certificate file into the upload area, or click to browse. You can also paste PEM-encoded text directly. Supported formats: .pem, .crt, .cer, .der, .pfx, .p12, .p7b, .p7c.
Choose your desired output format: PEM for Apache/Nginx, DER for Java/Android, P7B for Windows/Tomcat, or PFX for Windows IIS/Azure. Incompatible formats are disabled automatically.
For PFX output, attach your private key file and set an export password. For PFX input, enter the decryption password. Optionally include a CA bundle for the complete certificate chain.
Click Convert to process your certificate. Binary formats download automatically. PEM output is displayed on screen so you can copy it directly.
PEM is one of the most widely used certificate formats. PEM files typically have the extension .pem, .crt, .cer, or .key. They are Base64-encoded ASCII files and contain the lines "----- BEGIN CERTIFICATE -----" and "----- END CERTIFICATE -----". PEM format can store server certificates, intermediate certificates, and private keys. Certificates in PEM format are used by various servers, including Apache and others. In some cases, the certificate and private key can be combined into a single file, but for most platforms the certificate and private key must be in separate files.
DER is a binary form of a certificate. Files in this format can have the extension .der or .cer. The only difference between them is the BEGIN/END lines. Any type of certificate and private key can be represented in DER format. Typically, this format is used with the Java platform. With SSL Converter you can convert SSL certificates to and from DER format.
The PKCS#7 or P7B format is a Base64 ASCII file with the extension .p7b or .p7c. P7B certificates contain the string "----- BEGIN PKCS7 -----" and "----- END PKCS7 -----". Files of these certificates do not include the private key. The P7B files contain only the certificates and certificate chains. The P7B format is supported by platforms such as Microsoft Windows and Java Tomcat.
PKCS#12 or PFX is a binary format used to store intermediate certificates, server certificates, and private keys in a single file. PFX files use the .pfx and .p12 extensions. These files are commonly used on Windows machines to import and export private keys and certificates. After converting PFX to PEM you will need to open the resulting file in a text editor and save each certificate and private key to a text file - for example, cert.cer, CA_Cert.cer and private.key. You should copy necessary snippets together with BEGIN / END.
Last updated: April 2026