~/TechPurAILearn · Build · Grow
Start Learning
~/tools/qr-code-generator
Generators

QR Code Generator

QR code type
Website URL
Size
Foreground / background
Center logo (optional)
Error correction
Good contrast — likely to scan

SVG export is the code pattern only — a center logo or frame needs PNG.

A QR code is a two-dimensional barcode that packs data — a URL, a Wi-Fi password, an email, a contact card — into a pattern of black and white squares that a camera reads in a fraction of a second. This tool builds one directly in your browser: pick what you're encoding, fill in a few fields, and a scannable code appears instantly. Colors, a center logo, and SVG export are all built in and free — no account, no watermark, and nothing you type or upload ever leaves your device.

Pick a type instead of hand-formatting text

Most QR tools make you type a raw, correctly-formatted string yourself — WIFI:T:WPA;S:...;P:...;; for a network, a vCard block for a contact — and a single misplaced character silently breaks the result. This tool builds that string for you from plain fields instead:

  • Website / URL — the most common use; any phone camera recognizes it and offers to open the link directly.
  • Plain text — any sentence, note, or code, with no special formatting.
  • Email — a recipient and optional subject line that opens a pre-addressed message.
  • Phone call — a number that prompts a call when scanned.
  • SMS — a number plus an optional pre-filled message.
  • WhatsApp — opens a chat with a number pre-filled, using WhatsApp's own wa.me link format.
  • Wi-Fi — network name, password, and encryption type, formatted so a phone can offer to join the network directly, including hidden networks.
  • Contact (vCard) — name, organization, phone, and email, saved straight to the scanner's contacts app.

Switching types swaps the form instantly; the underlying encoded payload is assembled correctly every time, so there's no formatting syntax to get wrong.

The default black-on-white works everywhere, but a code that matches the rest of a flyer, product label, or page reads as more intentional. Foreground and background colors are adjustable directly, and a logo — your own image, uploaded locally — can sit centered on top of the code with a small white backing plate so it doesn't blur into the surrounding pattern.

Error correction and a center logo are directly connected: covering roughly the middle fifth of the code with a logo is, from a scanner's point of view, exactly the kind of localized damage error-correction redundancy exists to tolerate. The tool automatically raises error correction to High the moment a logo is added, and will warn if the combination of logo, color contrast, and payload length pushes the code past what's reliably scannable — in which case shortening the content or shrinking the logo is the fix.

How a QR code actually stores data

Unlike a traditional barcode, which is a single line of varying-width stripes that can only hold a short numeric or alphanumeric string, a QR code is genuinely two-dimensional — it uses both height and width to pack in far more information. The pattern breaks down into a few functionally distinct regions: three large squares in three of the four corners (the "finder patterns") that let a scanner instantly recognize the image as a QR code and figure out its orientation regardless of the angle it's photographed from; smaller alignment patterns that correct for lens distortion; a timing pattern of alternating black and white modules that lets the scanner calibrate exactly where each data cell starts and ends; and then the actual data region, which is where your encoded content lives, spread across a grid using one of several data-encoding modes depending on what kind of characters you're storing (numeric-only, alphanumeric, byte/binary, or Kanji).

That data region also carries deliberate redundancy, generated using Reed-Solomon error correction — the same family of error-correcting code used in CDs, DVDs, and satellite communication. This is precisely what the error-correction level setting controls, and it's the single most important tradeoff in generating a usable code: more redundancy means the code can be damaged, obscured, or partially covered by a logo and still scan successfully, at the cost of leaving less room in a given code size for your actual content.

Choosing a size and error-correction level that actually work

The right settings depend entirely on where the code is going to be scanned, not on some universal default. A QR code printed large on a poster or a storefront window, viewed from several feet away by a phone camera in decent lighting, can comfortably use a lower error-correction level — Low or Medium — since nothing is likely to obscure it and a lower level packs the same data into a visually simpler, easier-to-scan pattern. A QR code destined for a business card, a product label, or anywhere it carries a center logo, on the other hand, benefits from High error correction specifically because that's exactly the kind of localized damage the redundancy exists to tolerate — which is why the tool switches to High automatically once a logo is attached.

Size matters just as much as error-correction level, and the two interact. A QR code with a lot of data encoded at a high error-correction level produces a denser grid — more individual squares packed into the same physical area — and a denser grid needs to be printed or displayed larger, or scanned from closer up, for a camera to resolve each square distinctly. If you've ever seen a QR code that phones struggle to scan, it's very often this: too much data, too much error correction, printed too small, so the individual modules blur together under a typical phone camera's resolution and focus distance. As a rule of thumb, keep the encoded content short — a compact URL rather than a long one wherever you have the choice — and match error correction to the actual risk of the code getting damaged or obscured, rather than defaulting to the highest setting out of caution.

Static versus dynamic QR codes

It's worth understanding this distinction even though this tool only makes the first kind. A static QR code, like the ones generated here, encodes its final destination directly — the URL or text is baked into the code itself, permanently, the moment it's generated. A dynamic QR code instead encodes a short URL controlled by a third-party service, which then redirects to your real destination; the appeal is that you can change where it redirects to later without reprinting the code, and the service can show you scan analytics. The tradeoff is a genuine one: a dynamic code depends on that third-party service staying online indefinitely — if the company shuts down or the subscription lapses, every printed code pointing at it breaks permanently, all at once, with no way to fix the already-printed materials. A static code has no such dependency; once generated, it works for as long as the destination URL itself stays valid, with nothing else that can go wrong in between. For anything printed in bulk or meant to last (packaging, signage, a book), that permanence is usually worth more than the ability to redirect it later.

Common QR code mistakes worth avoiding

The most frequent failure isn't a technical one — it's encoding a URL that's needlessly long, then wondering why the resulting code looks dense and scans unreliably from a normal distance. Shortening the destination URL before encoding it, or linking to a clean, short path rather than one full of tracking parameters, produces a visibly simpler and more reliably scannable code for free. A close second is insufficient quiet zone — the plain white margin QR codes need around their edge for a scanner to distinguish where the code starts. Cropping a QR code too tightly, or placing it directly against a busy background with no white border, is a common reason an otherwise correctly generated code fails to scan even though it looks fine to a human eye. This tool renders a code with a sensible built-in margin by default specifically to avoid that problem, but it's worth keeping in mind if you're placing the exported image into a larger design. A third, newer mistake is picking foreground/background colors too close in contrast to each other — a scanner needs clear separation between the "dark" and "light" modules, so very light foreground colors or very dark backgrounds can make an otherwise correct code unreliable.

Test before you print

Always scan a QR code yourself, on an actual phone camera, at the size and distance it will realistically be viewed from, before committing it to print in any quantity. A code that looks perfectly readable at full size on a laptop screen can behave very differently once shrunk onto a flyer or business card, and that's doubly true once a custom color scheme or a logo is added — testing at the real intended scale is the only reliable way to catch a scanning problem before it's expensive to fix.

Frequently asked questions

Is a QR code generated here any different from one made by a paid service?

No — a QR code is a fully open, standardized format (ISO/IEC 18004), so a code generated by this free tool scans exactly the same as one from a paid service, as long as both encode the same data at a comparable error-correction level. Paid QR tools are usually selling something other than the code itself: analytics on how many times it's scanned, a dynamic redirect you can repoint later without reprinting the code, or design templates. If you just need a working QR code for a URL, a Wi-Fi network, or a contact card, there's no functional difference — and this tool includes the logo, color, and SVG export options several competitors put behind an account or a paid plan.

Can I add my own logo to the QR code for free?

Yes. Upload any image and it's centered on the code with a small white backing so it stays legible against the pattern around it — no account, watermark, or payment required. Adding a logo automatically bumps the error-correction level to High if it isn't already, because covering part of the code with a logo is exactly the kind of localized damage that higher redundancy exists to tolerate. If the logo makes the result too dense to scan reliably, try a shorter payload (a short URL instead of a long one) or a smaller logo.

What does the error-correction level actually change?

It trades data capacity for damage tolerance. QR codes carry built-in redundancy so they still scan even if part of the code is smudged, torn, or has a logo placed over the middle of it. Low (~7% of the code can be destroyed and it still reads), Medium (~15%), Quartile (~25%), and High (~30%) are the four standard levels defined by the QR spec. Higher tolerance means a denser, more complex-looking code for the same data, because more of its capacity goes to redundancy instead of your actual content.

Why did generation fail with a message about the content being too long?

QR codes have a hard capacity ceiling that depends on both the amount of data and the error-correction level chosen — the higher the error correction, the less room is left for your actual content at a given code size. If you're right at the edge, switching to a lower error-correction level (Low or Medium), or dropping a center logo, usually gives enough extra headroom to fit it. For genuinely long content, a QR code becomes visually dense and harder for cheaper scanners to read reliably regardless — shortening the text, or encoding a short link that redirects to the long content, works better in practice.

Should I download PNG or SVG?

PNG is a fixed-resolution image — it's the right choice for a screen, a slide, or anywhere the code stays roughly the size it was generated at, and it's the only format that carries a center logo in this tool. SVG is vector, so it scales to any size — a wall banner or a large storefront decal — without going blurry or pixelated, but the SVG export here is the plain code pattern without the logo overlay, since compositing a raster logo cleanly into a scalable vector file isn't something that can be done losslessly. If you need both a logo and a large print size, generate the PNG at the biggest size offered and have your printer scale it from there.

Does anything about what I enter get sent to a server?

No. The QR code, the colors, and the logo overlay are all drawn directly in your browser using a JavaScript encoding library — nothing you type or upload is transmitted anywhere, logged, or stored. This matters more than it might seem: some online QR generators route your URL through their own redirect service by default, meaning every scan of the resulting code — location, device, timestamp — gets logged by that third party, not by you. A code generated here just encodes exactly what you entered, with no intermediary and no tracking layer.