QR Code

QR Code Generator

Generate QR codes from text or URLs, customize the color and size, and download a high-quality PNG — all client-side.

Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.

#000000
#ffffff

Enter content and click Generate.

How to use this QR code generator

  • Enter the content — a URL, some text, or contact details.
  • Adjust the colours and the output size for where it will be used.
  • Download the result as a PNG.
  • Everything is generated in your browser; nothing is uploaded.

What can you put in a QR code?

A QR code is just text. What makes it useful is that scanners recognise a few standard formats and act on them.

Content typeFormat the scanner expectsExample
URLA full address including https://https://nulltools.dev
Plain textAnything at allMeeting at 10:00
Wi-FiWIFI:T:WPA;S:name;P:password;;WIFI:T:WPA;S:HomeNet;P:hunter2;;
Contact cardvCard fields between BEGIN:VCARD and END:VCARDBEGIN:VCARD ... END:VCARD
EmailMAILTO: followed by the addressMAILTO:[email protected]
PhoneTEL: followed by the numberTEL:+15551234567

URL or plain text?

For a link, encode the full URL including https:// so that scanning apps offer to open it instead of showing it as plain text. For Wi-Fi credentials or contact cards, the exact text format matters: scanners recognise standard prefixes such as WIFI: and BEGIN:VCARD and interpret what follows accordingly.

Shorter content produces a less dense code that is easier to scan from a distance. Very long URLs need a larger print size and a steadier camera.

Things that ruin a printed QR code

  • No quiet zone — the code needs a margin of clear background around it.
  • Low contrast — dark foreground on a light background works; inverted colours often do not.
  • Printing too small — below roughly 2 cm the modules become hard for phone cameras to resolve.
  • Placing it on a curved, glossy or moving surface.

Always scan it before you print

A screenshot on a screen is forgiving; print, glare and distance are not. Scan your own code with two or three different phone apps at the intended final size before sending anything to a printer. A code that fails on product packaging or at an event is an expensive mistake that takes seconds to catch.

Frequently asked questions

What can I encode in a QR code?

You can encode text, URLs, contact information, Wi-Fi credentials and more. Most common use case is sharing a URL.

Is there a size limit for QR codes?

QR codes can hold up to about 3 KB of data, but shorter content scans faster and more reliably.

Can I customize the QR code?

Yes. You can change the foreground and background colors and the output size, then download the result as a PNG.

Does a QR code expire?

No. A QR code is just an encoded string, so the image works forever. Links that expire are a property of the URL inside it, not the code.

Why is my QR code so dense?

Density comes from the amount of data, not the image size. A long URL means more modules; shortening the link or printing larger both help.

Should I test it before printing?

Always. Scan your own code with two or three different phone apps at the real final size — a failure on packaging is expensive to discover later.

More QR Code tools