SSH Key Generator

Updated: 2026-07-12
Ad Space - Top (728x90)

SSH Key Pair Generator

Free online SSH key generator using Web Crypto API. Generate RSA or ECDSA key pairs locally in your browser. Keys never leave your device.

πŸ”“ Public Key

Click Generate to create a key pair...

πŸ” Private Key β€” Keep it secret!

Click Generate to create a key pair...
Ad Space - Bottom (728x90)

πŸ“– How to Use

1. Select key type: RSA-2048 recommended for compatibility, ECDSA for performance.

2. Set comment: Helps identify the key, e.g. yourname@github or server@prod.

3. Generate & save: Download the private key to ~/.ssh/, paste public key to GitHub etc.

⚠️ Never share your private key!

❓ FAQ

Are the generated keys secure?

Yes. Keys are generated locally using Web Crypto API. Nothing leaves your device.

RSA vs ECDSA?

RSA is traditional, ECDSA offers smaller keys and faster signing. GitHub recommends ECDSA for new keys.

How to use the keys?

Save private key to ~/.ssh/id_rsa. Paste public key to GitHub/GitLab SSH settings. Keep private key safe.

Compatible with ssh-keygen?

Yes, the key format is fully compatible with OpenSSH's ssh-keygen tool.