How to Create a QR Code

What QR codes are, how error correction works, and how to make QR codes for text, URLs, Wi-Fi, and contacts in the browser.

9 min read Updated Jul 2026

Quick Answer

A QR code is a square barcode that a phone camera can read to open a link, join a Wi-Fi network, or save a contact. This qr generator handles qr code generation in your browser. Choose what the code should contain, text, a URL, an email, a phone number, Wi-Fi credentials, or a contact card, fill in the fields, and the code appears as you type. As a qr maker it covers a url qr code, a wifi qr code, or a vcard qr code from one form. Use the PNG export for screens or an SVG for print. Everything, including any passwords you enter, stays on your device.

Open The QR Code Generator →

Why It Matters

A QR code turns a physical thing into a tappable link. A poster becomes a web page, a table tent becomes a menu, a business card becomes a saved contact, and a sticker on the wall becomes guest Wi-Fi access. It bridges the gap between the real world and a screen without anyone typing a long address or password by hand.

That convenience is why QR codes are everywhere now. They are free to generate, work with any modern phone camera, and need no app. The catch is that the content of many QR codes is sensitive, a Wi-Fi password, a personal phone number, so where you generate them matters. A tool that builds the code locally, without sending your data anywhere, keeps that information private.

How It Works

You choose a content type and fill in its fields. Behind the scenes, the tool turns your input into a single string in the format phones expect. A Wi-Fi code, for example, becomes a compact join string that lists the network name, password, and security type; a contact becomes a contact-card string; an email becomes a mailto link. That string is then encoded into the grid of black and white squares that make up the QR code.

The encoding is done by a compact, well-tested library that runs entirely in your browser. It works out the smallest code that fits your data at the error correction level you chose, then produces the pattern. The tool draws that pattern onto a canvas, always dark squares on a white background so it scans in any theme, and can also render it as a vector SVG.

Nothing leaves your device at any point. The content you type, the generated pattern, and the downloaded files are all produced locally. That is important when a code carries a Wi-Fi password or someone's contact details.

Examples

The content types cover the most common needs:

  • URL: a url qr code encodes a web address so the scan offers to open it. Great for posters and packaging.
  • Wi-Fi: to make a wifi qr code, enter the network name and password, and the scan offers to join. What a wifi qr code contains is the SSID, the password, and the security type, packed into one join string. Ideal for guest access.
  • Contact card: a vcard qr code holds a name, phone, and email as a vcard, and the scan offers to save a contact. Useful on business cards.
  • Email: enter an address and the scan opens a pre-addressed email.
  • Phone: enter a number and the scan offers to dial it.
  • Text: encode any short text, such as a code, a note, or a serial number.

For each, keep the content as short as it can be. A short URL or a brief Wi-Fi password produces an open, easy-to-scan pattern; a very long value makes the code dense and fussy to read.

Use Cases

QR codes fit anywhere a physical surface should lead somewhere digital:

  • Linking a flyer, poster, or product label to a web page.
  • Sharing guest Wi-Fi with a code on the fridge or by the door.
  • Putting contact details on a business card or email signature.
  • Adding a menu, form, or review link to a table tent or receipt.
  • Handing out an event link or ticket page at a booth.
  • Encoding a serial number or asset tag for quick lookup.

In each case, test the printed code with a phone before you produce it in quantity, so you catch any size or contrast problems early.

Advantages

The big advantages are convenience and reach. A QR code removes typing, which removes errors and friction, and it works on essentially every modern phone with no app. The multiple content types mean one tool covers links, Wi-Fi, contacts, and more, each formatted so the phone does the right thing.

Generating locally adds privacy and control. Many online QR tools route your data through their servers or wrap your link in a tracking redirect. Here, the code encodes exactly what you enter, nothing is uploaded, and the SVG download gives you a crisp, print-ready file with no watermark.

Limitations

Static vs dynamic qr code is the key limitation to understand. A QR code from this tool is static: once you print it, the data is fixed, so you cannot change where it points without generating and printing a new one. A dynamic code, by contrast, encodes a redirect URL you control so the destination can change later. To get that behavior, encode a URL you control that redirects, and update the redirect rather than the code.

Codes also have practical limits on data. The more you encode, the denser the pattern, and past a point it becomes hard to scan, especially when printed small. Keep content short. And a QR code is only as reliable as its presentation: too small, low contrast, or missing its white border, and scanners will struggle no matter how well it was generated.

Privacy

Everything happens on your device. The content you enter, including Wi-Fi passwords and contact details, is never uploaded, logged, or stored on a server. The code is drawn and the downloads are built entirely in your browser. You can open your browser's developer tools, watch the network tab, and generate a code to confirm that nothing goes out.

The tool remembers only your option choices, such as the content type and error correction level, in local storage so the form looks familiar next time. It does not save the content you typed or the generated image. Clearing your site data removes the preference.

Common Mistakes

  • Encoding too much data. Long content makes a dense code. Keep URLs and text short so the pattern stays scannable.
  • Printing it too small. Give the code enough physical size for the scan distance, and test with a phone before a print run.
  • Removing the quiet zone. Scanners need the white margin around the code. Do not crop it or crowd it with other elements.
  • Using low error correction on rough surfaces. Raise the level for codes that may be scuffed, curved, or printed small.

Frequently Asked Questions

Short answers to the questions people ask most often, from how to make a Wi-Fi code to why a code will not scan, are collected on the tool page itself.

Read The QR Code Generator FAQ →