QR Code Generator - Real Scannable QR Codes

Type any text or URL to generate a real, standards-compliant QR code - encoded entirely in your browser using genuine error correction math, ready to scan or download.

Generate a QR Code

READY — Generate a real QR code locally in your browser.

Choose a content type, customize error correction, and export a high-resolution QR. No QR encoding service, CDN request, account or upload is needed.

QR Code Preview

4-MODULE WHITE BORDER
QR VERSION—
PAYLOAD BYTES0
EXPORT PIXELS—

Scanability Check

LOCAL ONLY

Generate a code to see validation checks.

Local decoder check: waiting for a QR code.
Show encoded payload (may contain private details)

Scanning is not guaranteed by appearance alone. Verify the saved PNG/SVG with a different phone or QR reader before printing or sharing. Printed size, glare, damage and reader support affect results.

Privacy: Content and QR images are created on your device. The generator does not submit payloads to our server or a third-party QR API. Export and Copy happen only when you click. The surrounding site may load its usual assets or analytics.

★ ★ ★ ★ ★
No ratings yet — be the first

What Is a QR Code Generator?

A QR Code Generator converts text, a website URL, Wi-Fi connection settings, contact information, or an email link into a two-dimensional barcode that a compatible scanner can read. This tool creates genuine QR matrices in your browser with Reed–Solomon error correction and standard finder, timing, alignment and format patterns. The QR content comes from your actual input—not from a decorative image or remote QR-code API.

How to Use the QR Code Generator

  1. Select a QR content type: Text for any message, Website URL for a complete https:// link, Wi-Fi for network details, vCard for a contact, or Email for a prepared mailto: link.
  2. Fill in the fields: For Wi-Fi, enter the exact network name and correct security type. For WPA networks, supply a valid passphrase. For vCard, enter the full name and any optional contact details. Your entered fields are processed locally.
  3. Choose ECC and image size: Medium (M) is a practical starting point. Higher correction (Q/H) adds recovery codewords but lowers the amount of content that fits. Choose a larger pixel size for a dense or printed QR code.
  4. Generate and check: Choose Generate QR Code, or edit a field to update automatically. Review the generated version, payload byte count, 4-module white border and resolution warning. Where supported, the browser attempts an optional local QR-decoder round-trip.
  5. Verify and export: Open the payload preview if you need to verify the exact contents (be careful with passwords), then use Download PNG, Download SVG, or Copy Payload. Scan the exported image with another device before printing, publishing or sharing it.

How It Works

The locally bundled JavaScript QR encoder converts the payload into data codewords, adds error-correction codewords, and chooses a fitting QR version from the standard 1–40 range. Non-ASCII input is converted to UTF-8 bytes, with a UTF-8 ECI designation for compatible decoders. The output contains a QR matrix and an unbroken 4-module quiet zone. PNG export draws exact square modules onto a canvas; SVG export writes an entirely local vector graphic containing the same module pattern. No third-party QR library request is needed when this page runs.

Error-correction levels L, M, Q, and H offer increasing recovery capability, approximately 7%, 15%, 25%, and 30% of codewords respectively, but they do not guarantee recovery from arbitrary damage. The tool reports a clear error if the payload is too long for the selected correction level.

Understanding Your Results

  • QR version: A higher version means a denser, larger module grid. Version 1 uses 21 × 21 modules; each additional version adds four modules in each direction.
  • Payload bytes: The UTF-8 byte count matters more than the number of visible characters. Emoji and many non-Latin characters use multiple bytes each.
  • Export pixels / module size: The exact PNG dimensions are rounded to whole modules so edges remain crisp. A warning appears when modules become very small; use a larger target size for easier scanning.
  • Local decoder verification: A successful exact match from the optional browser decoder is useful evidence, not a promise that every phone or printed copy will scan. An unavailable or unsuccessful browser check is inconclusive.
  • Payload preview: This shows exactly what is embedded, including any Wi-Fi credentials or contact information. QR codes are not encrypted by this generator.

Browser Limitations

Modern browsers need JavaScript, TextEncoder, Canvas, and download support. PNG/SVG export and clipboard permissions can differ across browsers. Some browsers also expose a BarcodeDetector API for optional local decode checks, while others do not. A browser-generated code does not automatically connect a phone to Wi-Fi or save a contact; those actions are controlled by the scanning device and its operating system. ECI/Unicode, Wi-Fi security modes, vCard fields and mailto handling vary across QR-reading applications.

This interface limits payloads to 2,050 UTF-8 bytes to avoid heavy browser workloads. The QR format may have a different effective capacity depending on the error-correction setting and content. The site can load its usual assets or analytics, but this generator does not send your payload to any QR creation service.

Common Mistakes to Avoid

  • Too small or blurry: Keep the white border intact; do not crop the quiet zone. Print or display the exported file at a readable size and avoid rescaling with blur.
  • Wrong Wi-Fi settings: Network name, password, hidden-network setting and security mode must all be correct. A QR for an open network will not include a password; WEP is insecure and obsolete.
  • Assuming every reader supports every preset: Some phone camera apps do not automatically import vCards, open email links, or join hidden and WPA3-only Wi-Fi networks.
  • Sharing private information: Anyone who scans a QR code may read its encoded text. Wi-Fi passwords and contact details are not protected by QR error correction.
  • Skipping an independent test: Scan the actual downloaded file with a second reader, and test the printed version if it will be distributed physically.

Frequently Asked Questions

Is this a real, scannable QR code, or just an image that looks like one?

This is a real QR code with standard structure and Reed–Solomon error correction. A well-formed image is designed to be scanned by a compatible reader, but readability also depends on printing, sizing, contrast and reader support. Use an independent QR scanner to confirm the exact payload.

Is my text sent to a server to generate the QR code?

No. The QR encoder is included in this PHP page and executes locally in JavaScript. Text, Wi-Fi details and contact fields are processed in the browser rather than posted to an external QR API. As with other web pages, normal website assets or analytics can still load.

How long can my text be?

This interface accepts up to 2,050 UTF-8 bytes. Whether the content fits into a valid QR depends on error correction and encoding overhead. Higher ECC settings reduce the maximum usable payload. If generation reports an overflow, shorten the content or lower the ECC level.

Can I use the generated QR code commercially?

Yes, you can use the generated images for personal or commercial applications. Take responsibility for the rights to any content or branding you embed, and independently scan-test before printing large quantities.

How can I verify the QR code actually works?

After downloading PNG or SVG, open it on a separate screen and scan it with a phone's camera or the site's QR Code Camera Scanner. Check that the decoded link, network settings, contact fields, or message match the intended payload. Test a physical print at its final size too.

Conclusion

Use this local QR Code Generator for ordinary text and useful presets such as URLs, Wi-Fi, vCard contacts and email links. Choose the right error-correction level, export a clean PNG or scalable SVG, preserve the four-module quiet zone and independently scan-test the result before sharing it.