X.509 certificate parser
Decode a PEM or DER certificate (or a whole chain) and see the subject, issuer, validity and days left, SAN, key type, key usage, extensions and fingerprints. Everything runs in your browser.
About X.509 certificate parser
Decodes an X.509 certificate, or a whole chain, and lays out the subject, issuer, validity period with days remaining, subject alternative names, public key type, key usage, extensions and SHA-1 and SHA-256 fingerprints. Parsing runs in your browser.
When you would use it
- Finding out when a TLS certificate expires and which domain names (SAN) it actually covers.
- Checking that the certificate a server presents is the one you just issued, by comparing fingerprints.
- Inspecting a chain from a PEM bundle to see which certificate is the leaf, which is the intermediate and who issued each.
How to use it
- Paste a PEM block (-----BEGIN CERTIFICATE-----) or a bare base64 DER certificate. Several certificates pasted together are read as a chain.
- Read the status tag (valid, expired or not yet valid) and the days remaining for each certificate.
- Open the details for names, key information, usage and fingerprints, and copy what you need.
Things worth knowing
- Modern browsers match the host name against the subject alternative names, not the common name (CN), so check the SAN list when a certificate is rejected for a name mismatch.
- This tool only parses the certificate. It does not validate the chain against trusted roots, check revocation, or confirm that the certificate matches a private key.
- Only certificates are read. A private key in the pasted text is ignored, and you should never paste one into a web tool.
- Validity dates are interpreted against your device's clock, so a wrong system date changes the status tag and days remaining.
Frequently asked questions
- How do I get the certificate of a website?
- In a browser, open the certificate details from the padlock and export it as PEM. On the command line, openssl s_client -connect example.com:443 -showcerts prints the chain in PEM form.
- What is the fingerprint used for?
- A fingerprint is a hash of the whole certificate. Comparing it with the value published by the other party confirms that you are looking at exactly the same certificate, which is how certificate pinning and many manual trust checks work.