What a PGP Message Looks Like and How to Read One
A PGP message is a block of ASCII-armored text. An encrypted message starts with -----BEGIN PGP MESSAGE----- and ends with -----END PGP MESSAGE-----. A clear-signed message starts with -----BEGIN PGP SIGNED MESSAGE-----. You can copy the whole block, including those lines, into a decrypt or verify tool. This guide shows what the block looks like, what you can and cannot learn from it, and how to read or decrypt one.
What does a PGP message look like?
In almost every email or chat window, a PGP message looks like a slab of seemingly random letters, digits, plus signs, and slashes, framed by header and footer lines made of five hyphens, the words BEGIN or END, and a type label. A typical encrypted message looks like this pattern (shortened):
-----BEGIN PGP MESSAGE-----
Version: OpenPGP.js
hQEMAyabcdefghijklmnopqrstuvwxyz0123456789
... more armor lines ...
=AbCd
-----END PGP MESSAGE-----
Those five hyphens are part of the format, not decoration. If a mail client turns them into a shorter dash, or wraps a line in the middle of the armor, decryption can fail. Always copy from the first hyphen of BEGIN through the last hyphen of END, and paste as plain text. The same armor style is used for keys and signatures, with different labels: PUBLIC KEY BLOCK, PRIVATE KEY BLOCK, SIGNATURE, and SIGNED MESSAGE.
Some tools write a binary .gpg or .pgp file instead of this text form. That is still OpenPGP, but you open it with a file tool, not by pasting into a text box. For a side-by-side of those two containers, see How to Decrypt a GPG or PGP File Online.
What is the difference between an encrypted message and a signed message?
Encryption hides the body of the message. Signing proves that a specific private key was used to sign some text or a file, and that the bytes have not changed since. OpenPGP can do one, the other, or both.
An encrypted block uses BEGIN PGP MESSAGE. The body is unreadable until you decrypt it with the matching private key. It may or may not also contain a signature inside the ciphertext.
A clear-signed message uses BEGIN PGP SIGNED MESSAGE, then the readable plaintext, then a BEGIN PGP SIGNATURE section. You can read the words without any key. You still need the signer's public key to check that the signature is valid. A detached signature is a separate BEGIN PGP SIGNATURE block (often a .asc or .sig file) that sits next to an unchanged original file.
To check a signature in the browser, use the tool to verify a PGP signature online. To understand what a valid result does and does not prove, read How to Share Your Public Key and Verify Fingerprints. If you want the broader model, start with What Is PGP and How Does It Work?.
How do I read or decrypt a PGP message?
If the block is clear-signed, you can already read the text between the headers. Verify the signature with the sender's public key before you trust the content.
If the block is encrypted, reading it means decrypting it:
1. Copy the entire armor block, from -----BEGIN PGP MESSAGE----- to -----END PGP MESSAGE-----.
2. Open the PGP decrypt page (or the Decrypt tab on the homepage).
3. Import the private key that matches the public key the sender used, and enter its passphrase. A public key will not decrypt the message; see Why You Need Your Private Key to Decrypt a PGP Message.
4. Paste the message and run decryption. The plaintext appears in the output box. Then clear the private key and passphrase from the form.
If a client added a quote prefix, HTML, or extra blank lines, paste as plain text and restore the header and footer exactly. Step-by-step screenshots of the same flow (as a written tutorial) are in How to Encrypt and Decrypt a Message with PGP.
To create a message instead of reading one, paste the recipient's public key into the PGP encryption tool, write the plaintext, and send them the resulting armor block.
Can I tell who a PGP message is for from the armor?
Sometimes you can see a hint, but you should not treat the visible armor as a complete address label. Encrypted OpenPGP packets often include key IDs (or fingerprints) for the recipient keys the message was sealed to. Some clients show those IDs when you inspect the message. Others hide or omit them, and some senders use a mode that reduces those identifiers.
A key ID in a header is also a short value. Short key IDs can collide, which is why you should compare a full fingerprint when it matters, as explained in the PGP key reader guide. If decryption fails, do not guess from a short ID alone: confirm with the sender which public key they used.
The Version: comment line, if present, only names software. It is not a security check, and it can be omitted or spoofed. Anyone can wrap text in BEGIN and END lines; only successful decryption or a valid signature gives you a cryptographic result.
What does PGP not hide?
PGP encrypts the payload, not the rest of the conversation. Email subject lines, From and To addresses, timestamps, and server logs are typically still visible to mail providers. Chat apps may still show who messaged whom and when. File names on attachments can also leak context if you do not rename them.
The fact that you sent a PGP block is itself visible. Armor is obviously ciphertext. If you need the existence of a conversation to stay less obvious, you need a channel designed for that, not only a pasted message block.
PGP also does not, by itself, prove that a public key belongs to the person you think it does. You need an out-of-band fingerprint check for that. And if you encrypt to the wrong key, the intended recipient cannot read the message, but the holder of that wrong key can.
If you prefer encrypted email without managing keys yourself for everyday mail, Proton Mail Affiliate link has a free plan and can still exchange OpenPGP messages with people outside Proton. For a longer comparison, see the Proton review and PGP for Email.
How do I create a PGP message to send?
Get the recipient's public key, and verify its fingerprint if the message is sensitive. Paste that public key into the PGP encryption tool, write your text, and click encrypt. Send the full BEGIN PGP MESSAGE block as plain text. Do not send your private key.
If you also want the recipient to know the text came from you, sign the message (on the homepage Sign tab) with your private key, or use a client that encrypts and signs in one step. The recipient will need your public key to verify the signature.
GPG, Thunderbird, and this site all speak OpenPGP, so a message you create here can be decrypted in GnuPG, and a GPG message can be decrypted here, as long as the armor is intact and the correct private key is used. Names and history of those tools are covered in PGP vs GPG vs OpenPGP.
Frequently Asked Questions
What does a PGP message start with?
An encrypted message starts with -----BEGIN PGP MESSAGE----- and ends with -----END PGP MESSAGE-----. A clear-signed message starts with -----BEGIN PGP SIGNED MESSAGE-----. Copy every hyphen; missing or replaced dashes will break the block.
Can I read a PGP message without a key?
You can read a clear-signed message because the text is in the clear, but you still need the signer's public key to verify the signature. You cannot read an encrypted PGP message without the matching private key (or a shared password, if the sender used symmetric encryption).
Why does a PGP message look like random characters?
The middle lines are ASCII armor: a text encoding of ciphertext (or of a signature). They are meant to travel through email and chat. The readable part is the BEGIN and END labels, plus any comment lines such as Version.
Is a PGP message the same as a .gpg file?
They are both OpenPGP data, in different containers. A PGP message is usually pasted text. A .gpg or .pgp file is usually a binary attachment. Use PGP decrypt for the text block and the file tool for the attachment.
Read or write a PGP message
Decrypt an armored message with your private key, or encrypt a new message to a recipient public key.