How Do I Make a QR Code for an Email Address?
To make a QR code for an email address, encode a mailto link such as mailto:[email protected], add an optional subject and body, and test it on two phones.
To make a QR code for an email address, encode a mailto link, such as mailto:[email protected], in any QR code generator. Most generators have an Email option that builds the link for you. When someone scans the code, their phone opens a new draft addressed to you, and you can pre-fill the subject and message too.
What goes inside a QR code for an email address
A QR code for an email address holds one short line of text: mailto:, then the address, then optional fields. The format comes from RFC 6068, the standard for mailto links, published in October 2010. It’s the same link that sits behind an “Email us” button on a web page.
Three things turn up inside email codes, and they behave differently.
| What’s encoded | Example | Should you use it? |
|---|---|---|
| Bare address | [email protected] | No. Some readers treat it as plain text |
| mailto link | mailto:[email protected]?subject=Quote | Yes |
| MATMSG | A format from NTT DoCoMo with address, subject and message | Only if your generator insists |
The barcode contents guide kept by the ZXing scanning project explains the first row. A bare address doesn’t guarantee the reader recognises it as email, so “it is advisable to create a proper mailto: URL from the address.” The same guide says a reader should then “open a blank e-mail message to the given address.”
How to write the mailto link
A mailto link is the address, then a question mark, then fields joined by ampersands. The fields most mail apps accept are subject, body, cc and bcc.
Add only what you need:
- Address only:
mailto:[email protected] - With a subject:
mailto:[email protected]?subject=Catering%20quote - Subject plus a message:
mailto:[email protected]?subject=Catering%20quote&body=Date%0D%0AGuests
Three rules save most of the trouble.
Spaces become %20. RFC 6068 says all spaces should be encoded that way.
Only the first field gets a question mark. Every later field starts with &. The standard prints mailto:[email protected][email protected]?body=hello as an example and marks it “WRONG!” because of the second question mark.
Line breaks are %0D%0A. That’s what the standard requires in a message body. Plenty of tools use the shorter %0A, and one generator’s documentation recommends it. If your line breaks vanish on one device, switch to the longer form.
Step by step: make the email QR code
Making the code takes five steps.
- Pick the address. Use a role address like
hello@orbookings@, not a personal inbox. Anyone who scans the code can read it. - Decide what to pre-fill. A subject helps you sort replies. A body works as a small form: “Date:”, “Guests:”, “Phone:”.
- Build the link. Use the Email type in a generator, or write the mailto line yourself and paste it into the plain text or URL field.
- Download the file. Take an SVG for print and a PNG for screens. Our guide to QR code size for printing covers how big it needs to be.
- Test on an iPhone and an Android phone. Check that the address, subject and body all arrive, then send the email and confirm it lands.
Keep the pre-filled text short. Every character adds to the pattern, and shorter content makes codes easier to scan.
What happens when someone scans it
Scanning opens a draft in the phone’s default mail app. It never sends anything by itself. RFC 6068 says a mail client “SHOULD NOT send a message based on a ‘mailto’ URI without first disclosing and showing to the user” the full message.
The person sees your subject and body, can change them, and has to tap Send. Word the call to action to match: “Scan and send to request a quote” tells people there’s a second step.
The standard also treats subject and body as safe fields, and lets a mail app refuse a link with header fields it considers dangerous. Stick to subject, body, cc and bcc.
A hotel puts a sticker inside each room. The code holds mailto:[email protected]?subject=Room%20issue&body=Room%20number. A guest scans it, types the room number, and sends. The front desk gets the same subject on every report and can filter on it.
Multiple recipients, CC and BCC
A mailto link can hold several recipients, separated by commas: mailto:[email protected],[email protected]. You can also add cc= and bcc= fields.
BCC in a printed code hides nothing. Anyone who scans it sees every address in the draft, including the BCC ones. The standard carries its own warning about BCC visibility and address harvesting. If you want a silent copy, set up forwarding on the mailbox.
The limitation: your address is public and fixed
A mailto code is static, and it publishes your address to anyone with a camera. The address sits in the pattern as readable text. RFC 6068 warns that mailto links on public web pages expose addresses for harvesting, and a poster on a street is at least as public.
Static also means no edits and no scan counts. If bookings@ moves to a new domain, every printed code still points at the old one. Our post on dynamic vs static QR codes explains the difference.
A dynamic code doesn’t fix this by holding the mailto line. QRAnalytica’s dynamic codes redirect to a web address that you can change at any time, so the workable setup is a contact page with an email button behind the code. That costs the reader one extra tap, and the scan runs through our redirect servers, a dependency a static code doesn’t have.
My take: mailto for a counter card, a page for a campaign
For a counter card, a room sticker or a conference badge, I use a plain mailto code with a subject line. It’s free, and nothing sits between the scan and the inbox.
For anything printed in bulk, I point the code at a page. A printed address can’t be edited, and I want to know how many people scanned. If the goal is saving your details and not starting a message, a vCard QR code fits better. For a faster reply than email gets, look at a QR code that sends a text message or one that opens a WhatsApp chat. You can make a dynamic code in the QR code generator.
FAQ
What do I put in a QR code so it opens an email?
Encode a mailto link: the word mailto, a colon, then the address, like mailto:[email protected]. A phone that scans it opens a new email draft to that address.
Can a QR code fill in the subject and message?
Yes. Add ?subject= and &body= after the address, with spaces written as %20. The person scanning sees the draft and can edit it before sending.
Can a QR code send an email automatically?
No. The mailto standard says a mail app should show the full message to the user before sending, so a scan opens a draft and the person still has to tap Send.
Can one QR code email more than one address?
Yes. Separate the addresses with commas after mailto:, or add cc= and bcc= fields. Anyone who scans the code can read every address in it, including the BCC ones.
Can I change the email address after the QR code is printed?
Not in a plain mailto code, because the address is stored in the pattern. If the address might change, point a dynamic QR code at a contact page and put the email link there.