This QR code generator turns any text or URL into a scannable QR code right in your browser. The code is generated locally using a well-tested library, so nothing you type is ever sent to a server. You can download the result as an SVG file, which scales to any size without losing quality — perfect for print, business cards, posters, or digital use.
Enter your values to see the result.
https://utiliatools.com → QR code encoding the URL
A short URL produces a compact QR code with plenty of margin for error correction.
Hello, world! → QR code encoding the text
Plain text works too — scanning the code reveals the exact text you entered.
WIFI:T:WPA;S:MyNetwork;P:MyPassword;; → QR code for Wi-Fi connection
Android phones can scan this to connect to a Wi-Fi network automatically.
A QR code is a two-dimensional barcode that stores data in a grid of black squares on a white background. Unlike a traditional barcode, which encodes data in a single horizontal line of varying-width bars, a QR code uses both horizontal and vertical dimensions, allowing it to hold far more information in a compact space. A standard QR code can store several thousand characters, enough for a full URL, a contact card, a Wi-Fi password, or a short message.
QR codes were invented in 1994 by Denso Wave, a Japanese company that needed a fast way to track vehicle parts during manufacturing. The format was released as an open standard, and today QR codes are used everywhere: restaurant menus, boarding passes, product labels, payment systems, and authentication tokens. Every smartphone camera can scan one natively, which made them ubiquitous almost overnight.
When you type text or a URL into the input field, this generator encodes it into a QR code pattern using the open-source qrcode library. The encoding happens entirely in your browser — no data is sent to any server, and no server stores your input. The result is an SVG image that you can view, download, and use anywhere.
The generator uses error correction level M, which means the QR code can still be read even if up to 15% of it is damaged, dirty, or obscured. This is a practical choice: level L offers less protection but produces a simpler pattern, while level H offers more protection but produces a denser pattern that is harder to scan at small sizes. Level M strikes the right balance for most use cases.
The download format is SVG, a vector format that scales to any size without losing quality. This is important because QR codes appear at many different sizes: a small icon on a business card, a large poster on a wall, a digital display at a conference, or an inline image in an email. A raster image like PNG would become blurry or pixelated when scaled up, but an SVG remains perfectly sharp at any resolution.
SVG files are also small, editable, and web-friendly. You can open one in any browser, import it into design tools like Figma or Illustrator, change colors, add a logo in the center, or embed it directly in a webpage. If you need a raster format, you can open the SVG in any image editor and export it as PNG at the exact resolution you need.
Many free QR code generators online route your scans through their own servers before redirecting to your URL. This lets them track how many times your code was scanned, display ads before the redirect, or even change the destination after you have printed the code. If the service shuts down or starts charging, your printed QR codes stop working.
This generator does none of that. Your QR code encodes the URL directly, with no intermediate redirect. Once you have generated and downloaded the code, it works independently of this website, any server, or any third party. The code will still work in ten years, even if this website no longer exists, because the data is in the pattern itself, not behind a redirect.
Print the QR code at a sufficient size. Each module — each small square in the pattern — should be at least 0.5mm wide for reliable scanning by smartphone cameras. For a standard Version 2 QR code (25×25 modules), that means a minimum printed size of about 12.5mm square, though 25mm or larger is more comfortable.
Maintain high contrast. Black modules on a white background work best. Dark blue or dark green on white also scans reliably, but light colors, gradients, or busy backgrounds behind the code reduce scan reliability.
Leave a quiet zone. The QR code standard requires a margin of at least four modules around the pattern. This generator includes a one-module margin in the SVG, but if you embed the SVG in a design, make sure you do not crop that margin or place other elements too close.
Test before printing. Scan the code with your own phone before committing to a print run. If it scans reliably from the distance and angle your audience will use, you are good to go.
QR codes are most commonly used to encode URLs, letting someone visit a webpage by scanning a code instead of typing a long address. They are also used for Wi-Fi provisioning: a code containing the network name, password, and security type lets an Android phone connect instantly. Contact cards in vCard format let someone save your details by scanning a code. Event tickets, boarding passes, and loyalty cards all use QR codes as a compact, scannable token.
Because the format is open and universally supported, QR codes are one of the most reliable ways to bridge the physical and digital worlds. A printed code on a flyer, a product label, or a business card becomes a clickable link the moment someone points their phone at it.
No, the QR codes generated here never expire. They encode your text or URL directly into the pattern of black and white squares, with no redirect through any intermediate service. This is a significant advantage over generators that route scans through their own servers: those codes stop working if the service shuts down, starts charging, or decides to display ads before redirecting. Your code works for as long as anyone has a QR scanner, which at this point means forever.
Yes, the QR codes you generate here are yours to use however you like. There is no watermark, no attribution requirement, and no license restriction. The QR code pattern itself is a standardized format defined by ISO/IEC 18004, and no one owns the right to display it. You can use the generated SVG in printed materials, product packaging, websites, presentations, or any other context without restriction.
Several things can make a QR code difficult to scan. If the code is printed too small, the scanner camera cannot resolve the individual modules. If the code is damaged, dirty, or partially covered, the error correction may not be enough to recover the data. If the contrast is too low — dark modules on a light background work best — the scanner struggles to distinguish the pattern. This generator uses error correction level M, which can recover from up to 15% damage, and produces a high-contrast black-on-white SVG that scans reliably in most conditions.
A QR code can hold up to about 4,296 alphanumeric characters, 7,089 numeric characters, or 2,953 bytes of binary data, depending on the version and error correction level used. In practice, most QR codes encode URLs or short messages of under 200 characters, because longer content produces a denser pattern that is harder to scan. If your text exceeds the capacity, this generator will tell you so rather than producing a code that cannot be read.
No, everything happens in your browser. The QR code is generated by JavaScript running locally on your device, using the open-source qrcode library. No network request is made, no server sees your input, and no data is stored. You can verify this by disconnecting from the internet before generating a code — it will still work perfectly. This makes the generator safe for sensitive URLs, internal tools, or any content you would not want to transmit.
The download is an SVG file, which is a vector format that scales to any size without losing quality. Unlike a PNG or JPEG, an SVG remains perfectly sharp whether you display it at 50 pixels or 5 meters wide. SVG files are supported by all modern browsers, can be opened in design tools like Figma, Illustrator, and Inkscape, and can be embedded directly in HTML. If you need a raster format like PNG, you can open the SVG in any image editor and export it at the resolution you need.
Last updated on 2026-09-26 · Written by UtiliaTools