BarCode 2022.5.5918

.NET Standard 2.0 .NET Framework 4.0
Install-Package BarCode -Version 2022.5.5918
dotnet add package BarCode --version 2022.5.5918
<PackageReference Include="BarCode" Version="2022.5.5918" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BarCode --version 2022.5.5918
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BarCode, 2022.5.5918"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BarCode as a Cake Addin
#addin nuget:?package=BarCode&version=2022.5.5918

// Install BarCode as a Cake Tool
#tool nuget:?package=BarCode&version=2022.5.5918
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Passing Nuget Downloads Support

IronBarcode - The C# Barcode & QR Library

Quickstart guide:

IronBarcode allows developers to read & write Barcodes and QR Codes within .Net Applications & websites. Reading or writing barcodes only requires a single line of code with Iron Barcode.

The .Net Barcode Library reads and writes most Barcode and QR standards. These include code 39/93/128, UPC A/E, EAN 8/13, ITF, RSS 14 / Expanded, Databar, CodaBar, Aztec, Data Matrix, MaxiCode, PDF417, MSI, Plessey, USPS, and QR. The barcode result data includes type, text, binary data, page, and image file.

Barcode reading engine includes automatic image correction and barcode detection technology to take the pain out of locating and reading from imperfect scans. Multithreading, cropping, and batch scanning provides fast and accurate scanning of multi page documents.

Barcode writing API checks and verifys format, length, number, checksum to automatically avoid encoding errors. Barcode writer allows for styling, resizing, margins, borders, recoloring, and adding text annotations. Write to image, PDF or HTML file.

Key library features include:

  • Read single or multiple Barcodes and QR Codes from images or PDFs.
  • Image correction for skewing, orientation, noise, low resolution, contrast etc.
  • Create barcodes and apply to images or PDF documents.
  • Embed barcodes into html documents.
  • Style Barcodes and add annotation text.
  • QR Code Writing allows adding of logos, colors, and advanced QR alignment.

Fully Supports:

Windows, MacOS, Linux, Azure, Docker and AWS.

Licensing & Support available

For code examples, tutorials and documentation visit For support please email us at

Documentation Links


  • C#, F#, and VB.NET

  • .Net 5, Core 2x & 3x, Standard 2, and Framework 4x

  • Console, Web, & Desktop Apps

  • Windows, Linux (Debian, CentOS, Ubuntu), MacOs, Docker, and Azure

  • Microsoft Visual Studio or Jetbrains ReSharper & Rider

Barcode Formats

  • QR & 2D Matrix: QR (+ Styled QR), Aztec, Data Matrix, MaxiCode (Read Only) USPS IM Barcode (Read Only)

  • Modern Linear Barcodes: Code 39, Code 128, PDF417, Rss14 (Read Only), RSS Expanded (Read Only)

  • Older Linear Barcodes: UPC-A, UPC-E, EAN-8, EAN-13, Codabar, ITF, MSI, Plessey (Write Only)

Reading Barcode

  • Read Many Image Formats: Images (jpg, png, gif, tiff, svg, bmp), Multipage Gif & Tiff, System.Drawing Objects, Streams, PDF

  • Set Accuracy & Performance: Single / Multi Barcode Reading, Specify Crop Regions, Set Output Format, Multithreading Support

  • Output Data Formats: Text Data, Numerical Data, Binary Data, Barcode Image

Writing Barcode

  • Write To Document Types: Image (jpg, png, gif, tiff, bmp), System.Drawing Objects, Streams, HTML (DataURI, file, or img), PDF (File, Stream, or Binary), Existing PDF (Stamp position)

  • Encoding Barcode Data: Text, urls, IDs, numbers, & binary data

  • Checking Fault Tolerance: Null Check, Checksums, Format Aware, Detailed Error messages, Custom QR Error Correction

  • Styling Barcodes: Resizing, Margins & Borders, Recoloring, Add text annotations, Add logos to QR

You can email us at for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on BarCode:

Package Downloads



High level C# library for the easy creation of barcodes in PDF documents using PdfSharp.


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2022.5.5918 4,985 5/27/2022
2022.3.0 18,401 3/10/2022
2021.12.21 12,790 12/21/2021
2021.11.0 13,198 10/29/2021
2021.9.0 15,265 8/24/2021
2021.6.3 14,678 6/9/2021
2020.12.2 36,678 12/8/2020
2020.6.0 46,393 6/3/2020
2020.5.0 8,715 4/22/2020 64,656 11/22/2018 3,227 11/9/2018 1,449 11/5/2018
4.0.1 2,070 10/12/2018

* Improved Linux & MacOS Compatibility
* Improved .Net 5 & 6 Compatibility
* Improved TIFF & GIF support
* Added Feature: barcode sizing in imperial MIL & inch dimensions
* Added Feature: Custom  text annotation spacing
* Bug Fixed: Binary values no longer require base64 encoding & decoding
* Bug Fixed: Resizing & Aspect Ratio control