How to use the SSL Certificate Decoder tool
- Paste the PEM text (-----BEGIN CERTIFICATE-----) or open a .crt, .pem, .cer or .csr file.
- Read the validity, domains, issuer and key details.
- For a chain, check that each certificate is issued by the next one.
What the decoder shows
- Validity period and days until expiry, with a warning for expired or soon expiring certificates.
- Subject alternative names: all domains and IP addresses the certificate covers.
- Issuer, serial number, signature algorithm, validation type (DV, OV, EV).
- Public key type and size, key usage and extended key usage.
- OCSP and CRL addresses, SHA-256 and SHA-1 fingerprints.
Checking a CSR before you order
Before sending a CSR to a certificate authority, decode it to confirm the common name, the SAN list and the key size. Public CAs reject RSA keys shorter than 2048 bits.
Never share private keys
Certificates and CSRs are public information. Private keys are not: never paste them into any website. This tool warns you if your text contains a private key. Everything runs in your browser. Your files and text are not uploaded to our server or stored anywhere.
Common problems you can spot
- The domain users type is missing from the SAN list (for example www.example.com is covered but example.com is not).
- The server sends only the site certificate without the intermediate certificate; browsers may cope, but some apps and APIs fail.
- The certificate in the chain does not match the expected issuer after a CA change.
- The expiry date is close and automatic renewal has silently stopped.
Getting the certificate from a server
On Linux or macOS, run openssl s_client -connect example.com:443 -servername example.com -showcerts and copy each block between BEGIN and END CERTIFICATE. The -servername option is important for servers that host several sites on one IP address.
Frequently asked questions
Which formats are supported?
PEM text and DER binary files (.crt, .cer, .der). For .pfx / .p12 files, export the certificate with openssl pkcs12 first.
Can it check a live website?
It decodes certificates you paste. To get the certificate of a site, run: openssl s_client -connect example.com:443 -showcerts.
Does it verify the signature?
It checks that each certificate in a chain names the next one as issuer. It does not check revocation or your trust store.
Is my certificate uploaded?
No. Decoding is done in your browser by a small ASN.1 parser.
How do I check when an SSL certificate expires?
Paste the certificate here, or run openssl x509 -enddate -noout -in cert.pem. For a live site: echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -enddate.
How do I convert a .crt or .cer file to PEM?
If the file starts with -----BEGIN CERTIFICATE----- it is already PEM. A binary (DER) file converts with openssl x509 -inform der -in cert.cer -out cert.pem, or open it here directly.
What is the difference between DV, OV and EV?
DV (domain validated) only proves control of the domain. OV and EV certificates also include verified company details. Browsers show all of them with the same padlock.
How long are certificates valid today?
Public certificates are limited to about one year, and the maximum is being reduced further over the next years. Automate renewal, for example with Let’s Encrypt and ACME.
