Skip to main content
FreeOnlineTools Go
English

SSH Key Generator

Generate RSA or ECDSA key pairs in your browser and export the private and public keys in PEM format.

Local processing

SSH Key Generator

What is SSH Key Generator?

SSH Key Generator creates a public and private key pair using the browser Web Crypto API. The keys are exported as PEM text that can be stored or converted for SSH use.

How It Works

The browser generates an RSA or ECDSA key pair. The private key is exported in PKCS#8 and the public key in SPKI, then both are encoded as PEM blocks with standard headers.

Common Use Cases

  • Creating development key pairs without a command line
  • Generating keys on a machine without OpenSSH tools
  • Learning how public and private keys relate
  • Producing PEM keys for local testing

Technical Details

Uses crypto.subtle.generateKey with RSA-OAEP or ECDSA P-256 and exports PKCS#8 and SPKI. Keys are generated in memory and never uploaded.

How to Use

Enter your input above. The result updates automatically. Use the copy button to copy the result.

Privacy

All processing happens in your browser. Your data is never uploaded to any server.

FAQ

Is the private key sent to a server?

No. Key generation and export happen entirely in your browser. The private key is only displayed in the page.

Is my data uploaded to a server?

No. Everything runs locally in your browser. Your input never leaves your device.

Does SSH Key Generator work on mobile?

Yes. The interface is responsive and works in modern mobile browsers without installing an app.

Related Tools