SSH Key Generator
Generate an RSA SSH key pair. Shows the OpenSSH public key and the PEM private key.
Key size:
Related Tools
#RSA Key Generator
Generate RSA key pairs (2048 or 4096-bit) and export as PEM in your browser.
#RSA Key Pair + OpenSSL Command
Generate an RSA key pair and get the OpenSSL command to create a self-signed certificate.
#PEM Key Parser
Paste a PEM private or public key to detect its type, algorithm, and key size.
FAQ
- Is the private key secure?
- The key is generated and displayed in your browser only — nothing is transmitted. Treat any generated key as you would any private key.
- What format is the public key in?
- The public key is in OpenSSH authorized_keys format: ssh-rsa <base64> <comment>.
- Can I use this key with GitHub or GitLab?
- Yes. Copy the public key and add it to your account's SSH keys page. The private key should be saved securely on your machine.
Generate an RSA-2048 or RSA-4096 key pair using Web Crypto. The public key is encoded in OpenSSH wire format (ssh-rsa AAAA... comment). The private key is exported as PKCS#8 PEM. You can also copy the openssl command to convert the private key to the traditional OpenSSH private key format.