DevTools Logo

CSR Decoder

CSR Decoder & Checker

Paste a PEM Certificate Signing Request to inspect its subject, key, SANs and signature. Nothing leaves your browser.

Runs in your browser
Try an example

Certificate signing request

Decoded details

Paste a CSR to decode it

About this tool

A Certificate Signing Request is the PKCS#10 message you send to a certificate authority when you need a TLS certificate. Whatever the request contains is what gets issued, so a typo in the common name, a missing SAN or a weak key means a reissue cycle. This decoder parses the request locally and shows what the CA will see.

Input can be a PEM block with the BEGIN CERTIFICATE REQUEST header or raw base64 DER, and RSA and EC keys are supported. Decoding happens on your device, so inspecting a production request is safe — the command-line equivalent is openssl req -text -noout -in server.csr.

How to use this tool

  1. Paste the request

    Copy the full PEM block — including the BEGIN and END lines — or the raw base64 DER into the input.

  2. Load the sample

    Click Load sample to see a decoded example CSR with subject, key and SAN sections filled in.

  3. Review each section

    Check the common name and SAN list against every hostname; confirm the key size and signature algorithm are current.

  4. Copy a summary

    Use the copy button to grab a plain-text digest of the decoded fields for your change record or CA ticket.

What the decoder extracts

SectionContents
OverviewVersion, signature algorithm, signature length, public-key algorithm
SubjectCN, O, OU, C, ST, L and email attributes
Public keyRSA modulus and exponent or EC curve, plus key size
SANsDNS, IP, URI and email entries in SubjectAltName
ExtensionsOther requested extensions, by name and value

Frequently asked questions

What should I check in a CSR before sending it to a CA?

Confirm the common name matches your primary hostname, the SAN list covers every name users will type (including www), organization fields are correct, and the key is at least 2048-bit RSA or an EC curve with a modern signature algorithm.

Does the CSR contain my private key?

No. A CSR carries only the public key and subject details, signed with the private key as proof of possession. The private key itself never leaves the machine that generated it.

Why is my domain missing from the SAN list?

Certificate authorities issue only what the SAN extension contains and ignore the common name, so a hostname left out at generation stays absent from the certificate. Regenerate the request with every name listed.

What key size should a CSR use?

Use RSA 2048 bits or stronger — 3072 for long-lived certificates — or elliptic-curve P-256/P-384, which offers comparable security in fewer bytes. A 1024-bit key is deprecated and should be replaced before submission.