QR Code Generator: Turn Text and Links Into QR Codes

Turn a URL, plain text, Wi-Fi details or a vCard into a QR code that downloads as a PNG. It is built in your browser, with print-size and testing advice below.

The output will appear here.
Advertisement icyabmod — 7 sections × 10 designs and 10 color palettes: design your site yourself, preview ready in 48 hours

How QR Code Generator: Turn Text and Links Into QR Codes works

Turn a URL, plain text, Wi-Fi details or a vCard into a QR code that downloads as a PNG. It is built in your browser, with print-size and testing advice below.

Input Text / URL / Contact
Output Downloadable QR code
Works done 5,158

How to use it

This QR code generator turns a link, a piece of text or contact details into a square pattern that any phone camera can read. The code is drawn in your browser, so what you type never reaches our server, and it downloads as a PNG at least 320 pixels wide. It uses error correction level M, which keeps the code readable even when part of it is scuffed or dirty.

Using the QR code generator

  1. Type or paste the content into the text box: a URL, a short message or one of the special formats below.
  2. Press Run tool to draw the code; Ctrl + Enter (Cmd + Enter on macOS) does the same.
  3. Scan the preview with your phone to confirm it opens the right thing.
  4. Click Download QR to save the PNG file.
  5. Before printing in quantity, print one copy at the final size and test it with a couple of different phones.

What you can put inside a QR code

A QR code only stores text; the phone decides what to do with it based on prefixes it recognizes. Because this tool encodes any UTF-8 text exactly as typed, you can trigger those behaviors yourself.

  • Website: https://example.com/menu opens in the browser. Always include the https:// part so phones treat it as a link.
  • Wi-Fi login: WIFI:T:WPA;S:CafeGuest;P:coffee2024;; lets visitors join a network without typing. Use T:nopass for an open network, and put a backslash before any semicolon, colon or backslash inside the name or password.
  • Contact card: a vCard block that starts with BEGIN:VCARD and ends with END:VCARD offers to save the contact.
  • Email: mailto:hello@example.com?subject=Order opens a new message with the subject filled in.
  • Phone call or text message: tel:+12025550123 prepares a call, and SMSTO:+12025550123:Hi drafts a text.
  • Map location: geo:51.5007,-0.1246 opens a map at those coordinates.
  • Plain text: anything else is simply shown on screen, which suits serial numbers, short notes or treasure-hunt clues.

Everything inside a code is readable by anyone who scans it, and that includes a Wi-Fi password.

Error correction, capacity and density

QR codes carry Reed-Solomon redundancy, extra data that lets a reader rebuild the content when part of the pattern is missing. The standard defines four levels.

LevelRecoverable damage (approx.)Good for
L7%Clean screens, very long content
M15%General print and screen use (used by this tool)
Q25%Labels in dirty or industrial settings
H30%Codes with a logo on top or heavy wear

Higher levels add more redundancy, which means more modules for the same content and a denser pattern. Size is measured in versions: version 1 is a 21 × 21 grid, and each step adds four modules per side, up to 177 × 177 at version 40. The generator automatically picks the smallest version that fits. At level M a code holds at most 2,331 bytes; accented letters and non-Latin scripts take two or more bytes each in UTF-8, so the character limit is lower for them. Shorter content means bigger modules, and bigger modules scan faster, from further away and in poor light. That is the main reason to shorten long tracking URLs before encoding them. The tool has no color or logo options: it draws black modules on white, the combination every reader handles best.

Print size and the quiet zone

The downloaded PNG includes a white margin four modules wide around the pattern. This quiet zone tells the scanner where the code begins, so do not crop it off or let text and images touch the code.

  • Minimum size: for business cards, labels and anything scanned up close, keep the code at least 2 cm (about 0.8 inch) wide, and larger if the content is long.
  • Distance rule: a common guideline is that scanning distance should be no more than about ten times the width of the code, so a poster read from 2 metres needs a code roughly 20 cm wide.
  • Scaling up: each module is a whole number of pixels, so edges are crisp. At 300 DPI a 320-pixel code prints about 2.7 cm wide; for larger prints, enlarge it by whole multiples with nearest-neighbour scaling in your design software rather than smooth resampling.
  • Contrast: dark modules on a light background scan most reliably. Inverted codes, light on dark, are not recognized by every reader.

Static codes and how to keep them editable

Codes made here are static: the content is written into the pattern itself, nothing depends on an outside service, and they never expire. The trade-off is that a printed code cannot be changed. For menus, campaigns or event pages that may move, encode a stable address on your own domain and redirect it on your server to whatever page is current. You can confirm the redirect works with the redirect checker and read about choosing between 301 and 302 redirects. To see how many people scan a code, add campaign parameters such as ?utm_source=poster to the URL and follow them in your own analytics.

Testing checklist and privacy

  • Scan with at least two different phones, using both the built-in camera and a dedicated reader app.
  • Test a paper proof at the real size and distance; a code that scans on a monitor can fail when printed small.
  • Check that the destination page works well on a phone and loads over https.
  • Try glossy, curved or transparent surfaces in advance, since reflections and bends break scans.

To check what an existing QR image contains, use the QR code reader. The generator itself runs in your browser: links, Wi-Fi passwords and contact details are not sent to our server or to any third-party QR service, and the page only increments an anonymous usage counter. The QR code usage guide has more ideas for real-world placement.

Advertisement icyabmod — admin panel included: update your website yourself, no code

Frequently asked questions

No. The code is static: its content is written into the pattern and depends on no service, so it cannot stop working because a subscription ends. The only risk is the content itself. If the page you link to is removed, the code still scans but leads nowhere. Pointing the code at a permanent address you control and redirecting from there is the safest approach.

This tool has no color or logo options; it produces black modules on a white background. Placing a logo on top later in a design program covers part of the pattern and uses up error correction capacity. At level M that margin is only about 15 percent, so a logo noticeably raises the risk of failed scans. If you recolour the code, keep dark modules on a light background and test after every change.

At level M, which this tool uses, the maximum is 2,331 bytes. Plain English letters and digits take one byte each, while accented and non-Latin characters take two or more in UTF-8, so the limit in characters varies. Codes close to the limit become very dense and hard to scan, though. In practice, keep links short and send people to a web page instead of encoding long text.

Type this pattern into the text box: WIFI:T:WPA;S:network name;P:password;; T is the encryption type; for an open network write nopass instead of WPA. If the name or password contains a semicolon, colon or backslash, put a backslash in front of it. Phones that scan the code will offer to join the network. Remember that anyone who can see the code can also read the password.

Not through this tool. It uses no tracking service, so scans are not counted, which also means the people scanning are not tracked. To measure, add parameters such as utm_source and utm_campaign to the link you encode and watch the visits in your own web analytics. Using different parameters for different posters shows which location gets the most scans.