Certificate Decoder
Read an X.509 certificate or CSR: subject, issuer, expiry, SANs, key and fingerprints.
About Certificate Decoder
A certificate decoder that reads an X.509 certificate or CSR in PEM or DER and shows its subject, issuer, validity dates, key and fingerprints.
How to use
- Paste PEM text that starts with
-----BEGIN CERTIFICATE-----or-----BEGIN CERTIFICATE REQUEST-----, or open a file. A binary DER file is converted to PEM in the text box, so what you see is what is decoded. - Read the fields on the right. Each row has its own Copy button, and the whole list can be copied or downloaded as text.
- Under a certificate, one line says whether today falls inside its validity period, with the days remaining or the days since it expired.
- Paste a bundle with several blocks, such as a full chain file, and each certificate is decoded in the order it appears.
What it does
The page parses the DER structure itself, with a small ASN.1 reader, and shows:
- Subject and issuer in the order they are stored, for example
C=GB, O=Example Ltd, CN=example.com. - Valid from and valid until in UTC, and the serial number in hex as
openssl x509 -serialprints it. - Alternative names: DNS names, IP addresses, email addresses, URIs and directory names from the subject alternative name extension.
- Public key: RSA with its modulus size, EC with its named curve (P-256, P-384, P-521, secp256k1, Brainpool), Ed25519 or Ed448.
- Signature algorithm, basic constraints, key usage, extended key usage, and the subject and authority key identifiers where present.
- SHA-1 and SHA-256 fingerprints of the DER bytes, computed with WebCrypto and formatted as
openssl x509 -fingerprintdoes.
For a PKCS#10 signing request it shows the subject, public key, signature algorithm and the extensions being requested. A request has no issuer, serial number or dates, because the certificate authority adds those.
What it does not do:
- It does not verify the signature, build or validate a chain of trust, or check revocation through CRL or OCSP. A forged certificate decodes just as cleanly as a real one.
- "Within its validity period" compares two dates with your device's clock and nothing more.
- Other extensions, such as certificate policies, authority information access, CRL distribution points and certificate transparency timestamps, are listed by name but not decoded.
- It does not read private keys, PKCS#12 (
.pfx,.p12) or PKCS#7 (.p7b) files.
Example
Subject C=DE, O=XUtil EC, OU=Platform, CN=ec.xutil.test
Issuer C=DE, O=XUtil EC, OU=Platform, CN=ec.xutil.test
Valid from 2026-11-30 16:20:00 UTC
Valid until 2027-02-28 16:20:00 UTC
Serial number DF7CA62266FF2767
Alternative names DNS:ec.xutil.test, DNS:*.ec.xutil.test, IP:192.0.2.10, IP:2001:db8::1, …
Public key EC · P-256 (prime256v1) · 256 bit
Signature algorithm ecdsa-with-SHA256
Basic constraints CA:FALSE
Key usage Digital Signature, Key Agreement
SHA-256 fingerprint 44:A2:81:4D:81:DE:C8:1F:22:DF:5E:16:E8:A9:88:0F:…
Privacy
The certificate is parsed and hashed by JavaScript on this page. Nothing you paste or open is uploaded, no request is made, and nothing is stored.
Frequently asked questions
- How do I check when an SSL certificate expires?
- Paste the certificate in PEM form and read the Valid until row, which is the notAfter date in UTC. The line under the fields gives the number of days remaining, or how long ago it expired. To fetch a live site certificate first, run openssl s_client -connect example.com:443 -showcerts and copy the first BEGIN CERTIFICATE block.
- What is the difference between a certificate and a CSR?
- A CSR (certificate signing request, PKCS#10) is what you send to a certificate authority: your public key, the names you want, and a signature made with your private key. The certificate is what comes back: the same key and names plus an issuer, a serial number and validity dates, signed by the authority.
- What is a subject alternative name in a certificate?
- The subject alternative name (SAN) extension lists every hostname, IP address, email address or URI the certificate is valid for. Browsers match the address bar against the SAN list only and ignore the common name, so a certificate without the right SAN entry is rejected even if its CN matches.
- Does decoding a certificate show whether it is trusted?
- No. Decoding only reads what the certificate says about itself. Trust depends on verifying the signature against the issuer, following the chain to a root your system trusts, and checking revocation, which this tool does not do. Use openssl verify or a TLS client for that.