SSH Key Generator

// Generate RSA key pairs using Web Crypto API

Note: This generates RSA key pairs using the Web Crypto API in PEM (SPKI/PKCS8) format. These are standard RSA keys, not SSH-native format. For production SSH keys, use ssh-keygen on your machine.

#About SSH Key Generator

Free online SSH key generator. Generate RSA key pairs in PEM format using the Web Crypto API directly in your browser. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.

#FAQ

Are keys generated in the browser secure?
Keys are generated entirely in your browser using the Web Crypto API and never leave your device. However, for production SSH keys, it is recommended to use ssh-keygen on your local machine, which produces keys in the native OpenSSH format and can write them directly to your .ssh directory.
What key size should I choose?
A 2048-bit RSA key is considered secure for most purposes today. A 4096-bit key provides additional security margin but takes longer to generate and process. For new deployments, consider Ed25519 keys (via ssh-keygen) which offer better security with shorter key lengths.
</> Embed this tool

Copy this code to embed the tool on your website. Adjust the height to fit your layout.

<iframe src="https://www.browserutils.dev/embed/ssh-key-generator" width="100%" height="500" frameborder="0" title="SSH Key Generator"></iframe>

#Related