Use this free SSL certificate decoder to read an X.509 certificate in plain text. Paste a certificate in PEM format, and the tool shows who it was issued to, who issued it, when it expires, which hostnames it covers, what key and signature algorithm it uses, and its SHA-256 and SHA-1 fingerprints. It also warns about problems such as an expired or soon-to-expire certificate, a weak key, or a self-signed certificate. Everything runs in your browser and nothing is uploaded or stored.
A certificate is public information, but a private key is not. Paste only the certificate, the part that starts with BEGIN CERTIFICATE, and never a private key.
How to use the SSL certificate decoder
Paste a certificate, then decode it.
- Get the certificate: run
openssl s_client -connect your-site.com:443 -showcertsand copy the block between BEGIN CERTIFICATE and END CERTIFICATE, or export it from your browser's certificate viewer as Base64 (PEM). - Paste it: you can paste one certificate or a whole chain. For a chain, buttons let you switch between the certificates.
- Hostname to check: optionally enter a hostname to see whether the certificate covers it.
- Decode certificate: the tool shows the status, a row for each field, and any warnings.
- Copy: click a row to copy its value, or copy the full report.
- Load example: fills in a sample self-signed certificate so you can see how the results look.
What the tool shows
- Status: whether the certificate is valid now, expires within 30 days, has expired, or is not valid yet, using the current time in your browser.
- Identity: the subject, the issuer, the common name, and the serial number.
- Dates: the valid-from and valid-until times in UTC, and the length of the validity period.
- Hostnames: the Subject Alternative Names, and a match result if you entered a hostname.
- Cryptography: the public key type and size, and the signature algorithm.
- Extensions: key usage, extended key usage, basic constraints, certificate policies, key identifiers, and the OCSP, issuer, and CRL URLs.
- Fingerprints: the SHA-256 and SHA-1 fingerprints of the certificate, calculated in your browser.
What this tool does and does not do
This tool decodes the certificate you paste. It does not connect to your server, so it cannot show which certificate your site is serving right now. It does not verify the signature, build or check the chain to a trusted root, or look up revocation status, so a Valid status only means the dates are current. It reads the common certificate fields and extensions, and it shows unknown extensions as present but does not decode them. Binary DER files are not supported, so convert them to PEM first with openssl x509 -inform der -in cert.cer -out cert.pem.
What the fields mean
| Field | Example | What it tells you |
|---|---|---|
| Subject | CN=example.com, O=Example Org | Who the certificate was issued to. |
| Issuer | CN=Example Issuing CA | The certificate authority that signed it. If it matches the subject, the certificate is self-signed. |
| Valid from / until | 2026-01-01 00:00:00 UTC | The dates browsers use to decide whether the certificate is current. |
| Subject Alternative Names | example.com, www.example.com | The hostnames the certificate covers. Browsers check these, not the common name. |
| Public key | RSA 2048 bits, or EC P-256 | The key type and size. RSA keys below 2048 bits are weak. |
| Signature algorithm | sha256WithRSAEncryption | How the issuer signed the certificate. SHA-1 and MD5 are broken. |
| Key usage | Digital signature, TLS server authentication | What the key is allowed to be used for. |
| Basic constraints | CA: no | Whether the certificate can sign other certificates. |
| SHA-256 fingerprint | B1:31:0D:1A:... | A unique ID for this exact certificate, useful for comparing or pinning. |
| OCSP / CRL URLs | http://ocsp.example-ca.com | Where clients check whether the certificate has been revoked. |
If a site shows a certificate error, check three things first: the dates, the hostname, and whether the server sends the full chain.
Worked examples
A certificate about to expire
A certificate that ends in 12 days shows the status Expires in 12 days with a warning. Renew it and install the new certificate before the expiry time, which is shown in UTC. Automated renewal avoids most expiry outages.
A hostname that is not covered
A certificate that lists example.com and www.example.com does not cover shop.example.com. A wildcard such as *.example.com covers shop.example.com, but it does not cover example.com itself or a deeper name such as a.b.example.com. Enter the hostname in the optional field to test it.
A self-signed certificate
When the subject and issuer are the same and the certificate is not a CA, the tool reports it as self-signed. Browsers do not trust it unless it is installed manually. This is fine for local testing but not for a public site.
A weak key or signature
An RSA key of 1024 bits, or a certificate signed with SHA-1 or MD5, is flagged. Replace the certificate with one that uses at least a 2048-bit RSA key or an EC key such as P-256, and a SHA-256 or stronger signature.
Common certificate mistakes
- Relying on the common name. Modern browsers match the hostname against the Subject Alternative Names, so a certificate without them can fail.
- Forgetting the intermediate certificate. A server should send the full chain. If it sends only the leaf, some clients will show errors.
- Misreading the time zone. Certificate dates are in UTC. A certificate may expire earlier or later in your local time.
- Assuming Valid means trusted. The dates can be fine while the issuer is not trusted, the chain is broken, or the certificate was revoked.
- Pasting a private key. Share only the certificate. A private key must stay secret.
- Renewing by hand. Manual renewal is easy to forget. Use automatic renewal and monitor the expiry date.
Frequently asked questions
Is this SSL certificate decoder free?
Yes. There is no sign-up and no limit on how many certificates you decode.
Is my certificate sent or stored?
No. The certificate is decoded in your browser and nothing is sent to a server or saved. It disappears when you close or refresh the page.
What formats does it accept?
PEM, which is Base64 text between BEGIN CERTIFICATE and END CERTIFICATE lines. You can paste several certificates to see a chain, and plain Base64 without the header lines also works. Binary DER files need to be converted to PEM first.
Does it check that the certificate is trusted?
No. It does not verify the chain, the signature, or revocation. It tells you what is inside the certificate, not whether a browser will accept it.
Why does it say my certificate has expired when my site works?
You may have pasted an old certificate, or a different certificate in the chain such as an intermediate. Check which certificate your server is actually serving, and use the buttons to switch between certificates if you pasted a chain.
Is it safe to paste a certificate here?
Yes. Certificates are public information. Never paste a private key into any website. The tool refuses input that contains a private key.