
The C# QR Code Library
IronQR is the leading C# QR Code library for reading and creating QR codes in .NET. Its user friendly API allows developers to add Barcode functionality to .NET projects in minutes.
QR Quickstart
using IronQr;
using IronSoftware.Drawing;
// Create a QR Code object
QrCode myQr = QrWriter.Write("hello world");
// Save QR Code as a Bitmap
AnyBitmap qrImage = myQr.Save();
// Save QR Code Bitmap as File
qrImage.SaveAs("qr.png");

A C# QR Code Library that prioritizes accuracy, ease of use, and speed.
When you need to read, write, and style QR codes, fast.
Cross Platform Support
Designed for C#, F#, & VB.NET running on .NET 8, 7, 6, Core, Standard, or Framework
For 1D Barcode & PDF support, try our IronBarcode Library

Key Compatibility
.NET Versions
- C#, VB.NET, F#
- .NET Core (8, 7, 6, 5, and 3.1+)
- .NET Standard (2.0+)
- .NET Framework (4.6.2+)
.NET Project Types
- Web (Blazor & WebForms)
- Mobile (Xamarin & MAUI)
- Desktop (WPF & MAUI)
- Console (App & Library)
App Environments
- Windows (10+, Server 2016+)
- Linux (Ubuntu, Debian, CentOS, etc.)
- Apple macOS (10+)
- Apple iOS (12+)
- Android API 21+ (v5 “Lollipop”)
- Docker (Windows, Linux, Azure)
- Azure (VPS, WebApp, Function)
- AWS (EC2, Lambda)
IDEs
- Microsoft Visual Studio
- JetBrains ReSharper & Rider
Reading QR Codes
Read Many Image Formats
- Images (jpg, png, svg, bmp)
- Multipage Images (gif, tif, tiff)
- System.Drawing Bitmaps
- IronDrawing Images (AnyBitmap)
Machine Learning Model
- Custom QR Detection Model
- Slim Mode option (non-ML)
Output Data Formats
- Value (String)
- Link or Website (Uri)
- Coordinates (PointF)
Supports:
- Async
- Multithreading
Writing QR Codes
Write to Document Types
- Image (jpg, png, gif, tiff, bmp)
- System.Drawing Images
- IronDrawing Images (AnyBitmap)
- Stream (MemoryStream, byte[])
- PDF (Stamp on Existing PDF)
Encoding Data in QR Code
- Text, URLs, bytes, and numbers
Styling QR Codes
- Resizing
- Margins & Borders
- Recoloring
- Add Logos to QR Codes
Checking Fault Tolerance
- Choose QR Version
- Null Checking
- Checksums
- Format Awareness
- Detailed Error Messages
- Custom QR Error Correction