Email QR Code Generator
Create a QR code that opens a pre-addressed email on the scanner's device — ready to send.
Enter an email address to generate QR code
What this tool does
An email QR code uses the mailto: standard. When scanned, it opens the phone's email app with the recipient, subject, and body already filled in. The person just taps send.
The generator runs entirely in your browser as client-side JavaScript. The text, links, and credentials you enter are encoded directly into the QR matrix on your device — the payload is never transmitted to or stored on a server. The encoder selects the densest QR encoding mode that can represent your data (numeric, alphanumeric, or byte mode), applies the error-correction level you choose, and writes the resulting module grid into the canvas preview above. Because the data lives inside the image itself, the finished code is static: it never expires and never depends on a redirect service.
How a mailto code works, where to use it, and how to test it
How a mailto: link is assembled
An email QR code encodes a mailto: URI. The address comes first. An optional subject and body follow as query parameters: mailto:hello@example.com?subject=Feedback&body=My%20visit. Spaces, ampersands, hashes, and question marks inside those fields must be percent-encoded, or the phone cuts the link at the first raw reserved character and the draft arrives incomplete. The link never sends mail. It asks the operating system to open whatever app is registered for mailto:, with the fields filled in. The person scanning still has to review and tap send. A phone with no mail account configured may show an error, or nothing. Attachments, CC lists, and delivery receipts are outside what this URI can reliably request.
Campaigns that benefit from a pre-filled draft
The format fits a prompt where a short email is the desired reply: a table card that says “tell us about your visit”, packaging that opens a warranty note, a poster for event enquiries, or a reception sign for a named inbox. A specific subject line is the operational win — you can filter “Table feedback” away from general mail. Keep the body to one sentence. People rewrite it, and a long body only densifies the pattern. Do not use mailto: as the only channel for anything that must arrive, such as a legal notice or a paid registration. Pair it with a web form, and print the address in text for anyone whose phone has no mail app.
How to test the draft, not just the scan
Scan with a phone that has a real mail account, and with one that does not, so you see both the happy path and the failure. On the working phone, confirm the To address, the subject, and the body match what you entered, including characters you percent-encoded — a truncated subject means an unencoded ampersand or hash. Do not send the test to a customer inbox until you have sent it to yourself and checked the received headers. Repeat on iPhone Mail and on an Android client; some skins drop the body parameter even when they keep the address. Print a proof and scan it. Then try a phone whose default mail app is a web client, because that hand-off is where drafts most often lose the body. If the draft looks right but never arrives when sent, the QR code did its job — the problem is the mailbox, not the matrix.
The mailto: link standard
An email QR code encodes a mailto: link: mailto:hello@cafe.com?subject=Feedback&body=My%20visit%20was… The address comes first; subject and body are optional query parameters. Spaces and special characters must be percent-encoded (%20 for a space, %26 for an ampersand) or the phone truncates the link at the first unencoded character. The link only opens a draft — it cannot send, cannot attach a file, and cannot guarantee delivery, so the person scanning always reviews and taps send themselves.
Pre-addressed drafts that route cleanly
A pre-filled subject line lets you filter incoming replies by campaign, so a Feedback subject lands in the right inbox instead of mixing with general mail. The draft is consent-first: nothing is sent until the scanner reviews it, which makes the channel appropriate for feedback cards and enquiry prompts. The gain over a printed address is removing the typing step and guaranteeing the subject is filled in correctly — most people will not bother to type a subject by hand, and an empty subject line is more likely to be filtered as spam.
Sizing and the no-mail-device fallback
A mailto: string is short, so Level M error correction and a 2.5 cm minimum print keep it compact and reliable. Keep the pre-filled body short — long messages densify the pattern for text most people rewrite anyway. Not every phone has a mail account configured, and messaging-first users may see nothing when they scan, so print the address in text alongside the code as a fallback. Test on a device with no mail account set up to confirm the fallback is visible before printing in quantity.
Download your QR code
PNG for screens, SVG for large-format printing, PDF for print shops.
Optimal settings
A mailto: string is short to moderate in length, so Level M error correction is the right default — compact enough for a small print, resilient enough for a feedback card on a table. Print at least 1 inch (2.5 cm) square; if you pre-fill a long subject and body, the string grows and you should move up to 1.25 inches so the denser pattern still scans on the first try.
New to generating QR codes?
Read our complete creation guide
How it works
- 1You enter the recipient address, a subject line, and an optional message body.
- 2The generator builds a mailto: link and encodes it into the QR pattern.
- 3Scanning opens the default mail app with the fields pre-populated.
- 4The sender can review and edit the message before sending.
When to use it
- Feedback cards on restaurant tables ("Tell us how we did")
- Product packaging inviting warranty registration or support emails
- Event posters for quick enquiries
- Reception desks for visitor or complaint emails
Examples of what to encode
Feedback
To: hello@cafe.com · Subject: Feedback · Body: My visit was…
Support
To: support@brand.com · Subject: Help with order
Enquiry
To: sales@company.com · Subject: Quote request
How a mailto: link is built
An email QR code encodes a mailto: link: mailto:hello@cafe.com?subject=Feedback&body=My%20visit%20was… — everything after the address is optional. Spaces and special characters must be percent-encoded (%20 for a space, %26 for an ampersand), which is why a subject like "Order #42 & feedback" needs careful encoding before it goes into the pattern.
What happens after the scan depends on the device. A phone with a configured mail app opens the draft pre-filled and ready to send. A phone with no mail account set up shows an error or nothing at all — worth remembering if your audience skews toward people who live in messaging apps and never open their email client.
A mailto: link cannot attach files and cannot send anything by itself. It only opens a draft; the person scanning always reviews and taps send. That makes it a consent-first channel — but it also means the pre-filled body is a suggestion, not a script.
Email deliverability and subject-line craft for QR campaigns
A mailto: code is only as good as the inbox it reaches. Pre-filled subject lines that look automated can trip spam filters; a natural phrase routes more reliably and reads better to the human who opens it. Keep the body short and suggestive, not prescriptive — most people rewrite the body anyway, and a long pre-filled message densifies the QR pattern for little benefit.
The mailto: link only opens a draft. It cannot send, cannot attach files, and cannot guarantee delivery. If deliverability matters (warranty registration, legal notices), pair the code with a web form as the primary channel and treat the email code as a convenience for the casual case.
Not every phone has a mail account configured. Messaging-app-first users may see nothing when they scan. A printed fallback address covers them, and a short instruction (scan to email us, or write to the address below) sets the right expectation before the camera ever opens.
Common mistakes to avoid
- Not percent-encoding spaces and ampersands in the subject, which truncates the link at the first bad character.
- Leaving the subject empty — unfiltered replies are hard to route and more likely to land in spam.
- Expecting the link to work on devices with no mail account configured.
- Writing a long pre-filled body, which makes the code denser for text most people rewrite anyway.
Practical tip
Pre-fill the subject line so incoming emails are easy to filter. Keep the body short — long messages make a denser code and most people rewrite the body anyway.
Frequently asked questions
Why does my pre-filled subject get cut off?
Spaces and special characters in the subject or body must be percent-encoded (%20 for a space, %26 for an ampersand). If they are left raw, the phone truncates the mailto: link at the first unencoded reserved character. This generator encodes them automatically; a hand-built link may not.
Does scanning the code send the email automatically?
No. A mailto: link only opens a draft with the recipient, subject, and body pre-filled. The person scanning still reviews the message and taps send themselves, which makes it a consent-first channel — nothing is sent without the scanner's explicit action.
What happens if the scanner has no mail app configured?
A phone with no email account set up may show an error or nothing at all. That is why you should print the email address in text alongside the code as a fallback, so messaging-first users can still reach you by typing it into their preferred app.
How this tool handles your data
Everything here runs in your browser. The text, links, passwords, and contact details you enter are encoded into the QR image on your device — they are never uploaded to or stored on a server. Nothing is retained after you leave the page.
Test and check your code
Before you print or publish, use these free tools to make sure your code scans reliably.
Related guides
Learn more about this QR code type and how to get the most out of it.