OpenSSH to PPK Converter
Convert an OpenSSH private key (Ed25519 or RSA) into PuTTY .ppk format so you can use it with PuTTY, Pageant, and WinSCP. Runs entirely in your browser - your key is never uploaded - with the PuTTYgen command for offline use.
Conversion runs entirely in your browser - your key is never uploaded. For production keys, converting locally with PuTTYgen is the gold standard.
Prefer to convert offline with PuTTYgen?
puttygen id_ed25519 -o key.ppkWhy convert OpenSSH to .ppk?
Most tools generate and store keys in the OpenSSH format (id_ed25519, id_rsa). But PuTTY, Pageant, and WinSCP on Windows only load PuTTY's own .ppk format - so to use an existing OpenSSH key with them, you convert it first.
This tool converts an OpenSSH key to .ppk. Need the reverse? Convert PPK to OpenSSH. The key material is the same in both formats; only the container changes.
Converting with PuTTYgen (offline)
The official offline route is PuTTYgen. In the GUI: Load your OpenSSH private key (switch the file filter to All Files if needed), then Save private key to write a .ppk. On the command line:
puttygen id_ed25519 -o key.ppk- OpenSSH to .ppkputtygen id_ed25519 -O private-openssh -o id_ed25519- the reverse
This tool generates the OpenSSH-to-.ppk command for you so you can convert locally if you prefer.
Which OpenSSH keys are supported
Paste a modern OpenSSH private key - the kind that starts with -----BEGIN OPENSSH PRIVATE KEY----- - for Ed25519 or RSA, and it converts in the browser. If your key is an older PEM key (-----BEGIN RSA PRIVATE KEY----- or BEGIN PRIVATE KEY), the tool detects it and shows the puttygen command to convert it locally, since PuTTYgen reads those formats directly.
Passphrase-protected keys
A key encrypted with a passphrase must be decrypted before it can be converted here. Remove the passphrase first with ssh-keygen -p -f id_ed25519, or use the offline puttygen command (PuTTYgen prompts for the passphrase and lets you set a new one on the .ppk). This tool never asks for your passphrase.
Is it safe to convert a key online?
This converter runs 100% client-sidewith no network calls - you can confirm that with your browser's network tab open. Even so, a private key is sensitive: for production keys, prefer the offline PuTTYgen command. This tool is ideal for test keys and quick migrations onto PuTTY.
Key formats at a glance
| Format | Used by | Typical file |
|---|---|---|
| OpenSSH | ssh, ssh-keygen, scp, sftp | id_ed25519 / id_rsa |
| .ppk | PuTTY, Pageant, WinSCP (Windows) | mykey.ppk |
| PEM | OpenSSL, older OpenSSH, some clouds | id_rsa (BEGIN RSA PRIVATE KEY) |
Frequently asked questions
Related developer tools
A modern SSH client, no key juggling.
CtrlOps uses standard OpenSSH keys and manages them for you - generate, store, and assign keys per server, encrypted on your own machine. No more converting formats just to connect.
✓ Start instantly·✓ No credit card·✓ No sneaky autorenewals

