QR Code Generator - Create Free QR Codes for URLs & Text

Turn any URL or text into a crisp QR code with selectable error correction, preview it instantly, and download it as a PNG — all generated locally in your browser.

Paste your content, pick an error correction level and a download size, then click the generate button to preview the code as a sharp vector image.

QR Code Generator - Create Free QR Codes for URLs & Text
Turn any URL or text into a crisp QR code with selectable error correction, preview it instantly, and download it as a PNG — all generated locally in your browser.

About the QR code generator

A QR code (Quick Response code) is a two-dimensional barcode that stores text — most often a URL — as a grid of dark and light squares called modules. Any modern phone camera decodes one in a fraction of a second, which is why QR codes have become the standard bridge between the physical and digital worlds: menus, posters, packaging, business cards, event tickets, Wi-Fi onboarding, and payment flows all lean on them. This QR code generator encodes your content according to the ISO/IEC 18004 standard entirely inside your browser. The text you type is never uploaded, logged, or stored on a server, so it is safe to encode private links, internal URLs, or personal contact details. The size of the module grid grows with the amount of data. The standard defines forty capacity steps, from a 21 × 21 grid for a short code up to 177 × 177 for the largest, and the generator reports which one your content produced along with the exact grid dimensions. A plain web address usually fits in one of the smallest grids, while a long paragraph of text pushes the code into denser territory — denser codes still scan, but they need to be printed larger and demand a steadier camera. Every QR code embeds Reed-Solomon error correction, which lets a scanner reconstruct the message even when part of the symbol is dirty, scratched, or covered. You choose how much redundancy to include. Level L tolerates roughly 7% damage and keeps the code as compact as possible; M, the everyday default, tolerates about 15%; Q about 25%; and H about 30%, which is the level to pick for codes printed small, laminated, exposed to weather, or overlaid with a logo. Higher levels trade capacity for resilience: the same text at level H needs a noticeably larger grid than at level L. The preview is rendered as a true vector image built directly from the encoded matrix — black squares on a white background with the quiet zone (the mandatory four-module white border) included — so it stays perfectly sharp at any zoom. When you are happy with it, the download button produces a PNG at your chosen pixel size, ready for print or screen. One practical limitation to keep in mind: a QR code stores at most a few kilobytes, so it is meant for links and short payloads, not documents. For anything substantial, encode a short URL that points to the content instead — shorter input always yields a cleaner, easier-to-scan code.

QR code examples

How the amount of content and the error correction level shape the resulting code.

Content and settingsResulting gridNotes
https://example.com at level M21 × 21 modules (the smallest capacity step)Short URLs fit the minimum grid — they print small and scan effortlessly.
A 120-character message at level M29 × 29 modulesMore characters push the code to a higher capacity step with a denser grid.
The same 120-character message at level H37 × 37 modulesRaising redundancy from 15% to 30% recovery costs extra modules for the same text.
WIFI:T:WPA;S:MyNetwork;P:secret123;; at level QA scannable Wi-Fi join codePhones recognise the WIFI: format and offer to join the network directly.

How to create a QR code

  1. Paste or type your content — a URL, plain text, or a structured payload such as a Wi-Fi string.
  2. Pick an error correction level: M suits most uses; choose H for codes that may get dirty, damaged, or printed very small.
  3. Choose the pixel size you want for the downloadable PNG.
  4. Click the generate button to preview the code, then scan-test it with your phone.
  5. Click the download button to save the PNG for print or web use.

QR code generator FAQ

Is the content I encode sent to a server?
No. Encoding happens entirely in your browser using a JavaScript implementation of the QR standard. The text never leaves your device, so private links and credentials are safe to encode.
Which error correction level should I choose?
M (about 15% recovery) is the best default. Use L to keep dense content as compact as possible in clean conditions, and Q or H when the print may be scratched, dirty, small, or partially covered by a logo.
How much data fits in a QR code?
At the largest capacity step a code holds up to 4,296 alphanumeric or 2,953 arbitrary characters at level L, and less at higher correction levels. In practice, keep content short — long payloads produce dense grids that are hard to scan from a distance.
Do QR codes expire or stop working?
The code itself never expires — it is just a static encoding of your text. A code pointing at a URL only stops being useful if the destination page goes offline. There is no tracking or redirect service in between here, so nothing can be turned off later.
What is the white border around the code for?
That is the quiet zone, a mandatory margin of at least four modules on every side. Scanners use it to find the symbol's boundary, so never crop it away or place the code flush against other artwork.
Can I print the downloaded PNG at large sizes?
Yes — pick the 1024-pixel option for posters and signage. Because every module is an exact square of pixels, the PNG upscales cleanly, and the on-screen preview is vector-based so you can zoom without blur.