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

How to use it

  1. Paste a PEM block (-----BEGIN CERTIFICATE-----) or a bare base64 DER certificate. Several certificates pasted together are read as a chain.
  2. Read the status tag (valid, expired or not yet valid) and the days remaining for each certificate.
  3. Open the details for names, key information, usage and fingerprints, and copy what you need.

Things worth knowing

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.

All the tools