QR Code Generator

Enter text or a URL to generate a QR code. Customize size, colors, and error correction level.

Last reviewed: April 2026

New to this tool? Click here for instructions

Input
Preview
QR code will appear here
Enter text or a URL and click "Generate QR Code".

How to Use the QR Code Generator

To use the QR Code Generator, follow these steps:

1. Enter the text or URL you want to encode in the input field.

2. Select the error correction level (L, M, Q, H) based on your needs.

3. Customize the appearance by adjusting the size, foreground color, and background color.

4. Click the 'Generate QR Code' button to create the QR code.

5. Download the QR code as a PNG or SVG file by clicking the respective buttons.

When to Use the QR Code Generator

Use the QR Code Generator when you need to quickly and easily create QR codes for various purposes such as website links, Wi-Fi credentials, contact cards, event tickets, restaurant menus, payment links, app downloads, and authentication.

How It Works

The QR Code Generator works by taking the input text or URL and encoding it into a two-dimensional barcode using the selected error correction level. The generator then allows you to customize the appearance of the QR code before downloading it as a PNG or SVG file.

Tips, Edge Cases, or Limitations

Keep it short: Shorter data means a smaller, more scannable QR code.

Test before printing: Always scan the generated code with your phone before distributing.

Maintain contrast: Dark foreground on light background works best for scanners.

Add a quiet zone: Leave white space around the QR code for reliable scanning.

Use SVG for print: SVG scales to any size without losing quality.

Frequently Asked Questions

A QR (Quick Response) code is a two-dimensional barcode that can store and transmit information such as URLs, text, and contact details.
Error correction in QR codes allows the code to be read even if part of it is damaged or obscured. There are four levels: L (Low), M (Medium), Q (Quartile), and H (High).
No, your data is not sent to any server. The QR code generator runs entirely in your browser, ensuring your data remains private and secure.
The maximum amount of data a QR code can hold depends on the version and error correction level. For example, a QR code with version 40 and error correction level H can hold up to 4,296 characters.
Download PNG for raster images that scale well but may lose quality when resized. Download SVG for vector images that scale without losing quality.

Quick reference

QR Code Generator Quick Reference
Parameter Description Value Range Example
Version QR code size and data capacity 1-40 Version 1 (smallest), Version 40 (largest)
Error Correction Level of damage resistance L/M/Q/H Level M (medium error correction)
Data Type Content to encode Text, URL, Contact Info Text: "https://example.com"
Encoding Character set standard UTF-8, ASCII, Shift_JIS UTF-8 (supports international characters)
Size (px) Pixel dimensions 100x100 - 3000x3000 300x300 (standard square size)
Color Scheme Foreground/background colors Black/White, Custom Black module on white background

Example walk-through

Worked example: step-by-step

Step 1. Navigate to the QR Code Generator webpage and locate the input field labeled "Enter text or URL".

Step 2. Paste the following sample input into the field:

https://example.com

Step 3. Click the "Generate QR Code" button to process the input and create the barcode.

Step 4. The webpage displays the generated QR code as an image, which can be downloaded or shared directly.

Step 5. Use the "Download" button to save the QR code as a PNG file to your device.

Expected output: A downloadable PNG file named "qrcode.png" containing the QR code for https://example.com