SSL Certificate Decoder
Decode a PEM certificate or CSR to see its domains, issuer, expiry date, key and fingerprints.
Runs in your browser. Nothing is uploaded.
Paste only certificates and CSRs, which are public. Never paste a private key into any website. This tool refuses them.
How to use the SSL Certificate Decoder
- Paste a certificate (-----BEGIN CERTIFICATE-----) or a certificate signing request (-----BEGIN CERTIFICATE REQUEST-----).
- The details appear immediately, including who it's for, who issued it, validity, domain names and key type.
- Badges show whether the certificate is valid, expired, expiring soon or self-signed.
- Check the SHA-256 and SHA-1 fingerprints against the ones you expect.
- Use the example buttons to see a certificate and a CSR.
Read what’s inside a certificate
TLS certificates are encoded in a binary format called DER and usually shared as PEM, a block of Base64
between BEGIN and END lines. To check one, you’d normally run a long openssl x509 -text command and
read through pages of output. This decoder shows the important details in a clear list, with plain-language
status badges.
What it shows
- Subject and issuer: who the certificate is for and which authority signed it
- Validity: start and end dates in UTC, with days remaining and a warning within 30 days of expiry
- Alternative names: every domain, IP address and email the certificate covers
- Public key: algorithm and size, such as RSA 2048-bit or EC P-256
- Signature algorithm, serial number and version
- Key usage and extended key usage, for example TLS web server or code signing
- Certificate authority flag, so you can tell a CA certificate from an end-entity one
- SHA-256 and SHA-1 fingerprints, calculated in your browser
CSRs are decoded too, showing the subject, public key and requested names, which is useful for checking a request before you submit it to a certificate authority.
Decoded locally
The certificate is parsed by a small decoder that runs in your browser, and the fingerprints use the built-in Web Crypto API. Nothing is uploaded. If you accidentally paste a private key, the tool refuses it and reminds you to replace it, because private keys should never be pasted into websites.
Frequently asked questions
How do I get a website's certificate?
In most browsers, click the padlock in the address bar, open the certificate details and export it as PEM (Base64). On the command line, openssl s_client -connect example.com:443 -showcerts prints it. Fetching certificates from a URL needs a server, so this tool decodes certificates you paste.
What's the difference between a certificate and a CSR?
A CSR (certificate signing request) is what you send to a certificate authority. It contains your public key and the names you want. The certificate is what the authority sends back, signed, with an issuer and validity dates.
Why does it show "Self-signed"?
The subject and issuer are the same, so no certificate authority vouches for it. That's normal for development and internal services, but browsers warn about it on public websites.
What are alternative names (SANs)?
Browsers check the certificate's subject alternative names, not its common name, to decide which domains it covers. Every domain and subdomain you serve must be listed there.
Is it safe to paste a certificate here?
Yes. Certificates and CSRs are public by design, and decoding happens entirely in your browser. Never paste a private key into any website, and this tool refuses them.
Tutorials
How to check a certificate's expiry date and domain names
Decode a TLS certificate to see when it expires, which domains it covers and who issued it, before a renewal or a launch.