# X.509 Certificate Decoder

Parse an X.509 SSL/TLS certificate (paste PEM or upload .pem/.crt) and inspect subject, issuer, validity period with expiry status, public key, signature algorithm, serial, SANs, key usage and fingerprint. Like openssl x509 -text, visualised. Runs locally.

> Canonical page: https://test.elysiatools.com/en/tools/certificate-decoder

- **Category:** Security

- **Keywords:** x509, certificate, ssl, tls, pem, decoder, parser, csr, openssl, https, subject, issuer, san, fingerprint

## Overview

Decodes an X.509 certificate so you can read everything `openssl x509 -text` would show — without the command line.

Input: paste a PEM certificate (`-----BEGIN CERTIFICATE-----`) or upload a `.pem` / `.crt` file. Only the first certificate block is parsed.

What you get:
- **Validity status** at a glance: VALID / EXPIRES SOON / EXPIRED / NOT YET VALID, with days remaining.
- **Subject & Issuer** Distinguished Names, with a self-signed badge when they match.
- **Public key**: type (RSA/EC/Ed25519) and bit size.
- **Signature algorithm** (e.g. `sha256WithRSAEncryption`).
- **Serial number**, version, CA flag.
- **SHA-256 fingerprint**.
- **Extensions**: key usage, extended key usage (serverAuth/clientAuth/…), and Subject Alternative Names (the full domain/IP list).

Powered by Node's `crypto.X509Certificate` plus `node-forge` for signature-algorithm and readable extended-key-usage names. The certificate is parsed locally and never transmitted.

## Inputs

- **Certificate (paste PEM)** (textarea): -----BEGIN CERTIFICATE----- MIID... -----END CERTIFICATE-----
- **Or upload .pem / .crt file** (file)

## When to use

- When you need to verify the expiration date and validity status of an SSL/TLS certificate without using command-line tools.
- When you want to inspect the Subject Alternative Names (SANs) of a certificate to ensure all required domains are covered.
- When you need to check if a certificate is self-signed by comparing the subject and issuer distinguished names.

## How it works

- Paste your PEM-encoded certificate text starting with `-----BEGIN CERTIFICATE-----` into the input field, or upload a `.pem`, `.crt`, or `.cer` file.
- The tool processes the certificate locally in your browser using secure cryptographic parsing libraries.
- Review the structured output displaying validity badges, public key details, signature algorithms, and certificate extensions.

## Use cases

- Checking the expiration date and remaining validity days of a web server certificate.
- Verifying the public key type (RSA/EC/Ed25519) and bit size of a newly generated certificate.
- Auditing the Key Usage and Extended Key Usage extensions to confirm the certificate's intended application.

## Frequently asked questions

### Is my certificate data sent to a server?

No. The certificate is parsed entirely locally in your browser and is never transmitted over the network.

### What file formats does this decoder support?

It supports PEM-encoded text inputs and file uploads with `.pem`, `.crt`, or `.cer` extensions.

### Can I decode multiple certificates at once?

No, the tool only parses the first certificate block detected in the input.

### How does the tool determine if a certificate is self-signed?

It compares the Subject and Issuer Distinguished Names; if they match, it flags the certificate as self-signed.

### Can this tool decode private keys or CSRs?

No, this tool is specifically designed to decode and inspect X.509 public certificates.

## Related tools

- [PCIe Link Training LTSSM & Lane Margining Eye Decoder](https://test.elysiatools.com/en/tools/pcie-link-training-linkstate-and-lane-margining-eye-decode): Decode a PCIe link training log (LTSSM state sequence plus TS1/TS2 ordered sets) into the full Gen1-Gen6 state timeline: negotiated speed and width, rate identifier bits, lane reversal, polarity inversion, equalization phases and Detect/Recovery restart diagnostics. Also grades a lane margining report (pcilmr CSV or key=value) against the PCIe Base Spec Rev 5.0 §8.4.2 eye minimums per generation and renders a per-lane eye-margin heatmap SVG.
- [Genre Classifier AI](https://test.elysiatools.com/en/tools/genre-classifier-ai): Classify a track into genres from measured evidence: GTZAN timbral-texture features, beat-grid pulse shape, band balance, key and dynamics — with a ranked top-3 and the reason behind every pick.
- [Podcast RSS Enclosure Checker](https://test.elysiatools.com/en/tools/audio-podcast-rss-enclosure-checker): Validate podcast episode audio against hosting expectations and cross-check it with your RSS feed: enclosure URL / length / type attributes, itunes:duration, GUID uniqueness, RFC 2822 dates, platform codecs and bitrates — byte-exact enclosure lengths included.
- [Parquet Bloom Filter ZoneMap Dictionary and Column Statistics Pruner Evaluator](https://test.elysiatools.com/en/tools/parquet-bloom-filter-zonemap-dictionary-and-column-statistics-pruner-evaluator): Decode a Parquet thrift footer and quantify predicate-pushdown pruning: zone-map min/max, split-block bloom filters (XXH64), dictionary ratios and encodings, with per-row-group prune-savings estimates for example WHERE clauses.
- [Train/Test Split with Stratification](https://test.elysiatools.com/en/tools/train-test-split-with-stratification): Class-stratified train/validation/test split or stratified k-fold for CSV/JSON datasets — seeded, reproducible, with distribution reports, leakage checks, SMOTE preview and CSV export.
- [JavaScript Deobfuscator](https://test.elysiatools.com/en/tools/javascript-deobfuscator): Deobfuscate and analyze obfuscated JavaScript code to improve readability and understanding
- [SMT-LIB 2.7 / AIGER / BTOR2 Formal Verification Orchestrator (CDCL + BMC + k-Induction + Craig Interpolation + IC3)](https://test.elysiatools.com/en/tools/smt-smtlib-2-7-cvc5-z3-btor2-aiger-k-induction-cddr-dbg-invariant-synthesis-orchestrator): A complete in-browser formal-verification stack — no cvc5/Z3 binary needed: an SMT-LIB 2.7 script parser for the QF_BV + Bool core with Tseitin bit-blasting of the FixedSizeBitVectors operators (add/sub/mul/udiv/urem, shifts, comparators, concat/extract/extend, ite), an AIGER reader (ASCII aag and binary aig with delta decoding; outputs as bad properties), a BTOR2 reader with word-level bit-blasting, and a hand-written CDCL SAT engine (two-watched literals, VSIDS-style activities, 1-UIP learning, restarts) underneath. On sequential models it runs bounded model checking with counterexample-witness traces, k-induction with unique-state strengthening, McMillan-style Craig interpolation computed from the refutation and independently re-certified by SAT before being trusted, and an IC3/PDR-lite frame loop with predecessor-cube blocking.
- [Codec Artifact Detector](https://test.elysiatools.com/en/tools/audio-codec-artifact-detector): Compare an original master with its lossy encode and flag pre-echo, transient smearing, bandwidth loss and stereo damage, with per-event timestamps.

## Samples

- [SSL Certificate Management Samples](https://test.elysiatools.com/en/samples/cert-manager-samples): SSL certificate management examples including Let's Encrypt automation, certificate renewal, monitoring, and security best practices
- [Copyright-Free MP3 Audio Samples](https://test.elysiatools.com/en/samples/mp3-samples): Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio
- [Android Image Processing Java Samples](https://test.elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://test.elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

## Related content

- [Verify DNS, DNSSEC and HTTPS Before a Domain Launch](https://test.elysiatools.com/en/hubs/domain-dns-https-launch-verification): Prepare a DNS zone draft, compare live records, inspect DNSSEC delegation and verify the served HTTPS certificate before announcing a domain.
- [API Request Format, Replay Preparation, and Debugging Tools](https://test.elysiatools.com/en/hubs/api-request-replay-and-debugging): Check request structure, prepare a local replay, compare responses, and debug API clues. These tools analyze or generate locally and do not replace real authentication or server tests.
