Nayuki QR Code Generator

An open-source QR generation library with browser examples and implementations in several languages.

nayuki.io/page/qr-code-generator-library
Nayuki QR Code Generator homepage screenshot

About Nayuki QR Code Generator

The Nayuki QR Code Generator is an open-source library for generating QR codes, released under the MIT License. It prioritizes flexible options and absolute correctness, with ports for 6 programming languages (Java, TypeScript/JavaScript, Python, Rust, C++, C) that have no external dependencies and each total roughly 1000 lines of code. A live browser demo is available for the TypeScript port, and the library supports all 40 QR Code Model 2 versions and 4 error correction levels, with options for manual control of version ranges, mask patterns, and error correction levels.

Key features

  • Open-source under permissive MIT License
  • Ports for 6 languages with no external dependencies
  • Supports all 40 QR versions and 4 error correction levels
  • Live browser demo for TypeScript implementation
  • Manual control of version range, mask pattern, and error correction
  • Compact encoding for numeric and special-alphanumeric text
Best for: Developers needing a correct, dependency-free QR code generation library for multiple programming languages.
Good for
  • Generated QR codes are identical across all language implementations
  • Compact ~1000-line codebase per language with extensive documentation comments
  • Supports all 40 QR versions and 4 error correction levels per Model 2 standard
Watch out for
  • Advanced Japanese kanji encoding and mixed-segment optimization are limited to the Java port

Nayuki QR Code Generator at a glance

Type
Online tool
Pricing
Free
Open source
Yes
Last checked
Oct 9, 2026 · Online when checked
Listed
Oct 9, 2026

Nayuki QR Code Generator alternatives

Tools and sites you could use instead, ranked by how closely they match.

Popular in URL & Link Tools

Well-known listings from the same topic.

All 63

Nayuki QR Code Generator FAQ

What license is the library released under?
MIT License.
How many programming languages is the library available for?
6: Java, TypeScript/JavaScript, Python, Rust, C++, and C.
Are generated QR codes identical across different language implementations?
Yes, the algorithms are translated faithfully to produce identical results.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing