PEM and DER are the same data, two encodings
A PEM certificate is just a DER-encoded (binary ASN.1) certificate, base64-encoded and wrapped in -----BEGIN CERTIFICATE----- / -----END CERTIFICATE----- lines so it can be handled as plain text. This tool converts directly between the two: strip the PEM wrapper and base64-decode to get DER bytes, or base64-encode DER bytes and add the wrapper to get PEM. Everything happens in your browser - your certificate is never uploaded anywhere.
Why different systems expect different formats
Some servers and tools (particularly on Windows and in Java environments) expect DER, while most open-source tools (Apache, Nginx, OpenSSL) expect PEM - this covers the conversion either direction needs, which comes up often when moving a certificate between a Windows IIS server and a Linux-based one, or between a Java keystore and an OpenSSL-based tool.
Why DER is a binary format and PEM is text
DER is the raw binary ASN.1 encoding the certificate standard actually defines - compact, but not safely transmittable through systems that expect plain text (like pasting into a config file or an email). PEM exists specifically to solve that: the same binary data, base64-encoded into text-safe characters and wrapped with clear markers, so it survives being copied, pasted, and stored as a plain text file.
Why this tool is scoped to certificates, not private keys
Private keys carry higher-stakes handling considerations than certificates (a certificate is public by design; a private key must stay secret), so converting a private key's format is better handled with a trusted local tool like OpenSSL, run on a machine you control, rather than any web-based converter.
Certificate formats
SSL/TLS certificates come in different file formats, such as PEM, DER, PFX or P12 and P7B. Different servers and platforms expect different ones, so you often need to convert a certificate before installing it.
Choosing the conversion
PEM is text-based and common on Linux and Apache. DER is binary and often used in Java and Windows. PFX or P12 bundles the certificate with its private key and is common on Windows and IIS. Pick the target format your server documents.
Protect your private key
A private key must never be shared. If a conversion involves a key or a password-protected bundle, think carefully before using any online service, and prefer local tools such as OpenSSL for production keys. Test the converted file after installation.
Formats
PEM files are text with BEGIN and END lines and are common on Apache and Nginx. DER is a binary form, PFX or PKCS#12 bundles a certificate and private key and is common on Windows and IIS. Convert to the format your server needs.
Safety
Private keys and PFX passwords are sensitive. Convert on a trusted machine and delete extra copies afterwards.
Install and test
After converting, install the new file and test the site with an SSL checker. Confirm the full chain is present and the private key still matches the certificate.