A system administrator hands you a .pem certificate and you need to know if it's valid, which domains it covers or when it expires. The x.509 certificate decoder shows that data when you paste the block, without installing anything. With OpenSSL, the equivalent is openssl x509 -in cert.pem -noout -text.
What an x.509 certificate is
An x.509 certificate is the format defined by the RFC 5280 profile to certify that a public key belongs to an entity, usually a domain. It's issued by a certificate authority (CA) and contains, among other data, the identity, the validity period and the CA's signature.
It usually comes in PEM format: Base64 text delimited by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----, as described in RFC 7468. That block is what you paste into the decoder. If you paste several blocks in a row (a certificate chain), the tool shows each one numbered.
The fields that actually matter
- Issuer: which authority signed it (Let's Encrypt, DigiCert, etc.).
- Subject: who the certificate belongs to. It usually carries a Common Name (CN) with the main domain, but the CN can't be used to identify a service: RFC 9525, section 2 says it must not be used for that.
- Validity: start and expiration dates. The tool says whether the certificate has expired or isn't valid yet, and warns in orange when fewer than 30 days remain. An expired certificate makes the browser show security warnings.
- SAN (Subject Alternative Names): the list of DNS names the certificate covers. It's common for one certificate to cover several subdomains at once (
www.example.com,api.example.com). - SHA-256 fingerprint: the SHA-256 hash of the certificate's DER bytes. It lets you check that two certificates are the same without comparing the whole file.
- Other data: serial number, signature algorithm and public key (RSA with its size in bits, or EC with its curve).
How to decode a certificate
- Copy the PEM block, including the
BEGINandENDlines. - Paste it into the tool and press Decode.
- Check the fields in readable form.
You can do it free with the x.509 certificate decoder on this site. The certificate is parsed in your browser.
Why checking the SAN is useful
The SAN sometimes shows more than the team expected: internal subdomains, staging environments, or service names issued together even though nobody meant to publish them. If you already have the certificate, reading its SAN doesn't touch the server. If you get it by connecting to the server, that connection is contact with the server, because the server sends its certificate chain to whoever connects. To look up a domain's subdomains without connecting to it, read how to discover subdomains with Certificate Transparency.
Why decode it in your browser, not on some random site
A certificate isn't secret: anyone receives it when connecting to the server. Still, if you're debugging your own server's configuration, you may prefer not to send the file to a third party. This tool parses the certificate in your browser, so the certificate never leaves your device.
Frequently asked questions
Does the certificate contain the private key? No. An x.509 certificate contains the public key. The private key should never be pasted into any tool.
What does "expired" mean? That the current date falls outside the validity period, between the start and end dates (RFC 5280, section 4.1.2.5). The browser shows a warning even if the rest of the configuration is correct.
Can I decode a DER certificate instead of PEM? Not directly, because the tool reads PEM blocks. Convert it first with openssl x509 -inform DER -in cert.der -out cert.pem.
What is the SHA-256 fingerprint for? To check that a certificate is the one you expect, by comparing its fingerprint with one given by a trusted source.
Decode any x.509 certificate free with the certificate decoder, 100% in your browser and without uploading the file to any server.