Free ToolsOnline Toolkit
All ToolsBlogDeveloperCalculatorsDocumentsAboutFAQContact
Home
Tools
QR Code Generator

Free QR Code Generator — Online QR Code Maker & Creator Tool

Use our free QR code generator to create custom QR codes for URLs, text, and more. This QR code maker online tool lets you download QR codes as PNG or SVG.

Tips:

  • Supports URLs, text, phone numbers, and emails
  • QR codes can be scanned by any smartphone camera
  • Download and use the QR code immediately

About QR Code Generator

QR Code Generator creates scannable codes from URLs, text, and contact details. Marketers, event organizers, and business owners use this to link print materials to websites, share WiFi, and distribute contact info. Instant QR codes ready to print or share online.

How to use this tool

  1. Type or paste the text, URL, or contact information you want to encode into the input field.
  2. Click "Generate QR Code" to create a scannable QR code image from your input.
  3. The generated QR code appears as a PNG image that you can preview on screen.
  4. Click "Download" to save the QR code as a PNG file to your device.
  5. Use the QR code on print materials, websites, or share it digitally for quick scanning.

Example

Input

https://example.com

Output

QR code generated for URL: https://example.com

Tool guide

QR code error correction and version selection

QR codes have four error correction levels: L (7% recovery), M (15%), Q (25%), and H (30%). Higher levels allow the code to be scanned even when partially damaged or obscured, but they increase the QR version (size). For printed materials like business cards or product labels, use level H or Q — the code can survive scratches, folds, or partial遮挡. For digital use (screens), level M is usually sufficient and produces a denser code.

The QR version (1-40) determines the grid size, from 21x21 to 177x177 modules. Higher versions can encode more data but require higher print resolution. Our tool automatically selects the minimum version needed for your input, balancing scannability against data capacity. If you are encoding a URL longer than ~400 characters (e.g., UTM-tagged links), the version jumps significantly.

QR code design and branding

QR codes do not have to be black-and-white squares. You can customize the foreground color, background color, and even embed a logo in the center (our tool supports center image placement). The key constraint: maintain sufficient contrast — the dark modules must be noticeably darker than the light modules. A contrast ratio of at least 3:1 is recommended. Avoid using the logo area for critical encoding; error correction level H reserves 30% for recovery, which the logo occupies.

For marketing materials, consider using a "QR code with frame" — surrounding the code with a call-to-action label (e.g., "Scan to visit our menu"). Our tool can add a configurable caption frame. The frame should be outside the quiet zone and should not overlap the code itself.

How to use the QR Code Generator

Step 1: Enter the content you want to encode — a URL, plain text, email address, phone number, or WiFi network details. The QR code updates as you type.

Step 2: Choose the error correction level. Level M (15% recovery) is sufficient for digital use. Level H (30% recovery) is recommended for printed materials that may be damaged or partially obscured.

Step 3: Customize the QR code appearance if desired — adjust foreground and background colors, add a center logo, or add a caption frame with a call-to-action label.

Step 4: Preview the generated QR code to ensure it scans correctly. Test by scanning with your phone camera before printing or sharing.

Step 5: Download the QR code in your preferred format. PNG is best for general use and social media. SVG is ideal for print materials that need to scale without losing quality.

Step 6: Print or share the QR code. Ensure a quiet zone (white space) of at least 4 modules surrounds the code for reliable scanning.

Common mistakes and how to fix them

Error: QR code too small to scan. The minimum recommended print size is 2cm x 2cm (approximately 0.8 inches). Codes smaller than this may not scan reliably, especially on low-resolution screens or printed materials.

Error: Insufficient contrast between foreground and background. The dark modules must be noticeably darker than the light modules. A contrast ratio of at least 3:1 is recommended. Avoid light gray on white or similar low-contrast combinations.

Error: Center logo too large. When adding a logo to the center of a QR code, the logo must not exceed the error correction capacity. At level H, you can use a larger logo (up to 30% of the code area). At level M, keep the logo small.

Error: URL is too long. URLs longer than approximately 400 characters produce very dense QR codes that are harder to scan. Use a URL shortener for long links, or use level H error correction for better readability.

Error: Placing QR code on busy backgrounds. QR codes on patterned or photographic backgrounds reduce scan reliability. Always place QR codes on solid, contrasting backgrounds.

Tips and best practices

Use error correction level H for printed materials like business cards, flyers, and product labels where the code might get scratched or folded. The 30% recovery capacity ensures the code remains scannable even with damage.

Always add a quiet zone of at least 4 modules of white space around the QR code. This is required by the QR code specification and ensures scanners can detect the code boundaries.

Test your QR code at the actual print size before running a large print job. A code that scans perfectly on screen at 500px may fail when printed at 1cm.

For marketing materials, add a text call-to-action above or below the QR code (like "Scan to visit our menu") to increase scan rates. The caption should be outside the quiet zone.

Use SVG format for print materials that may be scaled to different sizes. SVG maintains sharp edges at any resolution, while PNG may become pixelated when enlarged.

Frequently asked questions

What is the maximum data I can encode in a QR code?

QR codes support up to 7089 numeric digits, 4296 alphanumeric characters, or 2953 bytes of binary data (version 40, low error correction). For URLs, practical limits are 200-400 characters before the code becomes very dense.

Can I scan a QR code from a screenshot?

Yes, most smartphone cameras can scan QR codes from screenshots, as long as the code is sharp and fills at least 25% of the image width. Avoid scaling down too much.

What is the difference between QR codes and barcodes?

Barcodes store data in one dimension (horizontal lines) and hold approximately 20-25 characters. QR codes store data in two dimensions and hold much more data (up to approximately 3KB). QR codes also support error correction and can be scanned from any orientation.

Can I change the color of a QR code?

Yes, you can customize foreground and background colors. The key constraint is maintaining sufficient contrast — dark modules must be noticeably darker than light modules for reliable scanning.

What is error correction in QR codes?

Error correction allows QR codes to be read even when partially damaged or obscured. Level L recovers 7%, M recovers 15%, Q recovers 25%, and H recovers 30% of the data. Higher levels produce denser codes.

How do I add a logo to a QR code?

Use the center image feature in the tool. The logo replaces some QR modules, which the error correction recovers. Keep the logo small (under 30% of the code area at level H) for reliable scanning.

Should I use PNG or SVG for my QR code?

PNG is best for digital use (social media, websites, email). SVG is ideal for print materials because it scales to any size without losing quality. Use SVG for business cards, flyers, and signage.

Can a QR code contain a WiFi password?

Yes, QR codes can encode WiFi credentials in the format: WIFI:T:WPA;S:networkname;P:password;;. Scan the code with your phone camera to connect to the network automatically.

Why won't my QR code scan?

Common reasons include: insufficient contrast, code too small, code damaged or obscured, no quiet zone around the code, or poor lighting when scanning. Increase the error correction level and ensure adequate size and contrast.

Are QR codes free to use?

Yes, the QR code standard is an open specification with no licensing fees. You can generate and use QR codes freely for any purpose, personal or commercial.

Related Tools

URL Encoder/Decoder

Use our URL encode online tool to instantly encode special characters for safe URLs and query parameters. This free URL encoding tool also decodes percent-encoded strings.

Password Generator

Use our password generator online to create strong, random, secure passwords instantly. This free random password generator lets you customize length and character types.

JSON to CSV

Convert JSON array data to CSV format instantly. Paste your JSON array and get comma-separated output ready for Excel, Google Sheets, or any spreadsheet app.

Related Reading

  • QR Codes in Modern Marketing

Free Tools

Online toolkit

A premium collection of browser-first utilities for developers, creators, and teams who want fast, private workflows without signup.

Built by Zohaib Hassan — trusted web tools designed for speed, precision, and privacy.

Explore

  • All Tools
  • Blog
  • Developer Tools
  • Document Tools
  • Calculators

Resources

  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • FAQ
  • Contact

Company

  • About
  • Sitemap
  • Request a tool

© 2026 Free Online Tools. All rights reserved.

Crafted for developers, students, and teams who value private browser-first utilities.