About X.509 Certificate Decoder
Paste a certificate, a whole chain or a bundle, or open a .pem, .crt, .cer or .der file, and read what each certificate says: who it was issued to and by, its serial number, when it starts and ends and how many days that leaves, its public key and signature algorithm, the host names and addresses it covers, what it may be used for, and every extension with its critical flag. SHA-1 and SHA-256 fingerprints are worked out from the exact bytes.
The certificate is decoded in your browser and never uploaded. The tool reports what the certificate contains; it does not tell you whether to trust it, because that depends on its issuers and the root certificates your systems trust.
How it works
- PEM blocks are found anywhere in the text, in order; Base64 without armour and binary DER files are recognised too. Private keys and signing requests in the same paste are listed, not decoded.
- Each certificate is parsed with pkijs. Names are shown in RFC 4514 form, internationalised host names in both their xn-- and Unicode forms, and known extensions are decoded while others are listed by OID.
- Validity is compared with this device’s clock. A certificate counts as self-signed when its issuer equals its subject and its signature verifies with its own key, checked by Web Crypto where the browser has the algorithm.
- Fingerprints are the SHA-1 and SHA-256 hashes of the certificate’s DER bytes, as browsers and openssl x509 -fingerprint show them.
Questions
Does this tell me whether a certificate is trusted?
No. It shows what the certificate says. Whether it is trusted depends on a chain of issuers ending at a root certificate your system trusts, and on whether it has been revoked; this page has neither the roots nor a connection to check revocation.
Can I paste a whole chain or bundle?
Yes. Every certificate is decoded in the order it appears, up to 50 at a time. Text around the PEM blocks is ignored, and a private key in the paste is noted but never decoded.
Why does a certificate show “cannot check” for self-signed?
Its issuer and subject match, but it is signed with an algorithm this browser’s Web Crypto does not offer, such as DSA or GOST, so the signature cannot be checked here. The other fields are still decoded.
How large a file can it read?
Up to 1 MB of pasted text or a 1 MB file, of which the first 50 blocks are shown. A certificate is usually one or two kilobytes.
Can it read a certificate signing request or a private key?
No. Requests and keys in the input are recognised and listed but not decoded. To read a request, run openssl req -in on the file with -noout -text.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.