All Tools
Categories
Email Marketing Tools 36 Text Tools 12 Marketing Tools 3 Encoder Tools 1 Security Tools 1 Generator Tools 1
About Contact Privacy

QR Code Generator for Email

Free QR code generator built for email marketing. Create trackable QR codes with UTM parameters, export PNG or SVG, and copy ready-to-paste email HTML with Base64 embedding, Outlook-safe tables, and clickable fallback links. Batch mode included. No sign-up.

Content
UTM Tracking recommended
Keep utm_content=qr-code so scans stay separable from ordinary link clicks in your reports.
Appearance & Resilience
400 px
4
Scan Diagnostics
Version
Grid
Payload
Contrast
Encoded content

About QR Code Generator for Email

Most QR generators are built for posters. This one is built for the inbox. A QR code in an email has to survive a completely different gauntlet: HTML sanitisers that strip data URIs, Outlook rendering images inside tables, dark-mode inversion, clients that scale images down until the modules blur, and readers who are already on the phone they would have scanned with.

QR Code Generator for Email handles all of that. Encode a URL, email address, phone number, SMS message, WiFi handshake, or plain text, layer on UTM parameters so scans show up separately in your analytics, then copy email-ready HTML that includes an anchor fallback, descriptive alt text, explicit dimensions, and an Outlook-safe table wrapper. Export as PNG for hosting on your CDN or as SVG when the code will also be printed.

Everything is computed in your browser using a self-contained QR encoder — no API, no rate limit, no redirect domain that can disappear and take your printed codes with it. The codes are permanent and point directly at your destination.

Features

  • Six content types: URL, plain text, email (mailto with subject and body), phone, SMS, and WiFi network credentials — each with the correct payload format so scanners trigger the right action.
  • Built-in UTM builder: Append utm_source, utm_medium, utm_campaign, utm_term, and utm_content to the encoded URL so QR scans are attributable and never collapse into direct traffic.
  • Email HTML generator: Three copy-ready snippets — hosted image (works everywhere), Base64 data URI (self-contained), and Outlook-safe table — each with anchor fallback, alt text, and explicit width and height.
  • PNG and SVG export: Download a raster PNG at your chosen resolution, or a vector SVG that stays razor sharp at any print size.
  • Full error correction control: Choose L, M, Q, or H and see the resulting version and module count update live, so you can trade capacity against scan resilience deliberately.
  • Colour and margin control: Set module and background colours with a live contrast warning, and adjust the quiet zone — the single most common cause of unscannable codes.
  • Batch mode: Paste up to 50 URLs with optional labels and get an individually downloadable QR code for each — ideal for per-store, per-rep, or per-session campaigns.
  • Live scan diagnostics: Version, grid size, byte capacity used, and contrast ratio are shown as you type, with warnings before you ship a code that will not scan.
  • Zero data transmission: The encoder is pure client-side JavaScript. Nothing you enter is uploaded, stored, or logged.

How to Use

  1. Pick a content type. Choose URL for campaign links, or switch to Email, Phone, SMS, or WiFi to generate the right payload for that action.
  2. Enter your destination. Paste the link or fill in the type-specific fields. The preview redraws on every keystroke.
  3. Add UTM tracking. Open the UTM panel and set your source, medium, and campaign. Use a distinct utm_content such as qr-code so scans are separable from ordinary clicks in reporting.
  4. Tune size, error correction, and colours. Export at roughly twice your intended display width, keep error correction at M for screen or Q for print, and leave the quiet zone at 4 modules.
  5. Download the image. Take the PNG for hosting on your CDN, or the SVG if the code will also appear in print.
  6. Copy the email HTML. Move to the Email Embed tab, paste the hosted image URL you just uploaded, and copy the snippet into your template. Use the Outlook-safe variant if your list skews corporate.
  7. Test before you send. Send yourself a seed, then scan from a real phone in both light and dark mode, and confirm the tracking parameters land in your analytics.

Examples

Example 1 — Event check-in in a newsletter. You are sending a conference reminder to 12,000 registrants, and most read it on a desktop. Encode https://events.example.com/checkin with utm_source=newsletter&utm_medium=email&utm_campaign=summit-2026&utm_content=qr-code, export at 400 px, display at 200 px, set error correction to M. In your analytics the QR traffic now appears as its own utm_content row, so you can see that 1,840 attendees checked in via the scan rather than the text link — a figure that would otherwise have been buried inside direct traffic.

Example 2 — Mobile-only offer for a desktop audience. Your app-exclusive discount cannot be redeemed in a browser. Rather than asking desktop readers to find their phone and type a URL, embed a QR code pointing at the deep link, wrapped in an anchor so mobile readers can simply tap it. One asset covers both segments.

Example 3 — Printable warranty card. An order confirmation includes a print-at-home warranty card. Because it will be printed at roughly 3 cm, you download the SVG, raise error correction to Q so a smudge or fold does not kill the scan, and keep the quiet zone at 4 modules so the code survives being cropped near the page edge.

Example 4 — Fifty store locations at once. A retail chain wants a per-branch review link in a regional email. Paste all 50 URLs into Batch mode with the store name as the label, download each PNG, and drop them into a personalised template keyed on branch — a job that would otherwise mean fifty trips through a generator.

Benefits

  • Bridge the desktop-to-mobile gap: Recover the readers who open on a laptop but need to act on a phone, instead of losing them at the handoff.
  • Attribute scans properly: UTM-tagged codes stop QR traffic from being misfiled as direct, so the channel finally shows its real contribution.
  • Render correctly in every client: Anchor fallbacks, explicit dimensions, alt text, and an Outlook table variant remove the guesswork from cross-client testing.
  • No dependency on a redirect service: Codes encode your URL directly. There is no third-party shortener that can rate-limit you, start charging, or go dark and brick codes already in the wild.
  • Print-safe from the same tool: Vector SVG output plus adjustable error correction means one asset works on screen and on paper.
  • Fast at volume: Batch mode turns a fifty-code chore into one paste.
  • Completely private and free: Client-side encoding, no sign-up, no watermark, no expiry, no usage cap.

Frequently Asked Questions

Can you embed a QR code inside an email?
Yes, but not every method works everywhere. The most reliable approach is to upload the QR code image to your own server or CDN and reference it with a normal <img src="https://..."> tag — this renders in every major email client including Gmail, Outlook, Apple Mail, and Yahoo. Base64 data URI embedding works in Apple Mail and some desktop clients, but Gmail and Outlook strip or block data URIs, so treat it as a convenience for testing rather than a production method. This tool gives you both snippets so you can pick per campaign.
Why would I put a QR code in an email at all?
Because the person reading the email is often not the person who will act on it. A QR code lets a desktop reader move the action to their phone — scanning a ticket, opening a mobile-only checkout, adding an event to a phone calendar, joining a WhatsApp group, or downloading an app. It is also the standard bridge for print-and-carry use cases: boarding passes, event check-in, restaurant menus, loyalty cards, and warranty registration.
How do I track QR code scans from an email campaign?
Encode a URL that already carries UTM parameters. Use the built-in UTM builder to set utm_source, utm_medium, utm_campaign, and a distinct utm_content value such as qr-code so scans separate cleanly from ordinary link clicks in Google Analytics or your ESP reporting. Because a scan almost always happens on a different device than the email open, treating the QR traffic as its own utm_content or utm_medium is the only way to attribute it honestly.
What size should a QR code be in an email?
For on-screen scanning from a laptop or tablet, 150 to 200 pixels wide is comfortable. Export at 2x the display size (300 to 400 px) and set the HTML width attribute to the smaller value so the code stays crisp on retina and high-DPI screens. If the email may be printed, aim for a printed size of at least 2 x 2 cm and export at 600 px or larger, or use the SVG download, which scales without any loss.
Which error correction level should I choose?
Level L stores the most data in the smallest grid and is fine for clean on-screen display. Level M is the sensible default and what most generators use. Level Q and H add redundancy so the code still scans when part of it is dirty, faded, printed small, or partially covered by a logo — pick those for print, packaging, or any code you plan to overlay artwork on. Higher correction means a denser grid for the same content, so keep URLs short.
Why does my QR code fail to scan?
The four usual causes are: insufficient quiet zone (the code needs an empty margin of about four modules on all sides — never crop it flush), inverted or low-contrast colours (dark modules must be genuinely darker than the background; light-on-dark breaks many scanners), the image being scaled down by the email client until modules blur, and a very long URL forcing a dense grid. Shorten the link, keep the margin, keep it dark-on-light, and set explicit width and height attributes on the img tag.
Should I always wrap the QR code in a link?
Yes. A meaningful share of readers open on the same phone they would otherwise scan with, and they cannot scan their own screen. Wrapping the image in an anchor pointing at the same destination gives them a one-tap path, and the alt text gives a third fallback for anyone with images disabled. The email HTML this tool generates includes the anchor wrap and descriptive alt text by default.
Can I generate many QR codes at once?
Yes. Switch to Batch mode and paste one URL per line, optionally followed by a pipe and a label. Every row is rendered as its own QR code with an individual PNG download, so you can produce codes for a set of stores, event sessions, sales reps, or personalised landing pages in a single pass.
Is my data sent anywhere?
No. The QR encoder runs entirely in your browser in JavaScript — the content you type, the URLs you paste, and the generated images never leave your device. There is no server round trip, no account, no logging, and no expiring codes. Nothing you generate here can break later because a third-party redirect service went offline.