← Back to TechDriven Tools Hire developers →

Published · Updated · 6 min read · By TechDriven Tools editorial team · Developer Tools

How to Create a QR Code for a URL or Text

Create a static URL or text QR code as a 512-pixel PNG. Check the 2,000-byte limit, white border, decoded content and printed scan before sharing.

How to Create a QR Code for a URL or Text

To turn a link into a QR code, open the QR Code Generator, paste the complete URL into Text or URL, and select Create download. The current tool downloads qr-code.png, a 512 × 512 pixel image, and shows a preview. You can also encode plain text. No account or file upload is needed for generation.

A successful download is only the first check. Scan the saved image, confirm the exact content, and test a sample at its intended printed size before distributing copies.

Create and check a URL QR code

  1. Choose a stable destination. Copy the full HTTPS address of a page you control or trust. Open that address separately to check it before encoding it. Remove accidental spaces or line breaks; this tool encodes the supplied string rather than validating that a website exists.
  2. Paste it into Text or URL. For a practice run, enter https://example.com/menu. This is sample data, not a real menu service. Replace it with your own checked address for actual use.
  3. Select Create download. Save the PNG. The preview appears after generation; it does not update just because you type. Use the downloaded image when designing a poster, rather than a screenshot of the smaller preview.
  4. Scan and compare. Use a phone camera or QR reader on another screen or a printed sample. Check the decoded address before opening it, then confirm the intended page loads. A scanner reading the string does not prove that the destination works.

Examples you can reproduce

InputUTF-8 sizeWhat to check after scanning
https://example.com/menu24 bytesThe reader returns that exact URL. A URL is encoded as data; the generator does not create the destination page.
Collect at Desk B17 bytesThe reader displays the instruction as text. It should not be treated as a web address.

Both inputs generate a 512 × 512 PNG with the current implementation. Whether a reader automatically opens a URL, shows a confirmation, or displays text depends on that reader. Do not put confidential information into a QR code: anyone who receives the image may be able to read its contents.

What this generator supports

You may enter a correctly formatted specialized payload, but this form does not build Wi-Fi credentials, contact cards, or payment instructions for you. A plain sentence containing a Wi-Fi password is not automatically a working Wi-Fi connection code.

Keep the white border when printing

The generator includes a quiet zone around the symbol. DENSO WAVE specifies a clear margin at least four modules wide on every side; a module is one small square in the QR grid, not one image pixel. Keep that white space when placing the PNG in a design. Do not crop the border or place text, an image, or a decorative frame inside it. See DENSO WAVE's quiet-zone guidance.

There is no single physical print size that works for every code and camera. Longer data needs more small squares, and a 512-pixel image does not specify how large those squares will be on paper. Use a short stable URL, preserve the square shape and black-on-white contrast, and avoid enlarging the PNG until its edges blur. DENSO WAVE explains how module size, printer resolution and scanner capability affect reading.

Print one sample on the actual material, at the intended size. Try it from the expected viewing distance and under the expected lighting, using the phones or readers your audience will use. These practical checks remain necessary even if an image decoder reads the original PNG successfully.

If the QR code does not work

Does the code expire, and is the content uploaded?

The static image has no expiry timer added by this generator. Its destination can still disappear, change, require a login, or stop being safe. Owning a stable destination URL is more useful for long-lived printouts than relying on a temporary link.

The image is drawn in your browser from the entered text; the tool does not send that text to a QR-generation API. The page and its libraries may need network access to load. Scanning and opening a web link is a separate action that connects to the destination website. The QR library documentation describes the underlying encoding and image options; this tool exposes only the simpler controls described above.

Return to the QR Code Generator to make your checked PNG, or browse the developer tools for other tasks.

Ready to try it? Use QR Code Generator free, right in your browser — no upload, no account.

Available tools in this category: Password Generator · UUID Generator · Base64 Encoder/Decoder · Hash Generator · JSON Formatter

← More guides · All tools