Code 128, Code 39, and Code 93 barcodes
Code 128 with sets A, B, and C encodes full ASCII at high density. Code 39, Code 39 Extended, Code 93, and Code 93 Extended suit badges, inventory, and industrial labels.
AIMCP Server and Agent Skills included
Generate Code 128, Code 39, Code 93, Codabar, EAN, UPC, and GS1 barcodes, along with QR code, Data Matrix, and PDF417 symbologies. Customize the display text, colors, size, and logo, and export the result as an image. AI assistants set it up for you from the current docs.
Code 128 with display text
Linear barcodes: Code 128, Code 39, and more
EAN-13 and UPC-A
QR codes
Data Matrix
Colors, sizes, and display text
Trusted by the world’s leading companies
Now easier with AI
Coding assistants write the Barcode Generator setup from the current docs instead of guessing.
01For developers
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Barcode Generator docs and recommended patterns.
AI coding assistantMCP · Syncfusion React
Generate a Code 128 barcode for the order number.
search_docs“React Barcode linear barcodes” · 2 doc sections
+<BarcodeGeneratorComponent type="Code128"
+ value="ORDER-2048"
+ width={"240px"} height={"90px"} />
Documented API: type, value
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show an EAN-13 barcode on the product label.
search_docs“React Barcode retail codes: ean and upc” · 2 doc sections
+<BarcodeGeneratorComponent type="Ean13"
+ value="4006381333931"
+ width={"220px"} height={"100px"} />
Documented API: type, value
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Add a QR code that links to the tracking page with our logo in the center.
search_docs“React Barcode qr codes with a logo” · 2 doc sections
+<QRCodeGeneratorComponent
+ value="https://example.com/track/2048"
+ width={"160px"} height={"160px"} errorCorrectionLevel={30}
+ logo={{ imageSource: '/logo.png' }} />
Documented API: QRCodeGeneratorComponent, logo, errorCorrectionLevel
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Print a Data Matrix code with the parcel number.
search_docs“React Barcode data matrix codes” · 2 doc sections
+<DataMatrixGeneratorComponent value="PART-77310"
+ width={"120px"} height={"120px"} />
Documented API: DataMatrixGeneratorComponent, value
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show "Order 2048" above the barcode, aligned left.
search_docs“React Barcode display text” · 2 doc sections
+<BarcodeGeneratorComponent type="Code39"
+ value="ORDER2048"
+ displayText={{ text: 'Order 2048', position: 'Top', alignment: 'Left' }} />
Documented API: displayText, position, alignment
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Make the bars dark indigo on white, 300 pixels wide.
search_docs“React Barcode colors and size” · 2 doc sections
+<BarcodeGeneratorComponent type="Code93"
+ value="01234567"
+ foreColor="#312e81" backgroundColor="#ffffff"
+ width={"300px"} height={"120px"} />
Documented API: foreColor, backgroundColor, width, height
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Add a button that downloads the barcode as a PNG.
search_docs“React Barcode export to images” · 2 doc sections
+<BarcodeGeneratorComponent ref={barcode} type="Code128"
+ value="ORDER-2048" />
<button
onClick={() => barcode.current?.exportImage('label', 'PNG')}>Download</button>
const base64 = await
barcode.current?.exportAsBase64Image('PNG');
Documented API: exportImage, exportAsBase64Image
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Encode the boarding pass details in a PDF417 code with three data columns.
search_docs“React Barcode pdf417 stacked codes” · 2 doc sections
+<PDF417GeneratorComponent value="BP-2048 LHR-JFK 14C"
+ columns={3}
+ width={"320px"} height={"120px"} />
Documented API: PDF417GeneratorComponent, value, columns
ResultRendered in your app
Features in depth
Open a demo to try each one, or the docs to see the API.
Code 128 with sets A, B, and C encodes full ASCII at high density. Code 39, Code 39 Extended, Code 93, and Code 93 Extended suit badges, inventory, and industrial labels.
Generate the numeric product codes used in retail. A UPC-A symbol holds 11 data digits and one check digit, and EAN-8, EAN-13, and UPC-E have their own demos.
Codabar serves libraries, blood banks, and package delivery. Code 11 labels telecommunications equipment, and Code 32 encodes Italian Pharmacode with an automatic check digit.
Generate GS1-compliant barcodes such as GS1 DataMatrix, GS1 QR code, and GS1-128 with application identifiers, so supply chain, healthcare, and retail labels follow the GS1 standard.
Draw square or rectangular Data Matrix codes for printed media, and stacked PDF417 codes for ID cards, boarding passes, and shipping labels.
Get started
With an AI coding assistant
Add the Syncfusion React Barcode Generator to my shipping label with a Code 128 barcode for the order number and a QR code for the tracking link.
By hand, in three steps
1 · Install
npm install @syncfusion/ej2-react-barcode-generator --save
2 · Colors
<BarcodeGeneratorComponent foreColor="#111827" backgroundColor="#ffffff" />
3 · src/App.tsx
import { BarcodeGeneratorComponent } from '@syncfusion/ej2-react-barcode-generator';
export default function App() {
return (
<BarcodeGeneratorComponent type="Code128" value="SYNCFUSION-128" width={"240px"} height={"90px"} />
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
“Awesome, enough said”
Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.
“A giant framework with great pricing options”
I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.
Customer story · Igniatek
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Showing all 31 features. Each one opens its demo or documentation.
No feature matches that search. Try another word, or open the Barcode demos.
Related data visualization components:React ChartsReact Stock ChartReact HeatMapReact Circular Gauge
Questions and answers
The Syncfusion React Barcode Generator draws industry-standard 1D and 2D codes, such as Code 128, EAN-13, QR codes, and Data Matrix codes, from a text value. Explore the demos
Linear types are Code 128 (A, B, and C), Code 39, Code 39 Extended, Code 93, Code 93 Extended, Code 32, Code 11, Codabar, EAN-8, EAN-13, UPC-A, UPC-E. Two-dimensional types are QR codes, Data Matrix, and PDF417. GS1 barcodes, including GS1-128, GS1 DataMatrix, and GS1 QR code, are also supported. Read about the barcode types
Install @syncfusion/ej2-react-barcode-generator and render BarcodeGeneratorComponent with a type, a value, and a width and height. Read the getting started guide
Render QRCodeGeneratorComponent with the value to encode, such as a URL. Add a logo at the center and raise the error correction level for readability. QR code demo
Both are 2D codes. Data Matrix codes are common with couriers and in the food industry, while QR codes usually carry URLs, business cards, and contact details. Data Matrix demo
Yes. displayText sets the text, its visibility, its position above or below, and its alignment. Read about customizing the text
Yes. foreColor and backgroundColor set the colors, and width, height, and margin set the size. Read about customization
Yes. exportImage downloads it as PNG or JPG, and exportAsBase64Image returns a Base64 string you can store or send. Read about export
No. Codes render as SVG by default, or on a canvas with mode, and are optimized for printing and on-screen scanning. Read the getting started guide
Yes. PDF417GeneratorComponent draws stacked PDF417 codes with automatic compaction, error correction, and row and column layout. Read about PDF417
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Barcode Generator docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server
It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility
Resources
Barcode for other frameworks:AngularBlazorJavaScriptVue
More React components:PDF ViewerDiagramData GridAll 140+ React components
Syncfusion React Barcode
The full Barcode Generator, the MCP server, and Agent Skills, free for 30 days.