Back

Import key

Add a public or private key from a file using official tools on your computer.

Open Import key

Import happens in GnuPG or Kleopatra on your computer. Never paste a private key into a browser.

In GnuPG, run:

gpg --import filename

Replace filename with the key file you were given. Public keys usually end in .asc or .gpg.

In Kleopatra, use File → Import Certificates... (Ctrl+I). To import a private key, follow the official Gpg4win chapter on importing and exporting a private certificate.

GnuPG

Kleopatra

Gpg4win

Built by Rohan · 2026