QR Code Generator

Turn any text or URL into a downloadable QR code, generated live as you type.

qr-code-generator.js

Type a URL, message, Wi-Fi detail, or any other text and a QR code appears instantly, ready to scan or download as a PNG image. QR generation happens using an open-source in-browser library, so the content you type is encoded directly into the image without ever being sent to a server.

How to use it

  1. Type or paste your text or URL into the input box.
  2. The QR code updates automatically below it.
  3. Scan it with a phone camera to test it.
  4. Click Download to save it as a PNG.

Frequently asked questions

What can I put in a QR code?

Any text works — URLs, plain messages, phone numbers, or formatted strings like Wi-Fi credentials — as long as it's not too long for a single QR code to hold.

Is there a text length limit?

Very long text can still be encoded, but the resulting QR code becomes denser and harder for some scanners to read reliably; shorter URLs work best.

Does the QR code expire?

No — it's a static image encoding your exact text, so it works for as long as the downloaded PNG file exists.