# nayuki/QR-Code-generator

High-quality QR Code generator library in Java, TypeScript/JavaScript, Python, Rust, C++, C.

Repository: https://github.com/nayuki/QR-Code-generator
Canonical: https://ross.abutalabs.com/products/qr-code-generator
Homepage: https://www.nayuki.io/page/qr-code-generator-library
Language: Java
License Family: other
Topics: qr-code, qr-generator, c-plus-plus, java, python, javascript, qr, library, c, rust, typescript
Last push: 2026-08-24T16:10:39+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 40, longevity 100
- inputs: {"age_days": 3793, "days_push": 9, "days_rel": 660, "gap_med": 0, "n_releases_24m": 2}
- flags: no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6728, forks 1283 (observed 2026-08-28T04:09:48.119771+00:00)

## What it is
A high-quality QR Code generator library implemented independently from the ISO/IEC 18004 (QR Code Model 2) specification, available in Java, TypeScript/JavaScript, Python, Rust, C++, and C. Each port is roughly 1000 lines of code with no dependencies beyond the standard library, supporting all 40 QR versions and all 4 error correction levels.

## Use cases
- generate QR codes in Java
- create QR code images in Python
- generate QR codes in C++ without dependencies
- embed QR code generation in a Rust no_std/embedded project
- render QR codes as SVG or bitmap in JavaScript
- generate QR codes with custom error correction levels and mask patterns

## When to choose
- you need a small, dependency-free, well-documented QR generator in one of the six supported languages
- you need full control over QR parameters like version range, error correction, mask, colors, and border
- correctness to the ISO QR Code Model 2 standard matters
- you target embedded or heap-constrained environments (Rust no-heap or C ports)

## When to avoid
- you need to decode/read QR codes rather than generate them
- you need other barcode symbologies like Code 128, Data Matrix, or Aztec
- you need a license with explicit grant text - the repo metadata shows no license file, though the project states MIT

## Facets
- artifact type: library
- maturity: stable
- function: parser, image-processing, developer-tools
- domain: developer-tools, web-development, cross-platform
- platform: jvm, python, rust, cpp, c, cross-platform
- tags: qr-code, qr-generator, barcode, no-dependencies, mit-license, multi-language, javascript, typescript

## Member repositories
- nayuki/QR-Code-generator (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.119771+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:42:53.253859+00:00, confidence not recorded.
  - homepage: https://www.nayuki.io/page/qr-code-generator-library (fetched 2026-08-29T08:38:50.882326+00:00, sha a56f315a0d12)
  - site_page: https://www.nayuki.io/page/about (fetched 2026-08-29T08:38:50.885849+00:00, sha 1f9718a2a0c4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
