Loading ToolDeck, please wait.

ToolDeck.online

INITIALIZING_

0%
DESIGNED BY SJ VISUAL FLOW STUDIOS
ToolDeck.onlineOpen. Build. Go.
Skip to content

Free PGP Key Generator: Create a Key Pair Online

A free PGP key maker that runs in your browser. Generate an Ed25519 or RSA 4096 OpenPGP key pair. Nothing is uploaded, nothing is stored. Optional passphrase. Fingerprint displayed. Download the public key, private key and revocation certificate as standard .asc files. No sign-up.

  • 100% secure and private
  • Ed25519 or RSA 4096
  • Revocation certificate included
  • No sign-up

Key details

Attached to your key as the user ID.

The address others use when encrypting to you.

Key type

Encrypts your private key file. Strongly recommended.

Everything runs in your browser. Nothing is uploaded.

Your key pair will appear here

Fill in the form and click Generate. Everything happens on your device. No upload, no account, no log.

  • Ed25519 by default
  • Optional passphrase on the private key
  • Public, private and revocation files
  • 100% Secure
  • No Upload
  • No Storage
  • No Sign-up
  • No Watermark

How this compares to other ways of making PGP keys

GnuPG is powerful but requires a terminal. Many web generators quietly upload your private key material. This tool sits in the middle: browser-native, with no server in the loop.

FeatureTToolDeckGPG on the command lineTypical web key generators
Runs entirely in your browserYesNoPartial
Private key never uploadedYesYesNo
No install, no terminalYesNoYes
No sign-up or emailYesYesPartial
Ed25519 supportYesYesPartial
RSA 4096 supportYesYesPartial
Optional passphrase encryptionYesYesPartial
Revocation certificate includedYesYesPartial
Fingerprint displayedYesYesYes
Download as .asc filesYesYesPartial

Comparison is a general overview of common patterns. Features vary by tool and may change.

Free browser tools that pair well with a PGP workflow. Nothing uploaded, ever.

See all ToolDeck tools

How to generate a PGP key pair

  1. 1

    Fill in your name and email

    These become the user ID on the key. Choose Ed25519 or RSA 4096, and set an optional passphrase.

  2. 2

    Click Generate

    Your browser does the math locally using OpenPGP.js. Nothing leaves your device. Ed25519 finishes in a second, RSA 4096 in 10 to 30 seconds.

  3. 3

    Download the three files

    Public key to share, private key to keep secret, and a revocation certificate to save for later. All are standard .asc files.

How to import your new keys into GnuPG

Save the three .asc files somewhere safe first. Then open a terminal and run the following commands. GnuPG will ask for your passphrase once for the private key import.

# Import your public key
gpg --import jane-public.asc

# Import your private key (will prompt for passphrase if set)
gpg --import jane-private.asc

# Verify the fingerprint matches the one shown on this page
gpg --list-secret-keys --keyid-format=long

# Publish your public key to a keyserver (optional)
gpg --keyserver keys.openpgp.org --send-keys YOUR_KEY_ID

Everything you get for free

  • Ed25519 by default

    Modern elliptic-curve keys. Small, fast, and considered at least as strong as RSA 3072. Supported by all recent OpenPGP software.

  • RSA 4096 for maximum compatibility

    If you need to talk to very old PGP clients, RSA 4096 is the safest bet. Generation takes longer, but the key works everywhere.

  • Optional passphrase encryption

    Protect your private key file with a passphrase. If it leaks, an attacker still needs the passphrase to sign or decrypt anything.

  • Revocation certificate included

    Every generated key comes with a revocation certificate. Save it. If your key is ever lost or compromised, this file lets you publish an official revocation.

  • Fingerprint on screen

    Your key fingerprint is displayed in a copyable grouped format, ready to compare out of band with whoever you are exchanging keys with.

  • Nothing uploaded, ever

    Key generation runs on your CPU using WebAssembly and the Web Crypto API. Your name, email and passphrase never leave your device.

  • Download .asc files immediately

    Public key, private key and revocation certificate are ready to download as standard ASCII-armored .asc files that any OpenPGP client can import.

  • No account, no email, no telemetry

    No sign-up form, no confirmation email, no analytics of key material. Open the page, generate, download, close the tab.

What people use PGP keys for

  • Encrypted email

    Send and receive encrypted email in Thunderbird, ProtonMail, or any OpenPGP-compatible client. Your key stays on your device.

  • Sign Git commits and tags

    GitHub, GitLab and Gitea all show a Verified badge on commits signed with your PGP key. Upload the public key once and every future commit shows the badge.

  • Verify software downloads

    Many Linux distros and open source projects publish a detached PGP signature alongside their releases. Generate your own key to join the same trust model.

  • Encrypt files before backup

    Use GnuPG or a compatible tool to encrypt local files with your public key. Only someone holding the private key can decrypt them.

  • Protect source code secrets

    Teams use PGP to encrypt environment files, API keys and database dumps before they leave a developer machine.

  • End-to-end messaging

    Use your key with end-to-end encrypted chat tools and file sharing services that speak OpenPGP.

Questions people ask

Is there a free PGP key generator online?

Yes. This one is free, with no sign-up, no email and no limits. Enter your name and email, choose Ed25519 or RSA 4096, add an optional passphrase, and download your public key, private key and revocation certificate as .asc files.

How do I create a PGP key?

Enter your name and email in the tool above, pick a key type (Ed25519 is the modern default), optionally set a passphrase, and click Generate. Then download the three .asc files: the public key to share, the private key to keep secret, and the revocation certificate to save for emergencies.

Is it safe to generate a PGP key in a browser?

The key is created locally by your browser using OpenPGP.js and the Web Crypto API, and nothing is uploaded, so ToolDeck never sees it. The remaining risk is your own device: browser extensions and malware can read what happens on a page. For a high-value key, such as one that protects a company or a long-term identity, generate it with GnuPG on a clean, trusted computer instead.

Are the generated keys really secure?

Yes. The keys are generated on your device using OpenPGP.js, a well-audited JavaScript library that implements the OpenPGP standard (RFC 9580). Randomness comes from the browser Web Crypto API, which uses the operating system CSPRNG. No part of the key material ever leaves your device.

Is my private key uploaded anywhere?

No. There is no upload step and no server-side key handling. Open your browser network tab while generating a key and you will see no requests containing your name, email or passphrase. The only network activity is the initial page load and the OpenPGP.js library download.

Should I choose Ed25519 or RSA 4096?

Ed25519 is the modern default. It is faster to generate, produces much smaller keys, and is at least as strong as RSA 3072 by current cryptography standards. Choose RSA 4096 only if you need to interoperate with a very old PGP client that does not support Ed25519. Almost nobody needs RSA 4096 in 2026.

What is a PGP fingerprint?

A fingerprint is a cryptographic hash of your public key, usually shown as 40 or 64 hex characters grouped in fours. It uniquely identifies the key. When you exchange keys with someone, verify the fingerprint out of band (voice call, Signal, in person) to make sure the public key you received is really theirs and not a fake.

What is a revocation certificate?

A revocation certificate is a small signed file that says "this key is no longer valid". If your private key is ever lost, stolen or compromised, importing the revocation certificate into your keyring and publishing the updated public key tells everyone who has it to stop trusting the key. Without a revocation certificate, you cannot revoke a key after the fact. Save it the moment you generate it.

Should I add a passphrase to my private key?

Yes, unless you have a very specific reason not to. A passphrase encrypts the private key file on disk with a symmetric cipher. Without it, anyone who copies the .asc file can immediately sign and decrypt messages as you. With it, they also need to guess or steal the passphrase. Use a long, unique passphrase that you store in a password manager. You can make one with our Password Generator.

What can I do with my new PGP key?

Encrypt and sign email in Thunderbird, ProtonMail, or any OpenPGP client. Sign Git commits and tags (GitHub, GitLab and Gitea show a Verified badge). Encrypt files before backup or cloud upload. Join encrypted messaging services that speak OpenPGP. Verify signed software releases.

How do I import my new key into GnuPG?

Save the three .asc files somewhere safe. Then open a terminal and run: gpg --import your-name-public.asc, then gpg --import your-name-private.asc. GnuPG will prompt for your passphrase once. Confirm with gpg --list-secret-keys --keyid-format=long and check that the fingerprint matches the one shown on this page.

What is the difference between PGP, OpenPGP and GPG?

PGP is the original commercial software from 1991. OpenPGP is the open standard (currently RFC 9580) that grew out of it. GPG (GnuPG) is the most widely used free implementation of OpenPGP. This tool uses OpenPGP.js, which is a JavaScript implementation of the same standard. All three produce compatible keys.

Can I use these keys in ProtonMail or Thunderbird?

Yes. Both ProtonMail and Thunderbird accept standard ASCII-armored OpenPGP keys. In Thunderbird, go to Account Settings, End-to-End Encryption, and add your key there. In ProtonMail, open Settings, Encryption and Keys, and add an external key. Ed25519 and RSA keys generated here work in both.

What happens if I lose my private key?

You will not be able to decrypt future messages or sign new ones with that key. Anyone can still encrypt to your public key but you will not be able to read it. Use the revocation certificate you saved to publish a revocation, then generate a fresh key and tell your contacts to switch. This is why you always save the revocation certificate.

Do PGP keys expire?

A primary key does not have to expire, but you can set an expiry date on the key or on subkeys. Many people set 1 to 2 years and extend before it runs out. This tool does not currently set an expiry, so keys generated here are valid until you revoke them.

Can I use one key for multiple email addresses?

Yes. A PGP key can have multiple user IDs, one per email address. Some people prefer a separate key per address for compartmentalisation. This tool currently generates one user ID per key. To add more, import the key into GnuPG and use gpg --quick-add-uid.

Are Ed25519 keys weaker than RSA 4096?

No. Ed25519 gives roughly 128-bit security, which matches RSA 3072 or higher. RSA 4096 gives around 140-bit security, a very small theoretical edge that is not relevant in practice because the bottleneck in real attacks is implementation bugs, weak passphrases or key theft, not brute force on the mathematical problem.

Can I generate keys without an internet connection?

Key generation runs locally in your browser, so it does not send anything over the network. Once the page has loaded, generating a key does not need a connection. If you need a strict guarantee, such as for a high-security environment, use GnuPG on an offline computer instead.

Your key material never leaves your device

There is no upload step and no server-side key handling. The key generation runs entirely in your browser using OpenPGP.js and the Web Crypto API. Your name, email, passphrase and the generated keys stay on your device. Open your browser network tab while generating a key and confirm there is no outbound request carrying any of that data. Read how we keep it private.