Decode any X.509 certificate free. Paste PEM, upload .crt/.cer/.der, or fetch by domain to view subject, SANs, issuer, expiry and fingerprints.
By Inventive HQ
This X.509 certificate decoder turns an opaque block of Base64 into a readable breakdown of every field an SSL/TLS certificate carries: subject, issuer, validity window, Subject Alternative Names, public key algorithm and size, extensions, and SHA-256, SHA-1 and MD5 fingerprints. Paste a PEM block, upload a .pem, .crt, .cer or .der file, or type a domain name and let the tool fetch the live certificate straight from the server. Decoding happens in your browser using the Web Crypto API and a JavaScript ASN.1 parser, so a pasted or uploaded certificate never leaves your machine.
Administrators reach for a decoder at exactly the moments where guessing is expensive: confirming that a newly issued certificate actually covers www as well as the apex domain, checking whether the file a vendor emailed is the leaf or the intermediate, working out why a browser reports a name mismatch, or pinning down the precise expiry timestamp before a change window. Instead of remembering openssl x509 -in cert.pem -noout -text and its dozen flags, you get the same information laid out with the security-relevant parts highlighted.
-----BEGIN CERTIFICATE-----; it also accepts raw DER supplied as hexadecimal. The Upload File tab accepts .pem, .crt, .cer and .der files by click or drag-and-drop. The URL tab takes a hostname such as example.com and retrieves the certificate the server is currently presenting, along with the chain it sends.An X.509 certificate is an ASN.1 structure defined by RFC 5280. Version 3 — the only version in practical use on the public web — wraps a core set of fields plus an open-ended list of extensions. Here is what each decoded field means and why it matters.
| Field | What it contains | Why it matters |
|---|---|---|
| Version | 1, 2 or 3 (shown as the integer) | Only v3 supports extensions such as SAN; v1 certificates cannot name multiple hosts. |
| Serial Number | A large integer unique to the issuing CA | The identifier used in CRL and OCSP revocation lookups. |
| Subject | CN, O, OU, C, ST, L | Identifies the entity. Modern browsers ignore CN for hostname matching — SAN governs. |
| Issuer | The DN of the signing CA | If Issuer equals Subject, the certificate is self-signed and the tool flags it. |
| Not Before / Not After | UTC timestamps | The validity window. Public TLS certificates are now capped at roughly 13 months. |
| Public Key | Algorithm, key size, modulus or curve | RSA below 2048 bits and any use of a deprecated curve are security findings. |
| Signature Algorithm | e.g. sha256WithRSAEncryption, ecdsa-with-SHA256 | SHA-1 signatures are rejected by every current browser. |
| Extensions | SAN, Key Usage, Extended Key Usage, Basic Constraints, AKI/SKI, CRL and AIA URIs | Each is shown with its OID and its critical flag, because a critical extension a client cannot process must cause rejection. |
| Fingerprints | SHA-256, SHA-1, MD5 of the DER encoding | The value you compare against what a vendor, a pinning config or a monitoring system expects. |
Suppose a hosting provider sends you a bundle and TLS still fails after installation. Decode the first certificate in the file. If Basic Constraints reads CA:TRUE and the Subject CN looks like “R11” or “DigiCert Global G2” rather than your hostname, you have been handed the intermediate, not the leaf, and the files are in the wrong order in the bundle. If instead the Subject CN is your hostname but the SAN list contains only example.com while users browse to www.example.com, the certificate is valid but does not cover the name being requested — the classic ERR_CERT_COMMON_NAME_INVALID. And if the Issuer DN of your leaf does not match the Subject DN of the next certificate up, the chain is broken regardless of how many files are concatenated together.
Each of those three failures produces an identical-looking browser warning, and each is settled in seconds by reading the decoded fields.
The formats people argue about are mostly one structure in two encodings. DER is the binary ASN.1 encoding of the certificate. PEM is that same DER, Base64-encoded and wrapped in -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- header lines. The .crt and .cer extensions carry no format guarantee at all: both are used for PEM on Linux and for DER on Windows, which is why a file that opens fine in one tool is rejected by another. A quick test — open it in a text editor; if you can read the BEGIN line, it is PEM.
This decoder accepts PEM directly, accepts DER files by upload, and accepts DER as pasted hex. If you need to convert between encodings, or to produce a PKCS#12 bundle or a new signing request, the certificate and CSR generator handles conversion and generation and can be pre-filled from a decoded certificate’s subject fields.
Decoding tells you what a certificate claims; it is not the same as validating trust. Full validation means building a path to a trusted root, checking each signature, honouring name constraints, and confirming the certificate has not been revoked. What this tool does check, and surfaces in the Security Analysis panel, is the set of properties that break deployments in practice: expiry and days remaining, self-signed status, weak public keys, weak signature algorithms, missing or mismatched SANs, wildcard scope, and the SPKI pin values you would need for HPKP-style pinning or for a mobile app’s pin set. When a certificate is fetched by domain, the served chain is displayed too, so a missing intermediate is visible immediately.
Yes. There is no charge, no registration, and no usage limit.
No. Pasted and uploaded certificates are parsed entirely in your browser. The only case where a network request occurs is the URL tab, where a hostname is sent so the live certificate can be retrieved — and certificates served publicly over TLS are public information by definition.
No, and you should not paste one into any web tool. This decoder handles certificates only. A private key belongs on the server it was generated on.
PEM text, DER supplied as hexadecimal, and uploaded .pem, .crt, .cer and .der files. You can also fetch the certificate from a live hostname.
Decode it and read the Validity Period block: Not Before and Not After are shown as full UTC timestamps, and the Security Analysis panel converts Not After into days remaining, flagging certificates that have already expired.
Almost always a missing intermediate. Browsers often repair an incomplete chain using cached intermediates or AIA fetching; command-line clients and Java trust stores do not. Fetch the certificate by domain and check whether the server actually sends the intermediate alongside the leaf.
Common Name is a legacy field inside the Subject DN. Since 2017 every major browser matches hostnames exclusively against the Subject Alternative Name extension and ignores CN entirely. If a hostname is missing from SAN, the certificate does not cover it, no matter what CN says.
The Issuer DN is identical to the Subject DN, meaning the certificate signed itself rather than being signed by a CA. That is normal for a root CA or an internal lab certificate, and a failure for anything a browser must trust automatically.
Decode the leaf to see its own fields; when you fetch by domain, the chain the server presents is displayed alongside it so you can confirm each Issuer matches the next Subject.
SHA-256. SHA-1 fingerprints are still shown because older systems and some vendor documentation reference them, and MD5 for legacy device compatibility, but neither is collision-resistant and neither should be used as a security control.