oktools

QR Code Generator

Create QR codes for links, plain text, Wi-Fi logins, contact cards, calendar events, emails, phone numbers, text messages and map locations, then download them as PNG or SVG. The code is generated in your browser — nothing you enter is sent anywhere.

Content

Opens the link in the browser.
https:// is added if you leave it out.

QR code

Nothing to encode yet

Fill in the form, or press the lightbulb for an example.

Appearance

#000000
#ffffff

A QR code only ever stores text. What makes a phone offer to join a Wi-Fi network or save a contact is that text following a known format — WIFI:, mailto:, tel:, SMSTO:, geo:, a vCard or an iCalendar event — which this tool writes for you and shows under Encoded content.

The encoder picks the most compact mode on its own: numeric for digits only, alphanumeric for uppercase letters, digits and $%*+-./: and spaces, and UTF-8 bytes for everything else. It then uses the smallest of the 40 QR versions the content fits in, and the mask pattern that is easiest for scanners to read.

Frequently asked questions

How do I make a QR code for my Wi-Fi network?

Choose Wi-Fi, type the network name exactly as it appears on your devices, pick the security type and enter the password. The code holds them in the WIFI: format that the camera apps on iPhone and Android both read, so a guest scans it and taps Join instead of typing a long password. Tick Hidden network if the router does not broadcast its name.

Do these QR codes expire?

No. The content is written into the pattern itself, so there is no server behind the code that could go offline, start charging or redirect it elsewhere. A static code like this works for as long as the thing it points to exists. The flip side is that it cannot be edited after printing — changing the content means printing a new code.

Which error correction level should I choose?

Medium suits most screens and print. Error correction adds redundant data so a code still scans when part of it is scratched, dirty or covered: Low restores about 7% of the symbol, Medium 15%, Quartile 25% and High 30%. Higher levels make the code denser, so use High for a code that will be printed small, placed outdoors or covered by a logo, and Low when you are trying to fit as much data as possible.

How much data can a QR code hold?

At most 7,089 digits, 4,296 uppercase letters and symbols, or 2,953 bytes of anything else, and only at the Low error correction level — High holds a little under half of that. In practice a code stays easy to scan well below those limits: a short URL produces a small, open pattern, while a full contact card with an address is noticeably denser. The details panel shows the version and how much of its capacity the content uses.

Should I download PNG or SVG?

SVG for print. It is vector, so it stays perfectly sharp at any size, from a business card to a poster, and design tools such as Figma, Illustrator and Inkscape open it directly. PNG is the safe choice for documents, slides, websites and messaging apps; pick a size at least as large as the code will be displayed so it is never scaled up and blurred.

Why will my QR code not scan?

Usually contrast or margin. Scanners look for dark modules on a light background with an empty border around the code — the quiet zone, four modules wide by the standard. Light-on-dark codes, low-contrast colour pairs and codes cropped right to their edge all fail on some phones. Very dense codes are the other cause: shorten the content or lower the error correction to get a smaller version, and print it larger.

Is the content I enter sent anywhere?

No. The QR code is generated by JavaScript running in your browser, so the Wi-Fi password, contact details or anything else you type never leave your device and are not logged or attached to an analytics event. You can confirm it by opening the network tab and watching it stay empty while the code updates.