PFX to PEM Converter

Convert PFX/P12 files to PEM format for Apache, Nginx, and other servers

Development Mode
Upload PFX File

Upload your PFX/P12 file and choose conversion options. The tool will extract the certificate(s) and private key in PEM format.

Drop your PFX file here or click to browse

By default, creates a combined certificate file. Enable separate files if you need individual certificate files.

About PFX to PEM Conversion

This tool converts PFX/P12 files to PEM format, which is the standard format used by Apache, Nginx, HAProxy, and many other web servers and applications.

What you'll get:

  • Certificate file (.crt) - Contains your SSL certificate
  • Private key file (.key) - Contains your private key
  • Combined file (.pem) - Certificate + private key in one file (for HAProxy, etc.)
  • Optionally: Separate files for each certificate in the chain

Common use cases:

  • Migrating from Windows IIS to Apache/Nginx
  • Using certificates with Node.js applications
  • Configuring HAProxy or other load balancers
  • Working with OpenSSL tools

File Formats: PEM files are Base64 encoded and can be opened in any text editor. They begin with headers like "-----BEGIN CERTIFICATE-----" or "-----BEGIN PRIVATE KEY-----".