csvjson

QR Code Generator

Generate QR codes for URLs, WiFi credentials, contact cards, and any text. Customize size, error correction, and colors. Download as PNG — no watermarks.

What you can encode

URL
https://example.com

The most common use. Scanning the QR code opens the URL in the device browser. Use a URL shortener if the URL is very long — shorter URLs produce less dense QR codes that scan faster.

WiFi credentials
WIFI:T:WPA;S:NetworkName;P:Password;;

Scanning connects the device to the network automatically — no typing required. Use the WiFi example button to see the exact format. T is the security type (WPA, WEP, or nopass).

vCard contact
BEGIN:VCARD\nFN:Jane Smith\nEMAIL:jane@example.com\nEND:VCARD

Scanning adds the contact directly to the device's address book. Supports name, email, phone, address, and organization fields in the vCard 3.0 format.

Plain text or SMS
SMSTO:+15551234567:Hello!

Any plain text string becomes a QR code the scanner displays as text. SMS URIs (smsto:number:message) open a pre-filled text message. Tel URIs (tel:+15551234567) prompt a call.

Error correction levels

How much of the code can be damaged and still scan correctly

L7% recovery

Clean digital displays, screens, short-range scans

M15% recovery

Printed materials, standard default for most uses

Q25% recovery

Outdoor signage, slightly textured or dirty surfaces

H30% recovery

Logo overlay in center, heavily worn physical codes

Frequently asked questions

What is error correction and which level should I use?

Error correction allows a QR code to be read even if part of it is obscured, dirty, or damaged. L (7%) is suitable for clean digital displays. M (15%) is the standard default — good for printed materials. Q (25%) or H (30%) are needed if you'll print the code on textured surfaces or plan to overlay a logo on the center. Higher error correction produces a denser, more complex code.

Why does a longer URL produce a more complex QR code?

QR codes encode the data directly in the matrix of black and white squares. More data means more squares, which means a denser code. Very long URLs (500+ characters) produce codes that are hard to scan from small prints. Use a URL shortener like bit.ly to keep the encoded string short, especially for printed materials.

Can I put a logo in the center of a QR code?

Yes, with H (30%) error correction enabled. A QR code with H error correction can tolerate up to 30% of its area being obscured — enough to overlay a square logo. Set error correction to H, download the PNG, then use an image editor to place your logo in the center. Test that the code still scans correctly after adding the logo.

What's the minimum size to print a QR code?

The minimum printable size is about 2cm × 2cm (roughly 0.8 inches square) for a standard QR code scanned at normal distance. Smaller codes are readable from very close range but may fail with some older scanners. For large-format printing (posters, banners), larger is better — there's no maximum size.

Can I use a custom foreground/background color?

Yes. Ensure sufficient contrast between foreground (dark) and background (light) colors. QR scanners work on luminance contrast — dark modules on a light background. Inverted codes (light on dark) may not scan with all readers. Avoid low-contrast combinations like dark blue on black. White foreground on dark background generally works well.