Emoji Create quality document scans with our new simple-to-use demo app! Give it a try!

Xamarin & Xamarin.Forms Barcode Scanner SDK

Mobile Data Capture for Xamarin & Xamarin.Forms Apps

Try the SDK in your project

Easily integrate the Xamarin Barcode Scanner into your mobile app

Adding the Xamarin Barcode Scanner SDK to your app takes just one day thanks to adjustable ready-to-use user interface components that include user guidance for a frictionless barcode scanning process. Enable your app to extract information from all popular 1D and 2D barcode formats with GDPR- and CCPA-compliant software components.

Reliable detection within 0.2 seconds, even with damaged codes, poor lighting, or bad angles. Create a new user experience for highest customer and employee satisfaction. Scanning barcodes has never been this easy.


Barcode icon

All common formats

User guidance icon

User Guidance

Icon Scan

Scan multiple codes

Update now icon

1-day integration

Speed icon

Fast & reliable

Want to test our Barcode Scanning SDK in our new Demo App?

Explore the fast and reliable functionalities of the Scanbot Barcode Scanner SDK – Download now!

Man touching hologram over phone screen

Want to test it?

Get your free 7 days trial license code!

Get free trial license key
Three phones with Scanbot screens

Getting Started with Scanbot Xamarin and Xamarin.Forms Barcode Scanners

Scanbot Xamarin and Xamarin.Forms Barcode Scanner SDKs are available as NuGet packages. You can easily integrate Xamarin and Xamarin.Forms Barcode Scanner into your app.

Getting Started with Scanbot Xamarin.Forms Barcode Scanner

You can start integrating the Scanbot Barcode Scanner SDK for cross-platform app development with Xamarin.Forms for both Android and iOS as below:

var configuration = new BarcodeScannerConfiguration();
BarcodeResultBundle result = await 

You can configure the 1D and 2D barcode types that you want to recognize:

configuration.AcceptedFormats = new List

Also, you can customize the UI style of your Xamarin and Xamarin.Forms Barcode Scanners like below:

configuration.FinderWidth = 300;
configuration.FinderHeight = 200;
configuration.FlashEnabled = true;
configuration.TopBarBackgroundColor = Color.Accent;
configuration.FinderTextHint = "Custom hint text...";
// further configurations...

Getting Started with Scanbot Xamarin Barcode Scanner

You can start integrating the Scanbot Barcode Scanner SDK for native app development with Xamarin for both Android and iOS as below:

Xamarin Android:

var configuration = new BarcodeScannerConfiguration();
var intent = BarcodeScannerActivity.NewIntent(this, configuration);
StartActivityForResult(intent, REQUEST_CODE);

Xamarin iOS:

var configuration = SBSDKUIBarcodeScannerConfiguration.DefaultConfiguration;
BarcodeResultReceiver receiver = new BarcodeResultReceiver();
SBSDKUIBarcodeScannerViewController.PresentOn(this, acceptedBarcodeTypes, configuration, receiver);

You can check our Xamarin documentation for further information on customization and configuration.

Complete example projects

To get off to a flying start, check out our GitHub repository. There, you can find full example projects on Xamarin and Xamarin.Forms

They demonstrate the integration of all API methods of the Scanbot Xamarin and Xamarin.Forms Barcode Scanner SDKs, such as 1D and 2D barcode scanning, UI customization, and more.

Available on all major platforms

Frequently Asked Questions

Didn’t find what you were looking for? Please refer to our FAQs.

How do I scan a barcode in Xamarin?

You can scan a barcode in Xamarin by adding a Barcode Scanner SDK to your Xamarin-based mobile app, allowing your users to detect barcodes and extract the encoded information with their smartphone or tablet cameras.

What is Xamarin.forms?

Xamarin.Forms is a cross-platform framework that delivers a way to simply create native apps for iOS, Android, Windows, and macOS, entirely in C#.