Online SSH Key Generator - Secure, Local & Ed25519 Supported

Use this SSH Key Generator to create Ed25519, RSA-2048, or RSA-4096 key pairs locally in your browser. 100% client-side, no server uploads. Generate now and copy your public key.

Click for theater mode
100% generated in your browser

CLI command reference

Use this command locally when you need native OpenSSH private key output.

ssh-keygen -t ed25519

The private key only appears in this browser session. Use the command below locally when you need native OpenSSH private key output.

Ready. Choose an algorithm and generate a new SSH key.

Public Key

Private Key

How to Use

  1. Choose an algorithm. Ed25519 is recommended for most new keys.
  2. Enter an optional comment, such as [email protected], to identify the key later.
  3. Click "Use example comment" to generate a real key pair with the sample comment, or click "Generate key" with your current settings.
  4. Copy the Public Key to GitHub, a server console, or ~/.ssh/authorized_keys.
  5. 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-keygen command locally and run chmod 600 on 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 .pub and .pem files without mixing them up.
  • Comment tagging: Add an email, device name, or deployment label so GitHub, servers, and authorized_keys entries are easier to recognize.
  • CLI command reference: See the matching ssh-keygen command when you need native OpenSSH private key output from your own terminal.

Related Tools

FIRE Calculator 2026 (Inflation Adjusted) | Retirement Gap Simulator

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.

Position Size Calculator - Risk-Based Trade Sizing

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.

Compound Interest Calculator | Free APY & Investment Chart

Calculate compound interest from principal, recurring contributions, APY, and time. Visualize principal, interest, and final balance with a local interactive chart.

Online Loan & Mortgage Calculator - Instant Amortization Schedule

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.

Online Investment & ROI Calculator - Compound Interest Visualizer

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.

APR to APY Calculator - Convert Nominal & Effective Rates

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.

Profit Margin Calculator - Margin vs Markup Converter

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.

CPM & CPC Calculator - Ad Spend and CTR Online Tool

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.