Files & pages

X.509 Certificate Decoder

Runs locallyNew

Use X.509 Certificate Decoder

What it does

Paste a PEM certificate or chain, or drop a .crt, .cer, .der or .p7b file, to see every name it covers, who issued it, how long it is valid and its fingerprints, with crt.sh links for each name.

It runs entirely in your browser: nothing you enter is uploaded.

How to use X.509 Certificate Decoder

  1. Get the certificate. Download it from the site's crt.sh entry, or run openssl s_client -showcerts in an isolated environment. You do not need to visit the suspicious page.
  2. Paste or drop it. Paste PEM text, a whole chain if you have it, and press Decode, or drop a .pem, .crt, .cer, .der or .p7b file, which is decoded at once.
  3. Read the badges and flags. Each certificate shows its status, validation level and warnings such as expired, self-signed or punycode names.
  4. Check the names. Subject Alternative Names lists every domain, IP address and email address the certificate covers, with a crt.sh search link for each.
  5. Pivot. Use the SHA-256 or public-key fingerprint links to find the same certificate or key on crt.sh. Send to passes the DNS names to IOC Converter, Blocklist Converter, Abuse Report Generator or URL Defanger.

Example

Test certificate for example.com

Input
-----BEGIN CERTIFICATE-----
MIIEujCCBD+gAwIBAgIJASNFZ4mrze8BMAoGCCqGSM49BAMCMEIxCzAJBgNVBAYT
AlVTMRQwEgYDVQQKDAtFeGFtcGxlIE9yZzEdMBsGA1UEAwwURXhhbXBsZSBUZXN0
IFJvb3QgQ0EwHhcNMjYwMTAxMDAwMDAwWhcNMjYwNDAxMDAwMDAwWjCB4jETMBEG
CysGAQQBgjc8AgEDEwJVUzEdMBsGA1UEDwwUUHJpdmF0ZSBPcmdhbml6YXRpb24x
DjAMBgNVBAUTBTEyMzQ1MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEVMBMGA1UEBwwMRXhhbXBsZSBDaXR5MRQwEgYDVQQKDAtFeGFtcGxlIE9yZzEQ
MA4GA1UECwwHVGVzdGluZzEUMBIGA1UEAwwLZXhhbXBsZS5jb20xJTAjBgkqhkiG
9w0BCQEWFmhvc3RtYXN0ZXJAZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjO
PQMBBwNC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cQ936ya2QsGUny
hokNkWGVbyoShu/7tJc=
-----END CERTIFICATE-----
Output (captured 2026-10-20)
example[.]com

expired
DV: domain validated

Warning: Expired 202 days ago (2026-04-01T00:00:00Z).
Note: 1 wildcard name: *.example[.]com.
SUBJECT
emailAddress=hostmaster[@]example[.]com, CN=example[.]com, OU=Testing, O=Example Org, L=Example City, ST=California, C=US, serialNumber=12345, businessCategory=Private Organization, jurisdictionC=US
ISSUER
Example Test Root CA (Example Org)
VALID
2026-01-01 00:00:00 UTC →
2026-04-01 00:00:00 UTC
LIFETIME
90 days, expired 202 days ago
SERIAL NUMBER
01:23:45:67:89:AB:CD:EF:01
VERSION
v3
SIGNATURE ALGORITHM
ecdsa-with-SHA256
PUBLIC KEY
EC P-256 (256 bits)
CT TIMESTAMPS (SCTS)
2 SCTs, earliest 2026-01-01T00:00:00Z
Subject Alternative Names (8)
DNS
example[.]com
crt.sh ↗
DNS
*.example[.]com
crt.sh ↗
DNS
www[.]example[.]net
crt.sh ↗
DNS
login[.]example[.]org
crt.sh ↗
IP
192[.]0[.]2[.]10
crt.sh ↗
IP
2001:db8::1
crt.sh ↗
Email
hostmaster[@]example[.]com
crt.sh ↗
URI
hxxps://example[.]com/cert
Copy 4 DNS names
SUBJECT ATTRIBUTES
Common name (CN)
example[.]com
Organization (O)
Example Org
Organizational unit (OU)
Testing
Country (C)
US
State or province (ST)
California
Locality (L)
Example City
Email address (emailAddress)
hostmaster[@]example[.]com
Serial number (serialNumber)
12345
Business category (businessCategory)
Private Organization
Jurisdiction country (jurisdictionC)
US
ISSUER ATTRIBUTES
Common name (CN)
Example Test Root CA
Organization (O)
Example Org
Country (C)
US
Extensions (10)
Basic Constraints
critical
2.5.29.19
CA: no
Key Usage
critical
2.5.29.15
Digital signature
Extended Key Usage
2.5.29.37
TLS server authentication,
…

Generated with OpenSSL for this page: eight SAN entries including *.example.com, www.example.net and 192.0.2.10, a DV policy, two embedded SCTs and the issuer Example Test Root CA. It was valid from 1 January to 1 April 2026, so it is shown as expired.

What it checks

SignalWhat it means
Status badgeValid with days left, expired or not yet valid. A valid certificate only shows that someone controlled the domain when it was issued, not that the site is honest.
Validation levelDV, OV, IV or EV, read from the certificate policies. DV means only control of the domain was checked.
Self-signedNo public certificate authority vouches for it, so browsers show a warning.
Free DV issuerLet's Encrypt, ZeroSSL, Google Trust Services or cPanel AutoSSL. Context only: legitimate and phishing sites both use them.
Wildcards and name countWildcard names are noted; 25 or more names in one certificate is typical of CDN, hosting or bulk certificates.
Punycode namesxn-- names are flagged so you can check them for lookalike letters.
Weak signature or keySHA-1 or MD5 signatures and RSA keys under 2048 bits are warnings.
CT timestampsEmbedded SCTs show when the certificate was logged publicly; the earliest is close to the issue time.
Chain orderIn a pasted chain each certificate is matched to the next by issuer name and key identifier. Signatures are not verified.
Subject and issuer attributesOrganisation, country and other name fields for both parties. On publicly trusted certificates an organisation name appears only in OV and EV certificates; DV certificates name just the domain.

More examples

A self-signed test certificate

Input
-----BEGIN CERTIFICATE-----
MIIBbjCCARSgAwIBAgICEAEwCgYIKoZIzj0EAwIwHDEaMBgGA1UEAwwRbG9naW4u
ZXhhbXBsZS5uZXQwHhcNMjYwOTAxMDAwMDAwWhcNMjYwOTMwMDAwMDAwWjAcMRow
GAYDVQQDDBFsb2dpbi5leGFtcGxlLm5ldDBZMBMGByqGSM49AgEGCCqGSM49AwEH
A0IABB099CoPjeVdV472QJm6aOiVnWB3Rt2f3ogDdGfYz1ZbGvAUnuakRPNSxsKB
7q8f85osjs4VwdlQOsK+glwPiNijRjBEMDQGA1UdEQQtMCuCEWxvZ2luLmV4YW1w
bGUubmV0ghZ4bi0tZXhtcGxlLWN1YS5leGFtcGxlMAwGA1UdEwEB/wQCMAAwCgYI
KoZIzj0EAwIDSAAwRQIgLNhJcyCi3RUzf8iT0nYsLjwsmKDmqNIJf4iHsc7d050C
IQD5p8u3+1i9+YCIXxuRAzWn2kXk1L2dPvnn33HLli6EQw==
-----END CERTIFICATE-----
Result

Heading login.example.net (names are shown defanged) with an expired badge and three warnings: expired (2026-09-30T00:00:00Z), self-signed, and the punycode name xn--exmple-cua.example. Key EC P-256, lifetime 29 days, no SCTs, 2 SAN names with crt.sh links.

A domain pasted instead of a certificate

Input
example.com
Result

Only the note "No PEM block (-----BEGIN CERTIFICATE-----) found."

FAQ

What does the decoder read from a certificate?

It parses the DER structure strictly and shows the version, serial number, signature algorithm, subject and issuer attributes, validity, public key type and size, and the extensions: SAN names, key usages, policies (DV, OV, EV), CRL and OCSP addresses and embedded CT timestamps. SHA-1, SHA-256 and public-key fingerprints are computed with Web Crypto.

Does it check that the certificate is trusted or revoked?

No. It does not verify signatures, build a path to a trusted root or query OCSP and CRLs; it only compares issuer and subject names and key identifiers to tell whether a chain is in order. Flags such as a free DV issuer or a wildcard name are context for an investigation, not a verdict.

Is the certificate sent anywhere?

No. Decoding and fingerprinting run in your browser. The crt.sh buttons are links that open crt.sh in a new tab with the fingerprint or name in the address, and only when you click them.

Why look at a phishing site's certificate at all?

Its SAN list can name other domains of the same campaign, and its fingerprint or public key can be searched on crt.sh to find related certificates. The start of validity also hints when the site was set up.

Can I paste a certificate copied from a JSON log?

Yes. PEM text with literal \n sequences is unescaped first, and bare Base64 or hex DER without the BEGIN line is accepted too.

What if I paste a private key or a CSR?

Neither is decoded. A private key gets a warning not to paste keys into web pages, and a certificate signing request is skipped with a note.

Does it read .p7b bundles?

Yes. A PKCS#7 bundle is unpacked, a note says how many certificates were extracted, and each one is shown in order. Up to 20 certificates are shown per run.

Terms explained

PhishDestroy research