QR Code Generator

Create scannable QR codes for links, text, Wi-Fi, contacts and events - free and instant.

QR Code Generator Online

Generate a QR code for a URL, text, Wi-Fi network, contact card, email, phone, SMS, location or event.
Download it as a high-resolution PNG or a scalable SVG. No sign-up or login is required.


Load an example

Content

Type or paste the content you want the QR code to contain.

Style and settings

Higher levels survive more damage and cover a larger area.

The white border around the code. 4 is the standard.

Corner markers stay square for reliable scanning.

Preview

Ready to generate a QR code.


What is a QR Code?

A QR code (short for Quick Response code) is a two-dimensional barcode that stores data in a square grid of black and white modules. A traditional barcode is read along a single line, but a QR code is read both horizontally and vertically, so it can hold far more information - a web address, a paragraph of text, a Wi-Fi password or a complete contact card. Any modern smartphone camera can read one without a dedicated app: when the camera spots the three large square markers in the corners, it straightens the image, decodes the pattern and shows the result.

The format was invented in 1994 by the Japanese company Denso Wave to track car parts faster on the production line. It was not kept proprietary for general use, which is why QR codes spread so widely - first through manufacturing and logistics, then into advertising, payments, ticketing and everyday tasks. The name "Quick Response" comes from how quickly the code can be captured and understood.

Not every QR code behaves the same way. A static QR code - the kind this tool creates - stores the real data inside the pattern itself. It never expires, needs no server, and cannot be edited after printing. A dynamic QR code stores a short link that redirects to a destination held on a server instead. That makes the destination editable and lets the creator count scans, but the code stops working if the service behind it is shut down. For anything that must keep working for years, static is the safer choice.

QR codes are now everywhere: menus, product labels, business cards, event tickets, museum plaques and payment terminals. Because they connect the physical and digital worlds in a single scan, they are one of the simplest ways to move someone from a poster, package or screen to a website, an app action or a saved contact.


Overview

The QR Code Generator is a free online tool that turns a link, a piece of text or a set of contact details into a scannable QR code. Instead of typing a long URL or a Wi-Fi password, a user simply points their camera at the code and the action happens instantly.

This tool covers the situations people actually need a QR code for: opening a website, showing plain text, starting an email, dialing a phone number, pre-filling an SMS, joining a Wi-Fi network, saving a contact card (vCard), opening a GPS location, or adding a calendar event. Choose a type, fill in the fields, and the preview updates live. You can then adjust the size, error-correction level, quiet-zone border, colours and module shape, and export the result as a high-resolution PNG or a vector SVG.

It was built with plain JavaScript on top of the open-source, MIT-licensed qrcode-generator encoding library. The code modules are rendered to an HTML5 canvas for the PNG export and written out as scalable SVG for the vector export, using UTF-8 so accented letters and emoji are encoded correctly. Everything runs locally in your browser - there is no server round-trip, no account, and no text is ever stored or uploaded.


What This Tool Does

Every part of the generator is designed to get you a working, printable code with as little friction as possible:

Nine content types: website URL, plain text, email, phone, SMS, Wi-Fi, contact (vCard), GPS location and calendar event. Each type builds the correct payload format for you, so you do not need to learn QR syntax.

Live preview: the code redraws as you type or change a setting, so you can see the result before you commit to it.

Editable payload: the exact data being encoded is shown in a text box, so you can verify it (or paste your own advanced payload) before exporting.

Image size: pick anything from 128 to 2048 pixels, or use the 256 / 512 / 1024 quick presets.

Error correction: choose Low, Medium, Quartile or High. A higher level keeps the code readable when part of it is damaged, obscured or printed badly.

Quiet zone: set the white border around the code from 0 to 8 modules (4 is the standard recommended by the QR specification).

Colours and transparency: set the foreground and background colours, or tick transparent background for logos, overlays and dark designs.

Module shape: square (default and most reliable), rounded or dots. The three corner markers always stay square so scanners can lock on.

PNG and SVG export: use PNG for apps and quick sharing, or SVG for print and design work where the code must scale without blurring.

If the content is too long to fit at the selected error-correction level, the tool tells you instead of producing an unscannable image.


Content Types Explained

Website URL: Opens a web page when scanned. This is the most common use - marketing flyers, packaging, posters and social profiles all work well. If you leave off the scheme, the tool adds https:// for you.

Example: https://example.com/spring-sale opens that page in the phone's browser.

Plain text: Stores any short message with no link behind it. Handy for coupon codes, asset tags, table numbers, seat labels and instructions.

Example: Order #48213 - pick up by 6 PM is shown as text when scanned.

Email: Opens the mail app with the recipient, subject and message already filled in. Useful for customer feedback, RSVPs and support requests.

Example: scanning a code built with the recipient hello@brightpathbooks.example, subject Book club RSVP and a short body opens a ready-to-send email.

Phone number: Loads a number into the dialler so the caller only has to press call. Great for support lines, booking desks and lost-property notices.

Example: tel:+1 415 555 0132 opens the dialler with that number ready.

SMS message: Opens the messaging app with a number and a pre-written message - useful for text-to-vote, reviews and quick enquiries.

Example: a code for +1 415 555 0132 with the message Send me the 3 PM slot prepares that text for the user.

Wi-Fi network: Lets a guest join your network by scanning, with no password typing. Ideal for cafes, guest rooms, offices and events.

Example: network Harborview-Guest, security WPA and password Seaside-2026! connects a phone to that network after a confirmation tap.

Contact (vCard): Packs name, organization, job title, phone, email and website into a contact card that the phone offers to save. Perfect for business cards, email signatures and event badges.

Example: scanning a card for Maya Ortiz, Product Designer at Northwind Studio, saves her details to the address book in one step.

Location (GPS): Opens a map at fixed coordinates. Use it on invitations, delivery notes and tourist signage.

Example: the coordinates 48.8584, 2.2945 open a map pin at that spot.

Calendar event: Offers to add an event to the calendar with its title, venue and start/end time.

Example: Open Mic Night at The Copper Kettle, 17 October 2026 from 19:00 to 21:00, is added to the calendar after a tap.


Business Uses

Restaurants, cafes and bars: replace printed menus with a code on each table that opens the menu, lets guests order, or joins the guest Wi-Fi. Changing a price becomes a website edit rather than a reprint of hundreds of menus.

Business cards and networking: add a vCard code so a new contact saves your name, phone, email and website with one scan instead of typing it all in. The same code on a conference badge keeps follow-ups quick.

Product packaging and labels: put a code on a box or label to open a setup guide, warranty registration, a how-to video or a spare-parts page. For example, the code on a coffee machine label can open a 90-second cleaning tutorial.

Events, tickets and check-in: encode a ticket reference so staff can scan it at the door, and add a second code on the programme for the schedule, venue map or feedback form. A conference badge, for instance, can carry both the attendee's contact card and a link to the day's sessions.

Retail and store signage: shelf talkers and window posters can open a product page, a size guide, customer reviews or a loyalty sign-up. A shoe-shop window code, for example, can show the full colour range available online.

Real estate and hospitality: listing signs, guest folders and room cards can open a virtual tour, a check-in page, house rules or a local-area guide. A holiday-rental welcome card can link straight to check-out instructions and the host's contact details.

Marketing campaigns: posters, flyers, direct mail and packaging can send people straight to a landing page, a discount code or a social profile, with no URL to remember or mistype.

Internal operations: asset tags, equipment labels and safety boards can open maintenance logs, manuals and checklists, so staff reach the right document without hunting through a shared drive.

Whichever use you pick, the same rules apply: strong contrast, a clear quiet zone, a size that suits the viewing distance, and a test scan before any large print run.


Best Practices

Size and print: for a phone to scan comfortably, keep printed codes at least 2 x 2 cm (0.8 x 0.8 inches). Large posters can use bigger codes, but never smaller than 1 x 1 cm (0.4 inches). Print at 300 DPI or higher and always do a test scan before running a full print job.

Error correction: use Low for the most data capacity in a small space, Medium as the everyday balance, Quartile for outdoor or industrial settings, and High when the code may be partially covered, curved or printed on a rough surface. Higher levels make the pattern denser, so they need a slightly larger print or a cleaner scan.

Quiet zone: always leave a clear margin around the code - four modules is the standard. Without it, many scanners cannot find the edge of the code.

Contrast: keep a strong difference between the foreground and background. Dark modules on a light background scan best; avoid light-on-dark, low-contrast colours and busy backgrounds. The tool warns you when the contrast is too low.

Keep the data short: a shorter payload produces a simpler code that scans faster and can be printed smaller. If you need to encode a very long link, consider using a short URL first.

Stay safe: only scan codes from sources you trust, and check the destination before entering personal details. A printable QR code is fixed data - anyone who photographs it can copy it, so never put secrets such as passwords or card numbers in one.


How It Works

A QR code is a grid of black and white modules. The tool takes your text, converts it to bytes, calculates the smallest code version that can hold it, then adds error-correction data and the fixed corner markers. A mask pattern is applied so the finished grid does not contain large blank or striped areas that would confuse a scanner. The decoder in the phone camera reverses all of this to recover your original text.

The encoding is done entirely in JavaScript. For the PNG export, each dark module is drawn onto an HTML5 canvas at the size you picked, which is why a 1024-pixel download is genuinely 1024 pixels wide and not an upscaled image. For the SVG export, the same modules are emitted as vector shapes, so the file stays sharp at any size. Displaying and exporting never send your data anywhere.


Limitations

Static codes cannot be edited. The data is baked into the pattern. To change a destination you must generate a new code and replace the old image. The tool also does not provide scan tracking or analytics.

Capacity is limited. The more text you encode, the denser the code becomes, which makes it harder to scan when printed small. Very long content may not fit at the highest error-correction level.

Scanning depends on presentation. Low contrast, a missing quiet zone, a glossy surface, a curved object or a cheap printer can all cause failures even when the code itself is correct.

Transparency needs care. A transparent background exports correctly, but the code still needs a contrasting surface behind it. On a dark or patterned background it may not scan - add a solid background when in doubt.

Styling carries a small risk. Rounded and dotted modules look distinctive in the preview, but the square style is the most reliable. If a styled code will not scan, switch back to squares and raise the error-correction level.


FAQs

FAQ 1: Is the QR Code Generator free?
Answer: Yes. It is completely free, with no sign-up, no login, no watermark and no limit on how many codes you create.

FAQ 2: Do QR codes expire?
Answer: No. A static QR code like the ones this tool produces holds the data directly, so it keeps working forever. It only stops working if the destination it points to (for example a web page) is taken down.

FAQ 3: Can I edit a QR code after downloading it?
Answer: Not the image itself - the data is encoded into the pattern. To change the content, generate a new code and replace the old one in your flyer, menu or website.

FAQ 4: Which error-correction level should I choose?
Answer: Medium is a good default. Choose High when the code might get scratched, covered, curved or printed on a rough surface, or if you plan to place a logo over part of it. Higher levels survive more damage but make the pattern denser.

FAQ 5: What size should my QR code be for printing?
Answer: As a rule, print at least 2 x 2 cm (0.8 x 0.8 inches) for a phone held at normal reading distance, and never smaller than 1 x 1 cm (0.4 inches). Larger codes can be scanned from further away. Use the SVG export for print so the edges stay perfectly sharp.

FAQ 6: Can I download the code with a transparent background?
Answer: Yes. Tick the transparent background option and export a PNG or SVG. Just make sure the surface behind the code contrasts strongly with the foreground colour, or scanners may not read it.

FAQ 7: Is my data uploaded or stored?
Answer: No. The code is generated entirely in your browser. Your text, Wi-Fi password and contact details never leave your device and are not saved on any server.

FAQ 8: Why will my phone not scan the code?
Answer: The most common causes are low contrast between the colours, a missing quiet zone, a code printed too small, a glossy or curved surface, or heavy styling. Increase the contrast, set the quiet zone back to 4, use the square module shape and a higher error-correction level, then test again.


Tools Worth Trying

TextToolz

The Ultimate Text Tools

TextToolz works seamlessly to let you convert and design your text. It is fast, reliable and secure. Trusted by thousands of users.