What the PGP QR Code Generator Does
Verifying a PGP key means checking its full fingerprint, and reading 40 hexadecimal characters out loud is slow and error prone. A QR code removes that friction: the other person scans it and gets your exact fingerprint, your full public key, or a link to it, with no typo possible.
This tool encodes a fingerprint as an openpgp4fpr: URI, the format used by OpenKeychain and other OpenPGP apps, a complete ASCII-armored public key for offline import, a keys.openpgp.org lookup link, or any short text such as a signed message. It runs entirely in your browser with a small open source QR library hosted on this site, and refuses private keys.
How to Create a PGP QR Code
-
Pick a mode
Choose Fingerprint for business cards and key signing, Public key to share the whole key offline, Link for a keys.openpgp.org page, or Free text.
-
Paste or load your data
Paste a fingerprint with or without spaces, or a full public key block: in Fingerprint mode the fingerprint is extracted for you. You can also drop a .asc file.
-
Check size and error correction
Watch the byte counter and the QR version. Auto error correction picks Q for fingerprints and L for large keys so the code stays scannable.
-
Download and test the scan
Save a PNG for screens or an SVG for print, or copy the image. Always scan it with OpenKeychain or your phone camera before printing.
Where to Use Your PGP QR Code
- Business cards and CVs: print your fingerprint QR next to your email so recruiters, clients and journalists can verify your key in seconds.
- Conference talks: show the code on your last slide so the audience can fetch and verify your key on the spot.
- Key signing parties: add a fingerprint QR to each printed key slip so participants scan instead of comparing hex strings by eye.
- In-person verification with OpenKeychain: scan an
openpgp4fpr:code to import the key and mark it as confirmed in one step. - Email signatures and contact pages: link the code to your keys.openpgp.org entry so anyone can download your current public key.
Security Notes
A QR code only proves something when it reaches the other person through a channel they trust, such as a card you hand over or a slide you present yourself. A fingerprint QR posted next to an unverified key on the same website adds little. Never encode a private key, and remember that anyone who can see the code can read it: a QR code is an encoding, not encryption. To check what a key contains before you share it, open it in the PGP Key Viewer.
Learn more in How to Share Your Public Key and Verify Fingerprints and Common PGP Mistakes, or explore all security tools.
Frequently Asked Questions
What is an openpgp4fpr: QR code?
openpgp4fpr: is a URI scheme that carries an OpenPGP key fingerprint, for example openpgp4fpr:27EBF294F07765D26FB2232E7BC4848108DB6435. Apps such as OpenKeychain on Android read it when you scan the code, then look up the matching key and mark it as verified because the fingerprint came from you in person.
Should I put my fingerprint or my full public key in the QR code?
Use the fingerprint for business cards, CVs, slides and key signing parties: it is short, easy to scan and lets anyone check they have the right key. Encode the full public key only when the other person must import it offline. RSA keys produce very dense codes, while Ed25519 keys fit comfortably.
Is my key uploaded when I create a QR code?
No. The QR code is generated 100% in your browser with a small open source library hosted on onlinepgp.com. Your fingerprint, key and text are never sent to a server, and the tool works offline once the page is loaded.
Can I turn my private key into a QR code?
No, and you should not. The tool refuses any input that contains a PRIVATE KEY BLOCK. A printed or photographed private key is a permanent leak. Share only your public key or its fingerprint.
How much data can a PGP QR code hold?
A QR code holds at most 2,953 bytes at error correction L, 2,331 at M, 1,663 at Q and 1,273 at H. A fingerprint URI needs about 52 bytes, an Ed25519 public key around 600 to 900 bytes, and an RSA-4096 public key often more than 3,000 bytes, which is too large.
Which error correction level should I choose?
Leave it on Auto. Short payloads such as fingerprints use Q, which still scans when the card is scratched or partly covered. Large public keys switch to L to fit. Choose H only for short data printed on surfaces that can get damaged.