jQueryScript Demo Page

JsBarcode: JavaScript Barcode Generator

Download This Plugin Back To jQueryScript

Generate, style, validate, and render barcodes directly in the browser with SVG, Canvas, image output, HTML attributes, chained symbols, and encoding data.

Live Generator

Change the content, format, size, label, and colors. Invalid values report through the built-in validation callback.

Ready.

Supported Formats

The full browser build covers linear retail, logistics, inventory, library, healthcare, and compact numeric formats.

Render Targets and APIs

The same value can be drawn to SVG, Canvas, and Image elements, initialized from attributes, or composed as one chained barcode.

SVG output

Canvas output

Image output

Generated barcode image

HTML attribute init

Chained EAN-13 with EAN-5 supplement

Validation and Encoding Data

Object rendering exposes encoding segments for custom renderers, while validation catches format-specific input rules.

Encoding object


        

Validation callback