QRCoder 1.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package QRCoder --version 1.6.0
                    
NuGet\Install-Package QRCoder -Version 1.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QRCoder" Version="1.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QRCoder" Version="1.6.0" />
                    
Directory.Packages.props
<PackageReference Include="QRCoder" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QRCoder --version 1.6.0
                    
#r "nuget: QRCoder, 1.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QRCoder@1.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QRCoder&version=1.6.0
                    
Install as a Cake Addin
#tool nuget:?package=QRCoder&version=1.6.0
                    
Install as a Cake Tool

About

QRCoder is a simple library, written in C#.NET, which enables you to create QR codes. It hasn't any dependencies to external libraries(*), is available as package on NuGet and supports .NET Framework, .NET Core, .NET Standard and .NET. A full list of supported target frameworks can be found here.


Documentation

👉 Your first place to go should be our wiki. Here you can find a detailed documentation of the QRCoder and its functions.

Release Notes

The release notes for the current and all past releases can be read here: 📄 Release Notes

Usage / Quick start

You only need a couple lines of code, to generate your first QR code.

using (QRCodeGenerator qrGenerator = new QRCodeGenerator())
using (QRCodeData qrCodeData = qrGenerator.CreateQrCode("The text which should be encoded.", QRCodeGenerator.ECCLevel.Q))
using (PngByteQRCode qrCode = new PngByteQRCode(qrCodeData))
{
    byte[] qrCodeImage = qrCode.GetGraphic(20);
}

There are a plenty of other options. So feel free to read more on that in our wiki: Wiki: How to use QRCoder

Help & Issues

If you think you have found a bug or have new ideas or feature requests, then feel free to open a new issue: https://github.com/codebude/QRCoder/issues

In case you have a question about using the library (and couldn't find an answer in our wiki), feel free to open a new question/discussion: https://github.com/codebude/QRCoder/discussions

QRCoder is a project by Raffael Herrmann and was first released in 10/2013. It's licensed under the MIT license.


(*) Depending on the targeted framework the .NET libraries System.Drawing.Common and System.Text.Encoding.CodePages will used as package dependencies.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (530)

Showing the top 5 NuGet packages that depend on QRCoder:

Package Downloads
GoogleAuthenticator

Google Authenticator Two-Factor Authentication Library (Not officially affiliated with Google.)

2AxisTechnology.Core.CL

Plz don't install.

CxCore

Package Description

QRCoder.Xaml

QRCoder.Xaml is the XamlQRCode-extension for the popular QRCoder .NET library.

TwoFactorAuth.Net.QRCoder

QR code provider for TwoFactorAuth.Net using the excellent QRCoder library (https://github.com/codebude/QRCoder/)

GitHub repositories (101)

Showing the top 20 popular GitHub repositories that depend on QRCoder:

Repository Stars
2dust/v2rayN
A GUI client for Windows, Linux and macOS, support Xray and sing-box and others
nilaoda/BBDown
Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
TechnitiumSoftware/DnsServer
Technitium DNS Server
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。全面拥抱AI。敏感肌也能用。
Richasy/Bili.Uwp
适用于新系统UI的哔哩
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
proxysu/ProxySU
Xray,V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具,windows下用(一键科学上网)
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
kwsch/PKHeX
Pokémon Save File Editor
stratumauth/app
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
SteamRE/DepotDownloader
Steam depot downloader utilizing the SteamKit2 library.
SteamRE/SteamKit
SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.
shrimqy/Sefirah
Phone Link / KDE Connect alternative
Uotan-Dev/UotanToolboxNT
现代化 Android & OpenHarmony 工具箱 | A Modern Toolbox for Android & OpenHarmony Devices
Coolapk-UWP/Coolapk-UWP
一个基于 UWP 平台的第三方酷安客户端
Nethereum/Nethereum
Ethereum .Net cross platform integration library
jayfunc/BetterLyrics
An elegant and deeply customizable lyrics visualizer & versatile music player, built with WinUI3/Win2D | 一款优雅且高度自定义的歌词可视化与全能音乐播放应用,基于 WinUI3/Win2D 构建
Nexus-Mods/NexusMods.App
Home of the development of the Nexus Mods App
s1t5/mail-archiver
Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard.
FufuLauncher/FufuLauncher
A third-party launcher for Genshin Impact that supports game injection, automatic check-in, and some useful small features.
Version Downloads Last Updated
1.8.0 2,525,716 4/4/2026
1.7.0 4,681,978 10/9/2025
1.6.0 14,504,543 6/30/2024
1.5.1 1,836,100 4/27/2024
1.5.0 39,200 4/26/2024
1.4.3 24,870,792 12/12/2021
1.4.2 2,432,251 11/23/2021
1.4.1 8,337,221 11/17/2020
1.3.9 4,810,306 4/8/2020
1.3.7 35,066 4/7/2020
1.3.6 3,546,912 6/25/2019
1.3.5 3,173,984 11/23/2018
1.3.4 192,715 11/17/2018
1.3.3 987,854 4/22/2018
1.3.2 844,881 10/21/2017
1.3.1 39,974 10/3/2017
1.3.0 158,410 9/23/2017
1.2.9 218,667 6/15/2017
1.2.8 52,827 5/18/2017
1.2.7 45,636 4/30/2017
Loading failed