SSL Certificate Format Converter

Convert certificates between PEM, DER, P7B, and PFX formats.

Was this helpful?
Share Tool

Upload or paste a cert and pick the target format. Conversion is in-tab via Forge. FlashKit does not operate a CA or keep the files.

PFX/P12 bundles include private keys. Treat them like passwords.

How to convert a certificate

  1. Choose the source format you actually have (PEM vs DER vs PFX).
  2. Paste or select the file. Add the PFX password if required.
  3. Convert and download. Confirm the output opens in your server’s expected tool.
  4. Wipe downloads on shared machines.

Key Features

  • Common PEM/DER/P7B/PFX paths
  • Local conversion
  • No FlashKit vault
  • Sister tool generates self-signed certs for localhost

Three conversions, and what each box shows

  • PEM to DER reads a PEM certificate, writes the DER bytes, and shows those bytes as hex in the output box. The download is the binary DER file, not the hex text. DER to PEM parses those DER bytes and shows a PEM block beginning with -----BEGIN CERTIFICATE-----. PEM to P7B wraps the certificate in a PKCS#7 signed-data message and shows a PEM block you save as .p7b. The download types are .der, .pem, and .p7b.
  • There is no PFX or P12 mode on this page, and no private-key field. A .pfx file will not convert here. A forgotten PFX password cannot be recovered. The error for a bad input is “Conversion failed. Please verify input format and ensure the certificate is valid.”
  • PEM to DER expects the text form. DER to PEM expects the binary file. If you upload a PEM while DER to PEM is selected, the parser is reading text as DER and the conversion fails. Switch the mode before you drop the file.

What conversion does not change

  • The subject, the dates, and the signature stay as they were. Converting PEM to DER and back does not renew an expired certificate and does not add a name a browser will trust. A self-signed certificate is still self-signed after the format change.
  • A PEM that contains several certificates may only convert the first one. A bundle of intermediates may not become a full chain in the P7B. Open the result in the tool your server actually uses before you replace a live file.
  • The bytes sit in the tab. Do not convert a production private key on a shared computer. This page does not ask for a key password because it is not importing a key store.

How to turn a PEM certificate into DER

  • Select PEM to DER, paste the PEM including the BEGIN and END lines, convert, and download the .der. If the output hex is empty and the red line is showing, the paste is not a certificate PEM. A private-key PEM is a different block and will not parse as a certificate.
  • To go the other way, switch to DER to PEM and upload the binary file again. Do not paste the hex from the previous box and expect DER to PEM to accept it.

Frequently Asked Questions

Can you unlock a PFX I forgot the password to?

No.

Is this “free SSL” for my .com?

No. Conversion does not issue a trusted certificate.

Expert Guide for SSL Format Converter

View Blog
Create a Self-Signed SSL Certificate for Localhost (2026)

Create a Self-Signed SSL Certificate for Localhost (2026)

Localhost SSL certificate: self-signed SAN (DNS:localhost, IP:127.0.0.1), trust it in Chrome. Let’s Encrypt cannot issue for localhost.

Read Guide

Categories

Browse all FlashKit tools