QR Code Generator
Encode any URL or text into a QR code. Custom colors, error correction levels, and instant PNG or SVG download, rendered entirely in your browser.
PNG + SVGCustom colorsError correctionClient-side
27 / 2,000
Size (px)256
Margin4
Error correction
Foreground
Background
Enter text to render a QR code.
How to use
- Enter text or a URL. Up to 2,000 characters.
- Tune the look. Set size, margin, error correction, and foreground / background colors.
- Download. Save as a sharp PNG or a scalable SVG.
Common use cases
- Linking from a flyer, business card, or sign to a URL
- Sharing a WiFi network or vCard with a phone scan
- Embedding an otpauth:// URI for two-factor authentication setup
- Generating event ticket or coupon codes
Frequently asked questions
- What can a QR code contain?
- Any text up to about 2,000 characters. Common payloads: URLs (https://...), plain text, vCard contact data, WiFi credentials (WIFI:T:WPA;S:network;P:password;;), email mailto: links, SMS smsto: links, geo: coordinates, and otpauth:// URIs for 2FA setup.
- What does the error correction level do?
- It adds redundancy so the code still scans even if part of it is damaged or covered. L recovers \u22487%, M \u224815%, Q \u224825%, H \u224830%. Pick H if the QR will be printed on a sign that may get scuffed or partially obscured by a logo overlay; pick L for clean digital displays.
- Should I download as PNG or SVG?
- PNG is great for embedding in slide decks, emails, and social posts where you need a fixed-size raster image. SVG scales without quality loss, so it is the right pick for printing at large sizes (posters, business cards) or for use in web pages that may display at any resolution.
- Can I customize the colors?
- Yes. Pick any foreground and background color. For best scannability, keep strong contrast between the two and prefer dark squares on a light background. Inverted (light on dark) codes can fail on some older scanners.
- Why does the QR get more dense as I add text?
- A QR code is a fixed-grid format. Longer payloads need more "modules" (squares), so the grid becomes denser at the same physical size. If the result looks too cramped, shorten the URL with a redirect, or print the code larger.
- Does generation happen in the browser?
- Yes. The QR is rendered locally with HTML5 Canvas and SVG; nothing is uploaded.
Related tools
How to use
- Enter text or a URL. Up to 2,000 characters.
- Tune the look. Set size, margin, error correction, and foreground / background colors.
- Download. Save as a sharp PNG or a scalable SVG.
Common use cases
- Linking from a flyer, business card, or sign to a URL
- Sharing a WiFi network or vCard with a phone scan
- Embedding an otpauth:// URI for two-factor authentication setup
- Generating event ticket or coupon codes
Frequently asked questions
- What can a QR code contain?
- Any text up to about 2,000 characters. Common payloads: URLs (https://...), plain text, vCard contact data, WiFi credentials (WIFI:T:WPA;S:network;P:password;;), email mailto: links, SMS smsto: links, geo: coordinates, and otpauth:// URIs for 2FA setup.
- What does the error correction level do?
- It adds redundancy so the code still scans even if part of it is damaged or covered. L recovers \u22487%, M \u224815%, Q \u224825%, H \u224830%. Pick H if the QR will be printed on a sign that may get scuffed or partially obscured by a logo overlay; pick L for clean digital displays.
- Should I download as PNG or SVG?
- PNG is great for embedding in slide decks, emails, and social posts where you need a fixed-size raster image. SVG scales without quality loss, so it is the right pick for printing at large sizes (posters, business cards) or for use in web pages that may display at any resolution.
- Can I customize the colors?
- Yes. Pick any foreground and background color. For best scannability, keep strong contrast between the two and prefer dark squares on a light background. Inverted (light on dark) codes can fail on some older scanners.
- Why does the QR get more dense as I add text?
- A QR code is a fixed-grid format. Longer payloads need more "modules" (squares), so the grid becomes denser at the same physical size. If the result looks too cramped, shorten the URL with a redirect, or print the code larger.
- Does generation happen in the browser?
- Yes. The QR is rendered locally with HTML5 Canvas and SVG; nothing is uploaded.