How to Use
- Choose an algorithm. Ed25519 is recommended for most new keys.
- Enter an optional comment, such as
[email protected], to identify the key later. - Click "Use example comment" to generate a real key pair with the sample comment, or click "Generate key" with your current settings.
- Copy the Public Key to GitHub, a server console, or
~/.ssh/authorized_keys. - Download and protect the Private Key. This tool exports PKCS#8 PEM; if your SSH client requires native OpenSSH private key format, use the displayed
ssh-keygencommand locally and runchmod 600on the saved key.
Core Features
- 100% client-side security: Key pairs are generated with the browser Web Crypto API on your device, and private keys are never uploaded.
- Ed25519 and RSA support: Ed25519 is the default recommendation, with RSA-2048 and RSA-4096 available for legacy compatibility.
- Separate copy and downloads: Copy the public key and private key independently, or download
.puband.pemfiles without mixing them up. - Comment tagging: Add an email, device name, or deployment label so GitHub, servers, and
authorized_keysentries are easier to recognize. - CLI command reference: See the matching
ssh-keygencommand when you need native OpenSSH private key output from your own terminal.
Related Tools
The 2026 FIRE Calculator (Inflation Adjusted). Simulate real purchasing power, analyze retirement savings gaps, and generate a visual wealth roadmap. One-click CSV export for your Excel or Notion finance dashboard. 100% Private, client-side calculation.
Calculate trade position size from account balance, risk %, entry, and stop loss. Runs locally in your browser with no uploads, so you can compare risk scenarios before you trade.
Calculate compound interest from principal, recurring contributions, APY, and time. Visualize principal, interest, and final balance with a local interactive chart.
Use this Loan Calculator / Mortgage Calculator to estimate monthly payment, total interest, and an amortization schedule locally. Enter amount, rate, and term to calculate now with instant charts.
Use this Investment Calculator / ROI Calculator to estimate starting capital, monthly contributions, annual return, and inflation-adjusted results locally. Calculate projected returns with an instant compound interest chart, ROI, and yearly schedule.
Use this APR to APY Calculator to convert between APR and APY locally. Enter a rate, choose compounding frequency, and see the effective interest rate, spread, and frequency comparison instantly.
Use this Profit Margin Calculator to calculate gross profit, Markup, Margin, and selling price locally. Enter cost and price, or cost and target margin, then calculate your margins instantly.
Use this CPM Calculator and CPC Calculator to estimate ad spend, impressions, clicks, CPM, CPC, and CTR locally. Enter budget and target costs to plan campaign scenarios instantly.
Calculation Logic
This tool uses the browser Web Crypto API to generate key material locally in memory. The public key is encoded in the OpenSSH format commonly used by authorized_keys; the private key is exported as PKCS#8 PEM for local download, backup, or tools that accept that format.
No backend service is required, and the comment, public key, or private key is not sent to a server. Refreshing the page clears the private key from the current browser session. Ed25519 availability depends on your browser's Web Crypto support; if it is unavailable, or if you need native OpenSSH private key output, choose RSA or run the displayed ssh-keygen command in a local terminal.
FAQ
Is it safe to generate an SSH key online?
It depends on the architecture. This tool is 100% client-side: keys are generated in your browser and are not uploaded to or stored by EasyTools servers.
What is the difference between RSA and Ed25519?
Ed25519 keys are shorter, fast to generate, and recommended for modern SSH usage. RSA is widely compatible with older systems; choose RSA-4096 when you need a stronger RSA option.
Does this tool store my private key?
No. The private key only exists in the current page state and is not saved by this site after refresh or close.
How do I use the generated SSH key?
Add the Public Key to GitHub SSH keys, your cloud server console, or ~/.ssh/authorized_keys. Store the Private Key only on your own device; if your SSH client does not accept PKCS#8 PEM, use the displayed ssh-keygen command to create native OpenSSH output locally.
Can I generate an SSH key for GitHub?
Yes. Choose Ed25519, add your email as the comment, generate the pair, then copy the Public Key to GitHub's SSH keys page.