QR Code Generator

Generate a QR code for any URL or text. Download as PNG.

256
#000000
#ffffff
Enter text or URL above and click Generate

🔒 QR codes are generated in your browser. No data is sent to any server.

How to Use This QR Code Generator

  1. Enter your URL or text in the input field at the top. This can be a website link, a phone number, a Wi-Fi password, plain text, or anything you want to encode.
  2. Adjust options — set the output size, pick foreground and background colours, and choose an error correction level.
  3. Click Generate QR Code. The code appears immediately in the preview box.
  4. Click Download PNG to save the image, or Copy to Clipboard to paste it directly into a document or design tool.

Error Correction Levels Explained

QR codes have a built-in ability to recover from damage. The four levels trade off file complexity for resilience:

L — Low
Recovers up to 7% damage. Smallest code, easiest to scan. Good for clean digital use.
M — Medium (recommended)
Recovers up to 15% damage. Best balance for most use cases.
Q — Quartile
Recovers up to 25% damage. Good for printed materials that may get worn.
H — High
Recovers up to 30% damage. Ideal for product labels, packaging, or outdoor signage.

What Can You Encode in a QR Code?

A QR code can store any text — the scanner simply reads whatever is encoded. Common uses include:

  • Website URLs — the most common use. Paste a link and share it anywhere.
  • Wi-Fi credentials — format: WIFI:T:WPA;S:YourSSID;P:YourPassword;;
  • Phone numbers — format: tel:+441234567890
  • Email addresses — format: mailto:you@example.com
  • Plain text — business card details, event info, short messages.
  • UPI payment links — paste your UPI deep link and print for in-person payments.

Tips for Printing QR Codes

  • Use a minimum print size of 2 cm × 2 cm — smaller than this and most phone cameras struggle to focus.
  • Ensure high contrast between foreground and background. Dark on light always scans better than the reverse.
  • Leave a quiet zone (white margin) around the code — at least 4 modules wide. This tool includes a margin by default.
  • Download at 512px for print — scaling up a 256px file in a word processor introduces blur.
  • Always test scan before mass printing. Use two or three different phones to confirm.

Frequently Asked Questions

Do QR codes expire?

Static QR codes like the ones generated here never expire. They encode the text or URL directly in the pattern itself — there's no server or database behind them. The code will always scan correctly as long as the destination (e.g. the website) is still live.

Is my data private?

Yes. All QR code generation happens inside your browser using JavaScript. Your text or URL is never sent to our servers or any third party. You can disconnect from the internet after the page loads and the tool will still work.

Can I use a custom logo in the QR code?

This tool generates standard QR codes without logo overlays. If you need a branded QR code with a logo centred inside it, use error correction level H (which reserves extra data for recovery) and overlay the logo in a design tool like Figma or Canva after downloading the PNG.

What's the maximum amount of text I can encode?

A standard QR code can hold up to about 3,000 alphanumeric characters, but the more text you add, the denser and harder to scan the code becomes. For best results, keep URLs short (use a URL shortener if needed) and avoid encoding large blocks of plain text.

Why is my QR code not scanning?

Common causes: the code is printed too small (under 2 cm), the contrast between foreground and background is too low, or there's insufficient quiet zone around the edges. Try regenerating with High error correction, increase the size, and ensure a plain white margin around the code before printing.