![Nuget](https://img.shields.io/nuget/v/BarCode?color=informational&label=latest)  ![Installs](https://img.shields.io/nuget/dt/BarCode?color=informational&label=installs&logo=nuget)  ![Passed](https://img.shields.io/badge/build-%20%E2%9C%93%203104%20tests%20passed%20(0%20failed)%20-107C10?logo=visualstudio)  [![windows](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHRpdGxlPldpbmRvd3M8L3RpdGxlPg0KICA8cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTAsMEgxMS4zNzdWMTEuMzcySDBaTTEyLjYyMywwSDI0VjExLjM3MkgxMi42MjNaTTAsMTIuNjIzSDExLjM3N1YyNEgwWm0xMi42MjMsMEgyNFYyNEgxMi42MjMiLz4NCjwvc3ZnPg==)](https://ironsoftware.com/csharp/barcode/docs/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![macOS](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=apple)](https://ironsoftware.com/csharp/barcode/get-started/macos/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![linux](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=linux&logoColor=white)](https://ironsoftware.com/csharp/barcode/docs/questions/linux/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![docker](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=docker&logoColor=white)](https://ironsoftware.com/csharp/barcode/get-started/docker-linux/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![aws](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=data:image/svg%2bxml;base64, )](https://ironsoftware.com/csharp/barcode/get-started/aws/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![microsoftazure](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=data:image/svg%2bxml;base64, )](https://ironsoftware.com/csharp/barcode/get-started/azure/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield) [![livechat](https://img.shields.io/badge/Live%20Chat:-24/5-purple?logo=googlechat&logoColor=white)](https://ironsoftware.com/csharp/barcode/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topshield#helpscout-support)

# IronBarcode - The C# Barcode & QR Code Library
## **IronBarcode is a C# library for reading and generating barcode in .NET applications**

[![IronBarcode NuGet Trial Banner Image](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronBarcode-readme/nuget-trial-banner.png)](https://ironsoftware.com/csharp/barcode/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=topbanner#trial-license)

#### IronBarcode is a versatile C# library that simplifies barcode processing, allowing .NET developers to read or write barcodes in just a single line of code. Effortlessly scan barcodes from images or PDFs, and generate dozens of barcode formats including QR, Code 128, and UPC.

## **[Get Started](https://ironsoftware.com/csharp/barcode/docs/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=navigation) in 3 Steps**

### 1. Install the NuGet Package
```
PM> Install-Package BarCode
```
### 2. Create and Read Your First Barcode
```csharp
using IronBarCode;

// Creating a barcode is as simple as:
var myBarcode = BarcodeWriter.CreateBarcode("1234567", BarcodeWriterEncoding.EAN8);

// After creating a barcode, we may choose to resize and save which is easily done with:
myBarcode.ResizeTo(400, 100);
myBarcode.SaveAsImage("myBarcodeResized.jpeg");

// Reading a barcode is easy with IronBarcode:
var resultFromFile = BarcodeReader.Read("myBarcodeResized.jpeg");
```
### 3. Explore More
Dive deeper with our extensive documentation and examples:
* **[Tutorials](https://ironsoftware.com/csharp/barcode/tutorials/csharp-barcode-image-generator/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)**: Step-by-step guides to help you build your first Barcode application.

* **[Code Examples](https://ironsoftware.com/csharp/barcode/examples/barcode-quickstart/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)**: Practical examples of executable code for common tasks.

* **[How-To Guides](https://ironsoftware.com/csharp/barcode/how-to/read-barcodes-from-images/)**: Practical, goal-oriented instructions to solve specific problems.

* **[Demo](https://ironsoftware.com/csharp/barcode/demos/)**: Demonstrating guides that showcase how IronBarcode works the way it does.

* **[API Reference](https://ironsoftware.com/csharp/barcode/object-reference/api/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)**: Detailed technical descriptions of the API and its components.

## **Key Features**

  * **Read Barcode**: Reliably scan and decode barcode from from images and PDFs, including those of poor quality.

  * **Generate Barcode**: Create and customize barcode with full control over size, color, and text. 
    Export your generated barcode to multiple formats, including images and PDF.

  * **Barcode Types**: Comprehensive support for dozens of standard barcode formats including Code 39/128, QR Code, etc., for both reading and writing.

  * **Preprocessing**: Improve barcode reading accuracy with a suite of image preprocessing filters including color correction and noise reduction.

  * **Supported Applications**: Perfect for a wide range of applications including web apps and mobile apps.

[![IronBarcode Features](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronBarcode-readme/features-table.png)](https://ironsoftware.com/csharp/barcode/features/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=featuresbanner)

## **Compatibility**
### IronBarcode is built for modern .NET and supports a wide range of project types and operating systems.
  * **Platforms**: **.NET 10**, .NET 9, .NET 8, .NET 7, .NET 6, .NET 5, Core 2x & 3x, Standard 2

  * **Framework**: .NET Framework 4.6.2 (and above)

  * **App Models**: Console, Web, and Desktop Apps

  * **Operating Systems**: Windows, [macOS](https://ironsoftware.com/csharp/barcode/get-started/macos/), [Linux (Debian, CentOS, Ubuntu)](https://ironsoftware.com/csharp/barcode/get-started/linux/), [iOS](https://ironsoftware.com/csharp/barcode/get-started/ios/), [Android](https://ironsoftware.com/csharp/barcode/get-started/android/)
  
  * **Cloud & Containerization Platforms**: [Azure](https://ironsoftware.com/csharp/barcode/get-started/azure/), [AWS](https://ironsoftware.com/csharp/barcode/get-started/aws/), [Docker](https://ironsoftware.com/csharp/barcode/get-started/docker-linux/)

  * **IDEs**: Microsoft Visual Studio or Jetbrains ReSharper & Rider

[![IronBarcode Cross Platform Compatibility Support Image](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronBarcode-readme/cross-platform-compatibility.png)](https://ironsoftware.com/csharp/barcode/docs/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=crossplatformbanner)

## **License**
IronBarcode is a commercially licensed product.
  * **Trial License**: Get a free developer key to evaluate the full library with no commitment. Ideal for development and testing purposes. Start your trial [HERE](https://ironsoftware.com/csharp/barcode/licensing/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs#trial-license).

  * **Purchase a License**: Unlock the library for use in commercial projects and get access to our full technical support. Purchase your license [HERE](https://ironsoftware.com/csharp/barcode/licensing/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs).

## **Getting Help & Support**
Have a question or running into an issue?

  * **Email Support**: Reach out to our team directly at support@ironsoftware.com.

  * **Live Chat Support**: [https://ironsoftware.com/csharp/barcode/#helpscout-support](https://ironsoftware.com/csharp/barcode/?utm_source=nuget&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs#helpscout-support)

  * **Report a Bug**: https://ironsoftware.com/ticket-submission/

  * **Community**: https://ironsoftware.com/company/iron-slack-community/