How to Generate a QR Code

Updated: April 4, 2026

QR codes are everywhere — product packaging, restaurant menus, event tickets, business cards. This guide shows you how to create a custom QR code in seconds, right in your browser.

When You Need a QR Code

How to Generate a QR Code

Step 1: Open the tool

Go to the QR Code Generator.

Step 2: Enter your content

Type or paste the text, URL, or data you want to encode. For URLs, include the full address with https:// for best compatibility with QR code scanners.

Step 3: Customize appearance

Adjust the size using the slider (100px to 1000px). You can also change the foreground and background colors to match your brand. Make sure there is enough contrast between the two colors — QR scanners need a clear dark-on-light pattern.

Step 4: Generate and download

Click "Generate QR Code" to see the preview. Then download as PNG (for digital use) or SVG (for print). You can also copy the QR code image directly to your clipboard.

Tips

FAQ

What can I encode in a QR code?

You can encode plain text, URLs, email addresses, phone numbers, Wi-Fi credentials, and more. QR codes support up to about 4,296 alphanumeric characters.

What is error correction and why does it matter?

QR codes include redundant data so they can still be scanned even if part of the code is damaged or obscured. Our tool uses Medium (M) error correction, which allows recovery of up to 15% data loss — a good balance between reliability and code density.

PNG or SVG — which format should I download?

Use PNG for social media, messaging apps, and anywhere you need a raster image. Use SVG for print materials, websites, and any context where you need infinite scalability without pixelation.

Is my data uploaded to a server?

No. QR code generation happens entirely in your browser using JavaScript. Your data never leaves your device.

Try It Now

Ready to create a QR code? Open the QR Code Generator — it works entirely in your browser with no sign-up required.