Skip to content

Menu

SSL Cert Decoder

Decode PEM certificate information and inspect certificate details.

Runs entirely in your browserAuth & SecurityFree, no sign-up
Loading tool

01What is SSL Cert Decoder?

A TLS error message rarely tells you which field is wrong. Paste a PEM certificate here and you see the parts that usually matter, decoded in your browser with nothing uploaded. The tool strips the BEGIN and END lines, Base64-decodes the body and walks the DER structure that RFC 5280 defines for X.509 certificates. You get the subject and issuer distinguished names (CN, O, OU, C, ST, L and email, including UTF-8 and BMP strings) and the validity window in UTC. It also lists Subject Alternative Names: DNS names, IPv4 and IPv6 addresses, email addresses and URIs. For the public key it shows RSA with its modulus size, EC with its named curve (P-256, P-384 or P-521), or Ed25519. Below that come the signature algorithm, the serial number in the colon-separated hex that openssl prints, the version, the Basic Constraints CA flag and a SHA-256 fingerprint of the whole DER certificate. Warnings sit at the top. You will see one for an expired or not-yet-valid certificate, for SHA-1 or MD5 signatures, and for a leaf certificate with no DNS or IP SAN. That last one matters more than people expect. RFC 6125 and the CA/Browser Forum Baseline Requirements put hostnames in the SAN, and current browsers ignore the Common Name when matching. Here is a typical run. We pasted a self-signed RSA 2048 test certificate for test.example.com, valid through 1 January 2027. The tool printed a green line saying it is within its validity period with a modern signature and SANs. The rows below listed DNS:test.example.com, DNS:www.test.example.com and IP:192.0.2.10, serial 10:01 and sha256WithRSAEncryption. A P-256 test certificate that ran out on 1 April 2025 got an Expired warning instead. We compared the output with OpenSSL's parser, through Node's X509Certificate, on every root certificate bundled with Node and on test certificates with SANs, UTF-8 names and v1 format. Serials, fingerprints, dates and CA flags matched. Now the limits, because they are real. The tool does not verify the signature, build or check a chain, or ask OCSP or a CRL about revocation. It reads PEM text only, so convert a binary DER file first with openssl x509 -inform der. If you paste a bundle, it decodes the first certificate and tells you how many it found. Key Usage, Extended Key Usage and other extensions are not listed. A green line therefore means the fields look sane, not that a browser will trust the certificate.

DevOps engineers and sysadmins use it to check a certificate's names, dates and key before deploying it or while chasing a TLS handshake error. The tool runs entirely in your browser, so your data never leaves your device.

02How to use SSL Cert Decoder

  1. Paste the PEM certificate, including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines, into the text box.
  2. The result appears as soon as the BEGIN line is present. If you pasted a bundle, a note tells you how many certificates were found.
  3. Read the summary first: a green line, or amber warnings for expiry, a weak signature or missing SANs.
  4. Check Subject, Issuer, Valid from, Valid until and Subject Alternative Names against the hostnames you serve.
  5. Compare the SHA-256 fingerprint with openssl x509 -noout -fingerprint -sha256 -in cert.pem when you need to confirm which file you have.

03Worked examples

Input: Test certificate (self-signed, made for this example): CN=test.example.com, RSA 2048, valid 1 Jan 2026 to 1 Jan 2027, SANs test.example.com, www.test.example.com, 192.0.2.10 -----BEGIN CERTIFICATE----- MIIDcDCCAligAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwQzELMAkGA1UEBhMCR0Ix … -----END CERTIFICATE-----
Result: Within its validity period, modern signature algorithm, has SANs. The signature and chain are not checked. Subject: C=GB, O=Example Test Ltd, CN=test.example.com Issuer: C=GB, O=Example Test Ltd, CN=test.example.com Valid from: Thu, 01 Jan 2026 00:00:00 GMT Valid until: Fri, 01 Jan 2027 00:00:00 GMT Subject Alternative Names: DNS:test.example.com, DNS:www.test.example.com, IP:192.0.2.10 Public key: RSA 2048 bits Signature algorithm: sha256WithRSAEncryption Serial number: 10:01 Version: v3 CA certificate: No SHA-256 fingerprint: A5:00:8B:AB:1B:0A:34:05:BC:37:31:34:E8:F4:34:2C:74:95:F1:AC:5C:8B:E1:43:D7:D9:9C:97:D2:70:51:29
A certificate inside its dates with a SHA-256 signature and SANs gets the green summary line; the SHA-256 fingerprint is computed over the DER bytes and matches Node's X509Certificate fingerprint256 for the same file.
Input: Test certificate (self-signed, made for this example): CN=test.example.com, EC P-256, valid 1 Jan 2025 to 1 Apr 2025 -----BEGIN CERTIFICATE----- MIIB5DCCAYqgAwIBAgICIAIwCgYIKoZIzj0EAwIwQzELMAkGA1UEBhMCR0IxGTAX … -----END CERTIFICATE-----
Result: Expired Subject: C=GB, O=Example Test Ltd, CN=test.example.com Issuer: C=GB, O=Example Test Ltd, CN=test.example.com Valid from: Wed, 01 Jan 2025 00:00:00 GMT Valid until: Tue, 01 Apr 2025 00:00:00 GMT Subject Alternative Names: DNS:test.example.com, DNS:www.test.example.com, IP:192.0.2.10 Public key: EC P-256 Signature algorithm: ecdsa-with-SHA256 Serial number: 20:02 Version: v3 CA certificate: No SHA-256 fingerprint: 41:EA:9D:06:4D:88:25:C7:41:2A:B0:B5:78:6C:F4:7B:7C:72:08:55:3B:4D:3C:50:B3:24:E5:A3:33:48:D1:5A
An EC key is reported by curve name (P-256), and a certificate past its Valid until date shows the Expired warning instead of the green line.
Input: Two test certificates pasted together: the RSA test certificate above followed by the EC test certificate
Result: 2 certificates found; showing the first. Paste one at a time to inspect the others. Within its validity period, modern signature algorithm, has SANs. The signature and chain are not checked. Subject: C=GB, O=Example Test Ltd, CN=test.example.com Issuer: C=GB, O=Example Test Ltd, CN=test.example.com Valid from: Thu, 01 Jan 2026 00:00:00 GMT Valid until: Fri, 01 Jan 2027 00:00:00 GMT Subject Alternative Names: DNS:test.example.com, DNS:www.test.example.com, IP:192.0.2.10 Public key: RSA 2048 bits Signature algorithm: sha256WithRSAEncryption Serial number: 10:01 Version: v3 CA certificate: No SHA-256 fingerprint: A5:00:8B:AB:1B:0A:34:05:BC:37:31:34:E8:F4:34:2C:74:95:F1:AC:5C:8B:E1:43:D7:D9:9C:97:D2:70:51:29
When a bundle contains several certificates, only the first is decoded and a line says how many were found.
Input: Test input with a broken body: -----BEGIN CERTIFICATE----- not*base64 -----END CERTIFICATE-----
Result: Error: The certificate body is not valid Base64
A PEM block whose body is not Base64 is rejected before any DER parsing.

04Common use cases

  • Checking the Valid until date and SAN list of a renewed certificate before you reload nginx with it
  • Finding out why curl reports a hostname mismatch, by looking for the missing name in Subject Alternative Names
  • Matching a leaf certificate's Issuer line to the Subject of the intermediate in your fullchain.pem
  • Confirming a certificate from a vendor or a Kubernetes secret is an EC P-256 or RSA 2048 key before you configure ciphers
  • Spotting a SHA-1 signed internal certificate that modern clients will refuse
  • Telling two similar .pem files apart by comparing their SHA-256 fingerprints
  • Checking whether a file is a CA certificate or a leaf by reading the CA certificate row

05Tips

  • Browsers match hostnames against Subject Alternative Names, not the Common Name. If your domain is only in CN, the certificate needs reissuing.
  • To inspect the server's live certificate, run openssl s_client -connect host:443 -servername host and paste the first PEM block it prints.
  • A bundle decodes only its first certificate here. Split fullchain.pem and paste each block to compare Issuer and Subject down the chain.
  • A SHA-1 or MD5 warning means reissue, even if the dates are fine. Modern browsers reject those signatures on publicly trusted certificates.
  • Valid from and Valid until are shown in UTC. A certificate issued minutes ago can look not yet valid on a server whose clock runs behind.

06Related concepts

X.509, TLS/SSL, Certificate chain, Public key infrastructure.

Frequently Asked Questions

What is SSL Cert Decoder?

SSL Cert Decoder is a free, browser-based developer tool on AIDToolStack. Decode PEM certificate information and inspect certificate details. It requires no installation or sign-up and works entirely in your browser.

Is SSL Cert Decoder free to use?

Yes. No sign-up, no fees and no usage cap.

Does SSL Cert Decoder store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe