Info
| Version: | 3.2.1 |
| Author(s): | Manuel Bleichenbacher, Project Nayuki |
| Last Update: | Monday, September 7, 2026 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/manuelbl/QrCodeGenerator |
| NuGet Url: | https://www.nuget.org/packages/Net.Codecrete.QrCodeGenerator |
Install
Install-Package Net.Codecrete.QrCodeGenerator
dotnet add package Net.Codecrete.QrCodeGenerator
paket add Net.Codecrete.QrCodeGenerator
Net.Codecrete.QrCodeGenerator Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Drawing.Common(>= 4.5.1)
Tags
Core features:
- Supports encoding all 40 versions (sizes) and all 4 error correction levels, as per the QR Code Model 2 standard
- Output formats: List of rectangles, outline polygons, raw modules/pixels of the QR symbol, SVG, XAML path, PNG and BMP files.
For other raster bitmap formats, see project home page.
- Computes optimal segment modes for smallest possible QR code.
- High speed: 10x faster than most comparable libraries
- Open source code under the permissive *MIT License*
- Built for .NET Standard 2.0 and therefore runs on most modern .NET platforms (.NET Core, .NET Framework, Mono etc.).
- Example code for WinForms, WPF, ASP.NET, ImageSharp, SkiaSharp and many more
Advanced features:
- Specify minimum and maximum version number allowed
- Specify text encoding and use of ECI designators
- Kanji mode for compact encoding of Japanese text
- Create data segments manually
- Split long text into multiple linked QR codes (aka Structured Append)
- Opt-in encoding diagnostics: per-mask penalty breakdown and chosen segments.