Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsCertificate DecoderPEM Decoder

PEM Decoder

dev

Work out what is inside a PEM file, whichever of the five things it turns out to be

Runs in your browser. Nothing you type is sent anywhere. Updated on 25 Oct 2026.

A PEM decoder works out what each block holds: a certificate, a chain, a signing request, a public key or a private key. Pasted together, the built-in examples read as Self-signed certificate for test.omnikit.invalid; Self-signed certificate for Omnikit Internal Root CA; Signing request for shop.omnikit.invalid. Each block is read in turn; a private key is left undecoded.

Next:
  • SSL Checker Check a website's live SSL certificate: expiry, names, issuer, chain and TLS version
  • JWK to PEM Converter Convert a JSON Web Key to PEM and back for RSA, EC and Ed25519 keys, with the thumbprint

How to read what is inside a PEM file

1

Open the page with a chain of two certificates already decoded.

2

Paste your PEM file; each BEGIN block gets its own numbered card.

3

Read the heading of each card to see whether it holds a certificate, a signing request or a public key.

4

Press Copy everything for a text summary of every block.

How PEM Decoder works

Paste a PEM block, or drop a .crt, .cer, .pem, .der or .csr file, and every field is listed: subject and issuer as full distinguished names, the serial in hex and in decimal, both validity dates with whether the certificate is in date at this moment, the signature algorithm, the public key algorithm and its size, every subject alternative name, the extensions with their critical flag, and the SHA-1 and SHA-256 fingerprints. The SHA-256 of the public key is given as well, in the sha256// form a pinning header wants.

Three shapes are read, and which one you have is worked out from the label on the BEGIN line rather than guessed. A certificate is read as RFC 5280 defines it. A PKCS#10 signing request is read including the names hidden inside its extensionRequest attribute, which is where a CSR keeps its SANs and where most decoders stop looking. A SubjectPublicKeyInfo is read on its own, so a key and the request it belongs to can be compared by fingerprint. Paste a whole chain and each certificate is read in order, with a note when the order is wrong.

A private key is recognised and deliberately not decoded. Nothing leaves your device either way, but a page that happily prints the components of a private key trains a habit that will one day be practised on a site that does upload it.

The rest of the article, and all 7 questions about Certificate Decoder, are on the Certificate Decoder page.

Frequently asked questions

Is my certificate uploaded anywhere?

No. The decoding happens in the page, in JavaScript, with no network request of any kind. Certificates are public by design, but chains and internal CA files get pasted by mistake, so the parsing is done locally and there is nothing on a server to delete afterwards.

What is the difference between a certificate and a CSR?

A certificate signing request states what you are asking for: a subject name, the hostnames you want covered, and your public key. A certificate is what the authority signs and returns, with dates, a serial number and the issuer's own name attached. Both are decoded here.

Can I paste a private key here?

Recognising one is supported; decoding it is refused on purpose. Nothing is sent anywhere, but a private key does not belong in a browser tab at all. If a key has been pasted into any website, generate a new one, reissue the certificate and revoke the old one.

SSL certificate kaise check karein?

Server se certificate ka PEM copy karein, paste karein, and every field appears at once: subject, issuer, expiry date, key size and fingerprints. Yeh check karein whether the expiry date has passed and whether every hostname you serve is listed under subject alternative names.

Still stuck? Ask about Certificate Decoder and anybody who knows can answer. No account needed.

More ways to use Certificate Decoder

  • Certificate DecoderRead an SSL certificate, CSR or public key: names, dates, key size and fingerprints
  • CSR DecoderCSR decoder: see what a certificate signing request asks for before it goes to a CA
  • SSL Certificate DecoderDecode a TLS certificate you already have and see every field a browser looks at

Same job, other tools: JWT Decoder – Paste a token to read its header, payload and expiry.

On the related tools: Passphrase Generator – Three to ten random words you can actually remember · Bcrypt Generator – Generate a bcrypt hash for a test user or a config file.

Related tools

All developer tools
htpasswd GeneratorMake a user:password line for Apache or nginx basic auth, in bcrypt, apr1 or SHA-512WebRTC Leak TestSee which IP addresses WebRTC hands to websites, and whether your VPN is being bypassedBrowser and Device InfoSee what any website can read about your browser and device, and copy it for supportJWT Decoder, Verifier & EncoderDecode any JWT, verify its signature, and sign new tokens, all in your browserPassword GeneratorStrong random passwords and memorable passphrases, generated on your devicePassword Strength CheckerHow long your password would survive an attack, and exactly what makes it weakHMAC GeneratorHMAC-SHA1, SHA-256, SHA-384 and SHA-512 of text or a file, and signature checksBcrypt Hash and VerifyHash a password with bcrypt at cost 4 to 14, or check a password against a hash

In the collection Security Tools for Developers.

Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)