SSL Certificate Decoder
Decode and inspect PEM certificates in your browser — no upload, no server.
Last updated:
Decode a PEM SSL certificate
This SSL certificate decoder reads a PEM-encoded X.509 certificate and shows its details in plain text: who it was issued to and by, when it is valid, which names it covers and which algorithms it uses. It also tells you whether the certificate has expired.
How to use it
- Paste the certificate into PEM Certificate. It starts with
-----BEGIN CERTIFICATE-----and ends with-----END CERTIFICATE-----. - Click Decode Certificate.
- Read the Certificate Details and the expiry badge.
- Click Clear to start again with another certificate.
What you see
| Section | Fields |
|---|---|
| General | Version, serial number, signature algorithm, public key algorithm, Subject Alt Names |
| Validity | Not Before and Not After in UTC, with a days-left or expired badge |
| Issuer | Common Name, Organization, Org Unit, Country |
| Subject | Common Name, Organization, Org Unit, Country |
The badge reads "Valid", turns amber when 30 days or fewer remain, and shows "Expired" with the number of days if the end date has passed.
How it works
The tool strips the PEM header and footer, decodes the base64 into DER bytes and reads the ASN.1 structure with its own parser. It looks up common object identifiers, for example sha256WithRSAEncryption, and maps them to names. Subject Alt Names can list DNS names, email addresses, URIs and IP addresses. Decoding happens entirely in your browser, and nothing is sent to a server.
Assumptions and limits
- Only the first certificate in the text is decoded. If you paste a full chain, you see the first one, usually the server certificate.
- Only PEM input works. DER or PKCS#12 (.pfx) files must be converted to PEM first.
- Algorithms and name fields outside the built-in list appear as a raw OID number.
- It does not verify the signature or check the chain of trust, revocation status or the hostname. It only displays what the certificate contains.
- Key size, key usage and fingerprints are not shown.
Frequently asked questions
Is it safe to paste a certificate here?
A certificate is public information and is parsed in your browser only. Never paste a private key into any tool. This decoder needs only the certificate block.
Where do I get a PEM certificate?
Your certificate authority sends one when it issues the certificate. On a server it is often a .crt or .pem file. You can also export a site's certificate from your browser's certificate viewer in Base64/PEM format.
Why does it show a different name than my domain?
Modern certificates list their domains under Subject Alt Names, while the Common Name may be one of them or something else. Check the SANs for the full list.
Related Security
Browse all tools from the same category.
TOTP / OTP Generator
Generate time-based one-time passwords
Open toolRandom Token Generator
UUID, API key, CSRF token, and hex strings in bulk
Open toolShowing 1-2 of 7