codebude

QRCoder: Generate QR Codes in C#

QRCoder is a pure C# library for generating standard and Micro QR codes across .NET platforms. It supports structured payloads and multiple output formats, making it useful when an application needs QR generation without an external library dependency.

View on GitHub Compare
Stars
5.2k
Forks
1.2k
Stars, last 30 days
+11
Last commit
8 days ago
Contributors
59

Our take

Activerecent releases

Health score

40/100

How it is scored
Activity
45
Community
66
Issues
21
Pull requests
27

+11 stars in the last 30 days

  • Slower to merge pull requests than 95% of the projects we track

QRCoder is an actively maintained, broadly contributed C# QR-generation library, with recent releases and no reported contributor concentration, while renderer-specific platform constraints are the main adoption caveat.

Good fit if

  • You need QR generation inside a .NET application and want built-in payload generators and several output formats.
  • You can choose a renderer appropriate to your target platform, such as PNG-byte or SVG output for cross-platform use.
  • You want an MIT-licensed library with recent releases and contributions from a broad contributor base.

Look elsewhere if

  • You need every renderer to work identically across platforms. The QRCode and ArtQRCode renderers rely on System.Drawing.Common, which is Windows-only in .NET 6 and later.
  • Your use case depends on a payload type or output format not listed by the project.
  • You need a project with measured issue closure in the recent period; the supplied health data reports no issues closed in that window.
All health signals
Last commit2026-10-13 (8 days ago)
Commits, last 90 days4
Releases, last 12 months2 (latest v1.8.1, 2026-10-13)
Contributors59 (top contributor: 57% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days4 (typically merged in 14 days)
Project age13 years

Checked on 2026-10-22 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

5,178

Forks

1,172

Change since Nov 16, 2026: 0 stars·0 forks

Overview

QRCoder is a pure C# library for generating QR codes and Micro QR codes. It gives .NET applications a way to encode text or structured data, such as WiFi credentials, contact details, URLs, and payment information, without relying on external libraries.

The project supports .NET 5+, .NET Framework 3.5+, .NET Core 1.0+, and .NET Standard 1.3+. Its renderers can produce formats including PNG, SVG, PDF, ASCII, and PostScript, though some options have platform or package requirements.

Key Features

  • Generates standard QR codes and Micro QR codes.
  • Includes more than 23 payload generators for uses such as WiFi, contacts, payments, and calendar events.
  • Renders QR data as PNG, SVG, PDF, ASCII, Base64, BMP, PostScript, and other formats.
  • Offers error-correction settings and configurable colors, logos, and styling.
  • Provides cross-platform renderers that do not require System.Drawing.Common, including PNG-byte and SVG output.
  • Exposes the QR module matrix for custom rendering or inspection.
  • Has no external library dependencies, though framework dependencies still apply.

Use Cases

  • A .NET application can create QR codes for URLs, WiFi access, or contact cards without adding a third-party rendering library.
  • A billing or payment workflow can generate codes using supported formats such as Swiss QR bills, Girocode, or other listed payment payloads.
  • A cross-platform service can return PNG bytes or SVG strings without depending on Windows-only bitmap rendering.
  • A space-constrained product can use Micro QR codes when the payload fits their lower capacity.

What you need

Detected in the repository

  • C# (main language on GitHub)
  • Automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install the NuGet package:

Install-Package QRCoder

See the README and usage wiki for examples and renderer requirements.

Considerations

  • Renderer availability varies by target framework. In particular, bitmap-based QRCode and ArtQRCode rely on System.Drawing.Common, which Microsoft no longer supports cross-platform in .NET 6 and later; the README recommends alternatives such as PNG-byte and SVG renderers.
  • Micro QR codes have substantially less capacity than standard QR codes, and the available error-correction levels depend on the version.
  • ISO-8859-2 encoding on .NET Core and .NET 5+ requires the System.Text.Encoding.CodePages package and provider registration, except where the README notes that a payload generator handles it internally.
  • The project has recent commits and releases, but the supplied health data records no issues closed in the measured recent period. This is worth weighing alongside your own review of open issues.
  • The MIT license permits broad reuse, subject to retaining its license and copyright notice.

Found this useful?

Share it with someone who would like QRCoder.

Comparisons