Text to encode

Customized styles may reduce scan reliability. Verify your QR code at real output size.

Generated QR code

Enter text to generate a QR code preview.

Basic options
Size (px)
Margin (%)
Color options

Use high luminance contrast (dark foreground, bright background) for better scan reliability.

Online QR code generator

Generate QR codes online with text input, size, margin, error correction, and custom foreground/background colors. Live preview, PNG download.

What is a QR code generator?

A QR code generator converts text into a machine-readable matrix barcode that phones and scanners can read quickly. This page lets you tune output size, quiet-zone margin, encoding options, and foreground/background colors while previewing in real time. It is useful for links, print assets, event flows, and product handoffs where fast mobile access matters.

QR code generator features

Core controls for reliable, customizable QR outputs.

  1. Text and URL encoding: Encode links, plain text, and short payloads.
  2. Size and margin control: Set output dimensions and quiet-zone spacing.
  3. Advanced options: Version mode, fixed version, error correction, and encoding mode.
  4. Color controls: Custom foreground/background colors with transparency toggles.
  5. Live preview: Regenerates automatically whenever settings change.
  6. PNG export: Download the generated QR code as a PNG image.

How to use this QR generator

Quick steps for scannable custom QR codes.

  1. Enter text to encode: Paste a URL, contact text, or other data payload.
  2. Adjust basic options: Tune size and margin for your target medium.
  3. Optional advanced tuning: Set error correction, encoding mode, and version behavior.
  4. Pick high-contrast colors: Dark modules on bright backgrounds scan best.
  5. Download PNG: Export and test scan at final display/print size.

Tips for better QR scanning

Improve readability before publishing.

  1. Use high contrast: Dark modules on light backgrounds scan more reliably.
  2. Avoid tiny outputs: Increase size for distant scans or dense payloads.
  3. Keep margin non-zero: A quiet zone helps scanners isolate the code.
  4. Test after styling: Always test on real devices at final usage size.

Great for

Common QR usage scenarios.

  1. Marketing links: Landing pages, campaign URLs, and promo tracking links.
  2. Print materials: Posters, packaging, cards, menus, and labels.
  3. Event check-ins: Tickets, registrations, and quick on-site redirects.
  4. Product onboarding: Guide users to setup docs, apps, or support pages.

Why use this tool

Fast QR generation without uploads.

  1. Private by default: Data stays on-device during generation.
  2. No account needed: Open the page, generate, and download immediately.
  3. Fine-grained controls: Balance styling with scan reliability.
  4. Cross-platform output: PNG works across web, docs, and print workflows.

Technical details

How generation is handled in-browser.

  1. Engine: QR generation uses the `qrcode` JavaScript library.
  2. Output format: Rendered as PNG data URL for instant preview and download.
  3. Version support: Auto or fixed version from 1 to 40.
  4. Error correction: L, M, Q, H levels (approx. 7%, 15%, 25%, 30%).
  5. Color rendering: Foreground/background colors including alpha transparency.

Frequently Asked Questions

Have questions? We have answers.

More tools from Image & Conversion.