CSR Generator & Decoder
Create a certificate signing request (CSR) and private key with SANs, RSA or ECDSA, or decode an existing CSR β locally in your browser.
π Runs entirely in your browser β nothing is uploadedWhat a CSR is and how this tool builds it
A certificate signing request (CSR) is the file you send to a certificate authority such as Let's
Encrypt, DigiCert or your company's internal CA to obtain a TLS certificate. It contains your public key,
the subject details (Common Name, organization, locality and country) and the Subject Alternative Names
the certificate should cover, all signed with the matching private key to prove you own it. This tool
generates the key pair with the browser's Web Crypto API and builds a standard PKCS#10 request with
@peculiar/x509. The result is the same PEM format produced by
openssl req -new, so any CA accepts it.
Filling in the fields correctly
Put the main hostname, for example www.example.com, in the Common Name, and list every name
the certificate must secure in the SAN box, including the bare domain and wildcard names like
*.example.com. Modern browsers only look at SANs, so the tool adds the Common Name to the SAN
list by default. The country must be a two-letter ISO code such as US or DE. Organization and location
fields matter for organization-validated certificates; for domain-validated ones they are usually ignored.
RSA 2048 is universally compatible, while ECDSA P-256 gives smaller keys and faster handshakes.
Handle the private key with care
The private key never leaves your browser and is never part of the CSR. Download it right away and move it to the server that will present the certificate, with permissions that only the web server can read. If you lose the key, the issued certificate cannot be used and you must create a new CSR. Never send the private key to the certificate authority or anyone else. Before submitting, use the Decode tab to confirm the subject, SANs and key type, and to check that the CSR's signature is valid.
How to use
- Fill in the subjectEnter the Common Name (main hostname) and optional organization, location, country and email fields.
- Add SANs and key typeList every DNS name or IP the certificate should cover and choose RSA or ECDSA.
- Generate and saveCopy the CSR for your certificate authority and download the private key to the server that will use the certificate.
- Decode to verifyOptionally paste any CSR into the Decode tab to check its contents and signature.