OnlinePGP - Free PGP encryption that never leaves your browser | Product Hunt

PGP Sign a Message Online

You can sign a PGP message in your browser on this page: paste your private key, enter the passphrase, and sign the text locally. The result is a clear-signed message that starts with BEGIN PGP SIGNED MESSAGE. This is the same client-side OpenPGP.js tool as the homepage, with the Sign tab open first, and nothing is uploaded to our server.

Client-side Open-source No signup Free

Verification result will be displayed here

How do I sign a message with PGP?

To sign a PGP message, paste your private key, enter its passphrase, paste the text, and choose SIGN TEXT. This page opens the Sign tab of the same client-side tool used on the homepage. OpenPGP.js creates a clear-signed message in your browser, and nothing is uploaded to our server.

  1. Paste the text to sign

    Type or paste the message in the text field. This tool clear-signs the words, so recipients can read the text without a key and still check the signature.

  2. Import your private key

    Paste your private key or choose IMPORT PRIVATE KEY. You sign with the secret key that belongs to you, not with a public key and not with the recipient's key.

  3. Enter the passphrase and sign

    Type the passphrase that protects the private key, then choose SIGN TEXT. The signed block appears in the output box and never leaves this device.

  4. Copy the signed message

    Copy the full block, including the -----BEGIN PGP SIGNED MESSAGE----- and ending signature lines, then send it as plain text. Clear the private key and passphrase from the form when you are done.

Which key do I use to sign a PGP message?

You sign with your private key and its passphrase. Other people verify that signature with your public key. If you use the wrong private key, the signature will not match the public key your contacts already have.

Share only the public key, and ask contacts to verify your fingerprint out of band. If you do not have a key pair yet, generate a PGP key first. To inspect a public key, use the PGP key reader.

What does a signed PGP message look like?

The Sign tab writes a clear-signed message. The body stays readable. It starts with -----BEGIN PGP SIGNED MESSAGE-----, then the text, then a -----BEGIN PGP SIGNATURE----- section. That is different from an encrypted BEGIN PGP MESSAGE block, which hides the body and is created on the PGP encryption tool page.

Recipients can verify the block on the PGP Verify page, or in GnuPG, Kleopatra, or Thunderbird. If you need the format spelled out, read what a PGP message looks like.

Can I encrypt and sign a message here?

Not in a single click on this form. Signing and encryption are separate tabs. Use this page (or the Sign tab) to prove the text came from your private key. Use the PGP encryption tool when you want only the holder of a recipient private key to read the body.

Desktop clients such as Thunderbird can encrypt and sign in one operation. This browser tool keeps the two jobs separate so each step stays easy to follow. GPG and this site still speak the same OpenPGP standard; see PGP vs GPG vs OpenPGP.

Related Tools and Guides

These client-side tools and guides sit alongside this page. The main all-in-one tool remains on the OnlinePGP homepage.

Guides:

Frequently Asked Questions

How do I sign a PGP message?

Open the Sign tab on this page. Paste your private key, enter the passphrase that protects it, paste the text to sign, and choose SIGN TEXT. The tool creates a clear-signed block that starts with BEGIN PGP SIGNED MESSAGE. The key and message stay in your browser.

Which key do I use to sign a PGP message?

You sign with your private key and its passphrase. Recipients verify the signature with your matching public key. Do not send your private key. If you do not have a pair yet, generate a PGP key first and share only the public key.

What does a signed PGP message look like?

This tool writes a clear-signed message: readable text framed by -----BEGIN PGP SIGNED MESSAGE----- and a BEGIN PGP SIGNATURE section. You can send that block as plain text. See what a PGP message looks like for the difference between signed and encrypted blocks.

Can I encrypt and sign a message in one step here?

Not on this form. The Sign tab clear-signs the text; it does not encrypt it. To hide the body, use the PGP encryption tool with the recipient public key, then send the encrypted block. Signing and encrypting are separate steps in this interface.

Does this PGP sign tool work with GPG?

Yes. GnuPG, Kleopatra, Thunderbird, and this site all speak OpenPGP, so a clear-signed message created here can be verified in those programs, and a GPG clearsigned message can be verified on the PGP Verify page if the armor is intact.