inyourbrowser.com

QR code generator

QR code generator is a QR tool that encodes URLs, plain text, or Wi-Fi credentials into a scannable QR code. It supports adjustable size, error-correction levels, and custom foreground and background colors, and downloads a PNG or copies the code as SVG. The tool runs in your browser.

0 chars
ERROR CORRECTION
#000000
#ffffff

QR code generated locally using qrcode. All processing runs in your browser.

How to generate a QR code

  1. Type or paste the URL or text you want to encode into the input field.
  2. A QR code is generated instantly in your browser. No button click needed.
  3. Customise the size, error correction level, and colours if needed.
  4. Click "Download PNG" or "Copy SVG" to save your QR code.

Common uses

  • Creating a QR code for a website URL to add to a poster, flyer, or business card, or make a barcode for product labels
  • Encoding Wi-Fi network credentials into a QR code for easy connection, then reading it back with your webcam to test it before printing
  • Generating QR codes for contact information, event details, or payment links

Technical specification

  • Algorithm or formula: QR Code 2005 (ISO/IEC 18004) encoding with Reed-Solomon error correction. The qrcode library handles segmenting, masking selection, and module placement.
  • Browser API or library: qrcode 1.5.4, bundled with the site and loaded on first use, renders both Canvas bitmaps and SVG strings. Canvas API is used for PNG export, SVG string for clipboard copy.
  • Input limits: Up to ~3 KB of binary data depending on error correction level. Wi-Fi mode formats WIFI:T:...;S:...;P:...;;. Error correction levels L (7%), M (15%), Q (25%), H (30%).
  • Output: PNG file via canvas toBlob, or copyable SVG string. Both reflect the chosen size, foreground, and background colors.
  • Known limitations: Low-contrast color combinations may fail to scan. Logo overlay is not yet supported. Very long payloads require level L or fail.

Frequently asked questions

What data can I encode in a QR code?
Any text up to about 3 KB (around 2,953 bytes at the lowest error-correction level). Typical contents are URLs, Wi-Fi credentials, email addresses, phone numbers, or plain text. The tool has dedicated modes for URL, plain text, and Wi-Fi. All generation runs in your browser.
Is my data sent to a server?
All QR codes are generated in your browser using the qrcode library. Our servers are not involved at any point.
What is error correction level?
Error correction allows a QR code to be read even if part of it is damaged or obscured. Higher levels can recover more data loss but produce denser codes. Level L works for clean, undamaged prints.
Can I customise the colours?
Yes. The foreground and background colours can both be changed. Ensure sufficient contrast, low-contrast colour combinations are difficult for scanners to read.

Related tools

QR code scanner
Decode QR codes from uploaded images or your webcam. All decoding runs in your browser.
Barcode generator
Generate Code 128, EAN-13, and UPC-A barcodes. Download as SVG or PNG. Runs in your browser.
URL encode / decode
Percent-encode and decode URLs, or parse query strings into key-value pairs.
Password generator
Generate random, strong, or memorable passwords using your browser's crypto API.

Reviewed and tested September 30, 2026.