SSL Certificate Decoder
Paste a PEM-format SSL/TLS certificate to decode and inspect all fields — subject, issuer, SANs, validity dates, key usage, and SHA-256 fingerprint. Expiry is color-coded. Runs entirely in your browser — no data is uploaded.
Frequently Asked Questions
What is a PEM certificate and how do I get one?▼
PEM (Privacy Enhanced Mail) is a base64-encoded format for X.509 certificates, wrapped between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- markers. You can get a certificate's PEM from your server (nginx: ssl_certificate path; Apache: SSLCertificateFile path), from openssl: 'openssl s_client -connect example.com:443 -showcerts </dev/null 2>/dev/null | openssl x509 -outform PEM', from your CA's dashboard, or from certificate files with .pem, .crt, or .cer extensions. If you have a .pfx/.p12 file, convert with: openssl pkcs12 -in cert.pfx -clcerts -nokeys -out cert.pem
What are Subject Alternative Names (SANs) and why do they matter?▼
SANs (Subject Alternative Names) are the authoritative list of hostnames, IP addresses, or email addresses that an SSL/TLS certificate is valid for. Modern browsers and clients use SANs exclusively — the CN (Common Name) in the subject is ignored for host validation. A certificate for example.com with SANs [example.com, www.example.com] is valid for both. Wildcard SANs like *.example.com cover one level of subdomain. If your domain is not listed in the SANs, browsers will show a security warning.
How does this tool decode certificates without sending them to a server?▼
The tool implements a pure JavaScript DER (Distinguished Encoding Rules) parser — the binary format that X.509 certificates use internally. After stripping the PEM headers and base64-decoding, it parses the ASN.1 structure to extract fields like subject DN, issuer DN, validity dates, serial number, SANs, and key usage. The SHA-256 fingerprint is computed using the browser's built-in Web Crypto API (crypto.subtle.digest). No network requests are made — everything runs locally in your browser.
What does it mean when a certificate shows 'Is CA: Yes'?▼
A CA (Certificate Authority) certificate is used to sign other certificates, not to identify a website or service. CA certificates have the basicConstraints extension with cA=TRUE and typically have the keyCertSign key usage bit set. Root CA certificates are self-signed (subject equals issuer) and stored in browser/OS trust stores. Intermediate CA certificates chain from a Root CA and sign end-entity (leaf) certificates. If your server certificate shows 'Is CA: Yes', something is misconfigured — you should be presenting the leaf certificate, not an intermediate or root CA.
Related Products
on GumroadDevToolkit Starter Kit
A ready-to-deploy developer tools website with 12 built-in tools. Astro + Preact + Tailwind. Deploy to Cloudflare Pages for free. Built-in SEO, dark mode, and ad-ready layout.
Buy on Gumroad →TypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →Developer Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →You Might Also Need
mTLS Certificate Chain Builder
Visualize mTLS certificate chains, validate PEM certificates, and generate OpenSSL commands for CA, server, and client certificates.
Open free tool →
HTTP Security Headers Generator
Generate HTTP security headers configuration for nginx and Apache. Configure HSTS, CSP, X-Frame-Options, Referrer-Policy, and more with toggle switches. Copy ready-to-use configs.
Open free tool →
SSL Certificate Checker
Check SSL/TLS certificate validity, expiry date, issuer, and Subject Alternative Names for any domain. Uses Certificate Transparency logs.
Open free tool →
More Free Tools
Related Articles
Base64 Encode/Decode Explained: When and How to Use It
Understand when to use Base64 encoding and when to avoid it. This guide explains the Base64 algorithm, practical use cases, code examples in JavaScript, Python, Go, and more.
Base64 Encode Decode Online: Complete Developer Guide
Everything developers need to know about Base64 encoding and decoding—how it works, when to use it, URL-safe vs standard, plus a free browser-based Base64 encode decode tool.
How to Use AI for Code Review: A Practical Developer Guide
Learn how to use AI for code review effectively—catching bugs, security issues, and performance problems before they reach production. Includes real examples and free browser tools.
JWT Token Decoder: How to Debug Authentication Issues
Learn how to use a JWT token decoder to diagnose 401 errors, expired tokens, missing claims, and auth misconfiguration. Practical debugging guide with code examples.
Base64 Decode Online: Instantly Decode Any Base64 String for Free
Decode Base64 strings instantly online — JWT payloads, API image data, env vars, and SSH keys. No install needed, no account. URL-safe variant supported.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →