SSL certificate decoder

This SSL certificate decoder shows the contents of a PEM certificate: the subject, the issuer, the validity dates, the subject alternative names (SAN), the public key, and the fingerprints, for every certificate in the chain.
Input
Paste one certificate or a chain, including the BEGIN CERTIFICATE and END CERTIFICATE lines. Up to 10 certificates and 65,536 characters at a time.
Certificates decoded: 1.

Decoding runs in the browser and requires JavaScript. A fixed example is shown.

Certificate 1 of 1
Subject
C=IL, O=Example Ltd, CN=www.example.com
Issuer
C=IL, O=Example Ltd, CN=Example Test Root CA
Serial number
0A:1B:2C:3D:4E:5F:60:71:82:93
Valid from
11/01/2026, 00:00 UTC
Valid until
12/01/2027, 00:00 UTC
Alternative names (SAN)
DNS:www.example.com, DNS:example.com, IP:192.0.2.10, IP:2001:db8::10
Public key
RSA, 2048 bits
Signature algorithm
ecdsa-with-SHA384
CA certificate (Basic Constraints)
No, an end-entity certificate
Key Usage
digitalSignature, keyEncipherment
Extended Key Usage
serverAuth, clientAuth
SHA-256 fingerprint
19:CD:D5:DC:F3:02:53:8F:AF:B9:20:04:DE:66:C7:20:00:9D:02:29:C2:6D:6E:D6:AC:BB:6C:C8:B4:46:4E:DF
SHA-1 fingerprint
1B:9F:26:28:D0:38:13:1C:C7:09:5D:3C:D6:0E:D6:A8:0D:4C:C1:66

Everything runs in your browser; nothing is sent or stored.

  • Paste one certificate or a certificate chain, including the BEGIN and END lines, into the "PEM certificate" field and click "Decode".
  • Each certificate gets its own section, in the order in which the certificates appear in the input.
  • Below the details of each certificate, the tool shows whether the certificate is valid, along with the number of days until it expires or since it expired. Validity is checked against the device clock, and dates are shown in UTC.
  • The "Alternative names (SAN)" row shows all the domains and IP addresses that the certificate covers.
  • Blocks of other types in the input, such as a public key, are not decoded, and the message below the "Decode" button shows how many there are.
  • The tool only shows what the certificate contains. It does not check the signature, the chain up to a trusted root, or whether the certificate was revoked.

What an SSL certificate contains

An SSL certificate, more precisely an X.509 certificate for the TLS protocol, binds a domain name to a public key and is usually signed by a certificate authority (CA). The "Subject" row states who the certificate was issued to, and the "Issuer" row states the certificate authority that signed it. Browsers check the site name against the subject alternative names (SAN) only, so when the name does not appear in the "Alternative names (SAN)" row, the browser shows a warning even if the name appears in the CN field of the subject.

Certificate chain and intermediate certificates

Certificate authorities sign website certificates with an intermediate certificate, and the intermediate certificate is signed by a root certificate that is installed as a trusted certificate in the browser or the operating system. That is why the server sends the browser both the website certificate and the intermediate certificates. In the chain file, the website certificate comes first, followed by the intermediate certificates. When an intermediate certificate is missing, some browsers and devices show a security error. When you decode a valid chain file, the issuer of each certificate matches the subject of the next certificate, and the root certificate does not need to be included in the file.

Certificate validity period

Every certificate has a validity start date and end date, and after the end date the browser shows a warning page instead of the site. The CA/Browser Forum, which sets the rules for public SSL certificates, is gradually shortening the maximum validity period of certificates. As a result, automatic renewal, for example with the ACME protocol, is becoming the standard way to manage certificates, and manual renewal requires close tracking of expiration dates.

Common values in certificate rows

  • DNS:*.example.coma wildcard name that covers one level of subdomains, such as shop.example.com, but does not cover example.com itself.
  • IP:192.0.2.10an IP address that the certificate covers, for accessing the server by its address rather than by a domain name.
  • serverAuthserver authentication, the usage that a website certificate requires.
  • clientAuthclient authentication, for example when you sign in to a service with a certificate.
  • digitalSignatureuse of the key for digital signatures, for example while a TLS connection is being established.
  • keyCertSignsigning other certificates, a usage that appears only in CA certificates.
Did you know?

With our website and server monitoring service, SSL certificate validity checks are included in every plan.

Website and server monitoring

SSL certificate decoder FAQ

Does the decoder check that the certificate is trusted?

No. The decoder only shows what the certificate contains. It does not check the signature, the chain up to a trusted root certificate, or whether the certificate was revoked. To check the certificate installed on a website, including the chain, you can use the "SSL certificate checker" tool.

Can I decode a DER, P7B, or PFX file?

The decoder accepts certificates in PEM format, as well as the Base64 content of a certificate without the BEGIN and END lines. You can convert a binary DER file to PEM format with the command openssl x509 -inform der -in certificate.der -out certificate.pem, and you can extract the certificates from a P7B file with the command openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem. A PFX file also contains the private key, so extract only the certificates from it on your local computer, with the command openssl pkcs12 -in certificate.pfx -nokeys -out certificate.pem.

Why do I see a message that the input contains a private key?

When the input contains the words PRIVATE KEY, none of the input is decoded, even if it also contains certificates. The decoder is for certificates only, so paste only the CERTIFICATE blocks.

How do I check that a certificate matches the private key?

A certificate and its matching private key share the same public key, and you compare them on the computer where the key is stored. Compare the output of the command openssl x509 -noout -pubkey -in certificate.pem with the output of the command openssl pkey -pubout -in private.key. When the two outputs are identical, the certificate matches the key.

Why are the dates in the decoder different from the dates shown in the browser?

The decoder shows dates in UTC, while browsers show dates in local time, so the time shown in the browser may differ by a few hours, and sometimes the date falls on a different day. The number of days until the certificate expires is calculated from the device clock.

How many certificates can I decode at once?

You can decode up to 10 certificates and up to 65,536 characters at a time. A website chain usually includes two or three certificates.

Shopping cart

Your cart is emptyYou can start with one of our popular plans.

Site search

Accessibility

Text size
100%
Accessibility statement