Online/Offline PGP Tools

A simple offline-capable toolkit for generating OpenPGP keys, encrypting and decrypting messages, signing text and files, and verifying signatures.

These tools run locally in your browser using openpgp.min.js. Nothing is uploaded to a server. For sensitive use, open this site in a private/incognito browser window and disconnect from the internet. Or download the full folder and run it locally offline on your device.

Start Here: Generate Key Pair

Create your own private key and public key.

Encrypt Message

Use the recipient's public key to encrypt a message.

Decrypt Message

Use your private key and password to read encrypted messages.

Sign Text

Use your private key to prove a message came from you.

Verify Signed Text

Use the sender's public key to verify authenticity.

Sign File

Create a detached .asc signature for any file.

Verify File Signature

Check that a downloaded file was signed and not modified.

What is PGP?

PGP is a system for protecting messages and files. It can be used for two main purposes:

Public key and private key

OpenPGP uses a key pair:

Your private key should be protected with a strong password.

PGP, OpenPGP, GPG, and OpenPGP.js

Simple summary: PGP is the idea, OpenPGP is the standard, GPG is a program.

How to use OpenPGP step by step

1. Create a key pair

Use Generate Key Pair to create your private key and public key. Keep the private key secret. Share the public key with people who need to encrypt messages to you or verify your signatures.

2. Encrypt a message

To send a private message to someone, use their public key. Only their private key can decrypt it.

3. Decrypt a message

When someone sends you an encrypted message, use your private key and password to decrypt it.

4. Sign text

Signing proves that a message was created by the holder of the private key. It does not hide the message.

5. Verify signed text

Use the sender's public key to check whether the signed message is valid and unchanged.

6. Sign a file

A file signature creates a separate .asc file. The original file is not changed.

7. Verify downloaded files

For software downloads, especially security-sensitive software, verify the file using the developer's public key and the matching signature file before running it.

Why file signatures matter

File signatures are important for security-sensitive downloads such as crypto wallets, password managers, encryption tools, operating system images, and software installers.

A valid OpenPGP signature can help confirm that:

A valid signature proves that the file matches the signing key. It does not automatically prove that the key itself is trustworthy. Always obtain public keys from official project sources and compare fingerprints when available.

Tool guide

Generate Key Pair

Purpose: create a new password-protected private key and matching public key.

Open Generate Key Pair

Encrypt Message

Purpose: encrypt text so only the recipient can read it.

Open Encrypt Message

Decrypt Message

Purpose: decrypt a message that was encrypted to your public key.

Open Decrypt Message

Sign Text

Purpose: create a clear-signed text message that others can verify.

Open Sign Text

Verify Signed Text

Purpose: verify that a signed text message is authentic and unchanged.

Open Verify Signed Text

Sign File

Purpose: create a detached armored signature for a local file.

Open Sign File

Verify File Signature

Purpose: verify a detached signature for a downloaded file.

Open Verify File Signature

Security notes

Back to tools