Certificates prove who runs a website, who signed a program or an email, or which device may join a network. They arrive as .cer, .crt, .pem or .der files, several together in a .p7b, or with their private key in a password-protected .pfx or .p12, and on most computers opening one shows a cryptic dialog, an import wizard or nothing at all. This page lays out what is in each one.
Most online certificate decoders want PEM text pasted into a box, and many send it to their server. Here you drop the file itself, in any of these forms, and it is read by this tab, which matters most for a .pfx or a .pem that carries a private key.
- What is the difference between .cer, .crt and .pem?
- The extensions are habits, not formats. Any of them can hold a certificate as text (PEM, starting with "-----BEGIN CERTIFICATE-----") or as binary (DER). This page reads either, whatever the file is called.
- Does it check that the certificate is genuine?
- No. It shows what the certificate says about itself; it does not check its signature against a trusted authority or whether it has been revoked. Compare its SHA-256 fingerprint with one you got from the owner by another route to be sure it is the right one.
- My .pem file has a private key in it. Is that safe here?
- The key is never shown or used; the page only says that the file holds one. Nothing is uploaded. The file should still be kept secret, since anyone who has the private key can pose as the certificate's owner.
- How do I open a .pfx file?
- Drop it on the box above. A .pfx (also called .p12, or PKCS#12) holds one or more certificates and usually their private key, locked with a password. If it has no password, or an empty one, it opens at once; otherwise type the password and press Open. You then see each certificate, and which of them the private key belongs to.
- Is it safe to type my .pfx password here?
- The password and the file stay in this browser tab: both are used on your device to unlock the file and are never sent anywhere. The private key is decrypted only to read its type and size, and is then wiped; it is never shown. If you would rather not type the password into any web page, your operating system's certificate manager or OpenSSL can open the file too.
- It says my password is wrong, but I am sure it is right.
- Passwords are case-sensitive, and almost every .pfx carries a check that tells a right password from a wrong one, so the message can be trusted: check for a different keyboard layout or a stray space. Some programs export with a password you did not choose; the person or system that made the file will know it.
- How do I get a website's certificate to look at here?
- In Chrome or Edge, click the icon to the left of the address, choose that the connection is secure, then the option to show the certificate; its Details tab has an Export button that saves a .crt or .pem. In Firefox, click the padlock, then Connection secure, More information and View Certificate, which offers a PEM download. Drop the saved file here to see the full chain and its expiry dates.