Skip to content

OpenSSH to PPK Converter

Turn an OpenSSH or .pem private key into a .ppk for PuTTY, Pageant and WinSCP, passphrase and all.

Free · No signupYour key never leaves this tab

Try a demo key

Getting the converter ready…

  1. 1Add your private keyid_ed25519, id_rsa, or a .pem file such as an AWS key pair.
  2. 2Unlock it if it has a passphraseThe key is decrypted here, in this tab.
  3. 3Download the .ppkFor PuTTY, Pageant, WinSCP and FileZilla, with a passphrase if you like.

Prefer the command line?

  • Convert with PuTTYgen
    puttygen id_ed25519 -o key.ppk

PuTTYgen asks for the passphrase on your machine. On Windows, use Load, then Save private key.

Tired of converting keys?

An SSH client that reads your keys as they are.

CtrlOps uses standard OpenSSH keys directly: store them, assign them per server, and keep them encrypted on your own machine.

Explore SSH managementDownload for MacDownload for Windows

Keep it handy

What it reads,
and what it writes.

Find your key by its first line, then pick the .ppk version your PuTTY understands.

Private key formats this converter reads
FormatFirst lineComes from
OpenSSHBEGIN OPENSSH PRIVATE KEYssh-keygen, GitHub guides, most Linux and macOS setups
PEM (PKCS#1)BEGIN RSA PRIVATE KEYAWS EC2 key pairs, older ssh-keygen, OpenSSL
PEM (SEC1)BEGIN EC PRIVATE KEYOpenSSL, ssh-keygen -m PEM
PEM (PKCS#8)BEGIN PRIVATE KEY or BEGIN ENCRYPTED PRIVATE KEYOpenSSL 3, cloud consoles, Java tools
The .ppk versions and which software reads them
.ppkRead byGood to know
Version 3PuTTY 0.75 and later (2021), current WinSCP and FileZillaArgon2 protects the passphrase. The default.
Version 2PuTTY 0.74 and earlier, and tools built on themOnly for software that rejects version 3.

How the conversion works

Same key.
PuTTY’s container.

Why convert OpenSSH to .ppk?

PuTTY, Pageant and the tools built on them only load keys in PuTTY’s own .ppk format. Keys made with ssh-keygen on Linux or macOS, and the .pem files cloud providers hand out, use OpenSSH or PEM format instead. The key inside does not change, so the public key already on your servers keeps working.

Which keys convert

Ed25519, RSA and ECDSA (P-256, P-384 and P-521) keys convert from OpenSSH format, from PEM files such as AWS EC2 key pairs, and from PKCS#8. DSA converts with a warning, since most servers now refuse it. Keys on a hardware security key (the sk- types) cannot be converted, because the private part never leaves the device.

Passphrase-protected keys

Enter the passphrase and the key is decrypted in this tab, then the .ppk is protected again, with the same passphrase or a new one. Version 3 derives the encryption key with Argon2id, as PuTTYgen does, so the passphrase is hard to guess even if the file is copied. Keys encrypted with chacha20-poly1305 or 3DES are the exception; run ssh-keygen -p -Z aes256-ctr -f id_ed25519 first to switch them to AES.

Converting with PuTTYgen, offline

PuTTYgen does the same conversion on your own machine. In the Windows app, choose Load, pick the key (set the file type to All Files), then Save private key. On the command line, puttygen id_ed25519 -o key.ppk writes a version 3 file; add --ppk-param version=2 for older software.

Is it safe to convert a key online?

The conversion runs entirely in your browser, with no network requests; you can watch the network tab while converting. Nothing is stored, and the private lines of the .ppk stay hidden on screen until you choose to show them. For production or long-lived keys, the offline PuTTYgen command is the most cautious option.

Read PuTTY’s description of the .ppk format

OpenSSH & PPK FAQ

Keys for PuTTY,
explained.

Keep working

Tools and guides for your next step.

Your privacy preferences. We use product analytics to improve CtrlOps. Google measurement runs without analytics cookies. Live chat stays off until you allow it. Cookie policy