🔒 SSL/TLS Certificate Decoder
Decode and inspect PEM-encoded certificates. Everything runs in your browser.
Last updated: November 8, 2026 · By the BoltQuickTools team
Read a certificate without running openssl
When a site shows a certificate warning or a renewal is coming up, you need the expiry date, the domains covered and the issuer. A PEM file is unreadable base64, and the usual openssl x509 command is not on every machine. This page decodes the file into labelled fields.
Decoding a certificate
- Paste into Paste PEM Certificate, which decodes on paste, or press Upload .pem/.crt. The uploader also takes
.cerand binary.derfiles. If you edit the text afterwards, press Decode. - For a bundle, click through the buttons under Certificate Chain.
- Copy Decoded Info copies a plain-text summary of the certificate on screen. Sample Certificate loads a test one and Clear resets the page.
This tool never connects to a host, so you need the certificate first. One way to fetch a server's chain is:
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null
Paste the output in: anything outside the BEGIN and END lines is ignored.
What the sample decodes to
Sample Certificate shows a banner and live countdown, followed by these fields:
Subject CN example.com, O Example Corp, OU Engineering,
C US, ST California, L San Francisco
Issuer CN example.com (same as the subject: self-signed)
Version V3
Serial 1C:C7:3A:94:14:C6:C7:E8:7B:05:A1:33:E4:87:33:82:B5:6E:2F:03
Valid From Thu, 02 Apr 2026 14:42:33 GMT
Valid To Wed, 27 Dec 2028 14:42:33 GMT
Signature sha256WithRSAEncryption
Public Key RSA (2048 bits)
Basic Constraints CA: TRUE
Key Usage digitalSignature, keyEncipherment
Ext. Usage serverAuth, clientAuth
SANs (4) DNS: example.com, DNS: www.example.com,
DNS: api.example.com, IP: 127.0.0.1
SHA-256 AF:27:11:9E:FE:B3:D6:C9:8E:F4:3B:C6:D7:61:35:B1:
10:66:EB:84:18:93:76:91:D8:1D:8B:2C:28:CF:12:66
Fingerprints are hashes of the certificate's binary form. For a test certificate, the SHA-256 value here matched openssl x509 -fingerprint -sha256 exactly.
"VALID" means the dates only
The banner compares your device's clock with the validity period. Under 30 days from expiry it reads EXPIRING SOON. It does not verify the signature, trace the chain to a trusted root or check revocation. The sample above is self-signed and still says VALID, so a browser error can be perfectly genuine when this page looks fine.
Limits
- Chain labels come from position. The first certificate is named Leaf and the last is named Root, even if a bundle stops at an intermediate.
- EC key size is overstated. The figure counts the encoded key point, so a P-256 certificate reads
EC (520 bits) - prime256v1 (P-256). Go by the curve name. - Only certificates are accepted. A CSR or private key gives "No PEM certificate found".
.p12,.pfxand.p7bfiles are not supported. Damaged base64 is reported as a parse failure. - Some extensions are not shown, including certificate policies, CRL distribution points and authority information access. Critical flags are also not displayed.
- IPv6 SANs are written in full, as in
2001:db8:0:0:0:0:0:1.
Questions about certificates
Is it safe to paste a certificate here?
Certificates are public documents that any visitor to your site receives. The decoding code runs in this page and makes no network request. Never paste a private key into any web page.
Why do the SHA-1 and SHA-256 fingerprints differ?
They are two hash algorithms applied to the same bytes. SHA-1 is included for matching older records, and SHA-256 is the one to compare against current tools.
Which name decides whether a certificate fits my domain?
Browsers check the Subject Alternative Names list, not the CN. Confirm that your host appears there, and if a new name is not resolving, use the DNS lookup tool. If you want a key for server login instead, see the SSH key generator. Web security basics covers TLS more broadly.