We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Barcode (QR Code) Generator Control is a lightweight, high-performance control that displays industry-standard 1D and 2D barcodes in JavaScript applications. Generated barcodes are optimized for printing and on-screen scanning. The control is designed for ease of use and does not require fonts.


Customization

The JavaScript Barcode Generator is easily customizable. You can customize its color (dark or light), height, width, and more.

Customizable options in JavaScript Barcode


Label

The JavaScript Barcode Generator lets you display a barcode with or without text and provides alignment options.

Barcode input text in JavaScript Barcode


Barcode symbologies

The Syncfusion JavaScript Barcode Generator control supports a wide range of barcode symbologies.

JavaScript QRcode Barcode

QR code

Quick response codes (QR codes) are two-dimensional barcodes. They can efficiently store more information in a smaller space than 1D barcodes. Each barcode can store values up to 7,089 characters. They are mostly used for URLs, business cards, and contact information.

Datamatrix barcode in JavaScript Barcode

Data Matrix

A Data Matrix is a two-dimensional barcode. The information encoded should be text or numeric values. Each barcode can store values up to 2,335 alphanumeric characters. They are mostly used by couriers and the food industry.

Code39 barcode in JavaScript Barcode

Code 39

Code 39 is a common barcode type used for various labels such as on name badges, inventory, and in industrial applications. The symbology of the Code 39 character set consists of barcode symbols representing numbers 0-9, uppercase letters A-Z, and the space character.

Code39 Extended barcode in JavaScript Barcode

Code 39 Extended

The Code 39 Extended is an extended version of Code 39. Lower characters and special characters are supported.

Code11 barcode in JavaScript Barcode

Code 11

Code 11, also known as USD-8, is high numeric symbology. The character set includes the digits 0-9, the hyphen symbol ( - ), and start and stop characters. It is commonly used in telecommunications.

Codabar barcode in JavaScript Barcode

Codabar

Codabar is also known as USD-4 and Code 2 of 7. It can encode the digits 0-9, six symbols, and start and stop characters. It is even possible to print Codabar codes using typewriter-like impact printers, which allows the creation of many codes with consecutive numbers without having to use a computer.

Code32 barcode in JavaScript Barcode

Code 32

The Code 32 is also known as Italian Pharmacode. It has the following structure: the ‘A’ character that is not really encoded, eight digits for Pharmacode, and one digit for Checksum module 10 that is automatically calculated by Barcode Professional.

Code93 barcode in JavaScript Barcode

Code 93

Code 93 was designed to complement and improve Code 39. It is used to represent the full ASCII character set by using combinations of two characters. Code 93 can encode uppercase letters, numeric digits, and a handful of special characters.

Code93 Extended barcode in JavaScript Barcode

Code 93 Extended

Code 93 Extended is based on Code 93, but it can encode the full 128-character ASCII. The characters represented by Code 93 are represented in Code 93 Extended as single barcode characters, but all other characters are represented by a control character plus another character.

Code128 barcode in JavaScript Barcode

Code 128

Code 128 is a very high-density barcode that supports alphanumeric characters. This barcode is used as the basis for many other barcodes like UCC/EAN, HIBC (health industry barcode), and the blood bank industry.

UpcA barcode in JavaScript Barcode

UPC - A

The universal product code (UPC-A) is a numeric symbology used in retail. UPC-A symbols consist of 11 data digits and one check digit. The first digit is a number system digit that normally represents the type of product being identified.


Customizing the text

You can customize the alignment, position, and margins of the barcode and QR code text.


Other supported frameworks

The Barcode component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Barcode platforms from the links below,


JavaScript BarCode Control Code Example

Easily get started with the JavaScript BarCode using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript BarCode Example that shows you how to render and configure a BarCode in JavaScript.

<body>
 <!--container which is going to render the Barcode-->
 <div id='container'>
 </div>
</body>
import { BarcodeGenerator, ValidateEvent } from '@syncfusion/ej2-barcode-generator';

 let barcode = new BarcodeGenerator({
    width: '200px',
    height: '150px',
    mode: 'SVG',
    type: 'Codabar',
    value: '123456789',

});
barcode.appendTo('#element');



85+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

  • Support for most common 1D and 2D barcodes.
  • Support for complete customization of a barcode to augment its appearance.
  • Ease of use and integration.
  • Support for a wide range of barcode symbologies.
  • One of the best JavaScript Barcode in the market that offers feature-rich UI to interact with the software.
  • Support for all modern browsers.
  • Simple configuration and API.
  • Extensive demos and documentation to let you get started quickly with the JavaScript Barcode Generator.

You can find our JavaScript Barcode demo, which demonstrates how to render and configure the Barcode.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile