Skip to main contentSkip to secondary navigation
HomedevtoolsQR Code Generator

QR Code Generator — Create QR Codes from Text or URLs

Generate QR codes from any text or URL. Customize size and download as PNG images. Perfect for sharing links, WiFi credentials, or contact info.

✓ Formula verified: January 2026
💻

QR Code Generator

Results update instantly as you type

Enter Values

px

The Formula

QR Code = Error-corrected data modules + Finder patterns + Timing patterns

A QR (Quick Response) code is a two-dimensional matrix barcode invented by Denso Wave in 1994. Data is encoded in black and white square modules arranged in a grid pattern. The structure includes finder patterns (the three large squares in corners for position detection), timing patterns for module alignment, format information, and the data area with error correction codewords using Reed-Solomon codes.

Variable Definitions

Modules

QR Code Modules

The individual black and white squares that make up a QR code. Version 40 QR codes have 177 x 177 = 31,329 modules.

Finder Pattern

Position Detection Pattern

The three large square patterns in the corners of a QR code that allow scanners to detect the code orientation and position regardless of rotation.

Error Correction

Reed-Solomon Error Correction

QR codes use Reed-Solomon error correction with four levels (L, M, Q, H) allowing recovery of 7%, 15%, 25%, or 30% of the data respectively.

Version

QR Code Version

The size of the QR code matrix, from Version 1 (21 x 21 modules) to Version 40 (177 x 177 modules). Higher versions store more data.

How to Use This Calculator

  1. 1

    Enter the text, URL, or any content you want to encode in the QR code.

  2. 2

    Adjust the pixel size (100px to 500px) to control the image resolution.

  3. 3

    The QR code image is generated via the QR Server API and displayed in the panel below.

  4. 4

    Use the download button to save the QR code as a PNG image file.

Quick Reference

FromTo
Version 1 capacity25 alphanumeric / 17 bytes / 10 kanji
Version 40 capacity4,296 alphanumeric / 2,953 bytes / 1,817 kanji
Error Correction LRecovers 7% of codewords
Error Correction HRecovers 30% of codewords

Common Applications

  • Sharing website URLs and landing pages in print media, posters, and business cards.
  • Encoding WiFi credentials for quick network access without typing passwords.
  • Storing contact information (vCard format) for easy mobile phone import.
  • Providing product information, serial numbers, and authentication codes in manufacturing.
  • Contactless payment and ticketing systems in retail and transportation.

QR code anatomy: finder patterns (position detection), timing patterns, data modules, and error correction codewords

Understanding the Concept

QR (Quick Response) codes are two-dimensional barcodes that can store significantly more data than traditional one-dimensional barcodes. A QR code encodes data using black modules arranged in a square grid on a white background, which can be read by cameras and image processing algorithms. The structure includes finder patterns (three identical squares in corners) that allow omnidirectional scanning, timing patterns that define module positions, alignment patterns for larger versions, format information, version information, and the actual data regions with error correction codewords. Reed-Solomon error correction is key to QR code reliability: even if a QR code is partially damaged, dirty, or obscured, the data can still be recovered. The four error correction levels (L, M, Q, H) allow users to trade data capacity for resilience. QR codes support four data modes: numeric (0-9), alphanumeric (0-9, A-Z, and some symbols), byte/binary (ISO-8859-1), and Kanji (Shift JIS). The maximum capacity depends on both version and error correction level: a Version 40 QR code with L-level correction can store up to 4,296 alphanumeric characters or 2,953 bytes.

Frequently Asked Questions

Related Calculators

Reviews

No reviews yet. Be the first to share your experience with QR Code Generator — Create QR Codes from Text or URLs.

Write a Review

Your Rating *

0/1000

0/50

Related Calculators

Medical Disclaimer: The health and fitness calculators on this site are for informational and educational purposes only. They are not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with any questions about your health.

Financial Disclaimer: The finance calculators on this site are for informational purposes only and do not constitute financial advice. Results are estimates based on the inputs provided and may vary. Consult a qualified financial advisor before making investment or financial decisions.

© 2026 TheCalcUniverse. All results are for informational purposes only.

Fast, free, and privacy-first.