Barcode Generator
Barcode Generator — runs in your browser. Inputs are not stored.
How to use
- Enter the string to encode in Value. The default example is a 12-digit number.
- Format is CODE128 only. Other symbologies are not on this screen.
- Press Generate to load the library, then an SVG preview appears.
- For labels and documents, press Download PNG.
- To change the value, edit and generate again, or Reset.
Key concepts
This barcode generator draws inventory codes, order numbers, and internal SKUs as CODE128 for test printing. Rendering loads JsBarcode from jsDelivr only when needed. If the network blocks the CDN, generation fails. Values are drawn only in the browser and are not stored in a server database.
CODE128 can hold letters and some symbols as well as digits. Check scanner and printer density on a real label. EAN-13 and QR are not this tool. For QR, use the QR code generator. PNG is saved by copying the on-screen SVG to a canvas.
Example
Enter order number ORD-1001 and generate to see CODE128 bars and digits. Download PNG, place it in a document, then confirm a phone scanner reads the same string. Empty values are not drawn. Depending on label-printer density, bars can bleed, so print one sheet and scan it. If the order number has a hyphen, check first whether CODE128 accepts that character (watch for a generate error). This is for inventory test codes, not a substitute for certified retail EAN barcodes. When retrying the same input, reset and paste fresh so previous output does not mix in. On a shared computer, clear the field when you finish so the source is not left on the monitor. Closing the tab drops the pasted value; you do not need to ask a server to delete it. Button names and field titles match the tool above, so you can follow this guide as you go. If the result is empty, check required fields and whether an error is hidden. This article is a how-to; it does not mean input is kept in external storage. On mobile, Copy may ask for clipboard permission; allow it and press again.
Related: QR code generator · QR code reader
Frequently asked questions
What barcode format does the generator use?
CODE128 only. The format control has no other options.
When is JsBarcode loaded?
It is loaded dynamically from the jsDelivr CDN when you generate. It is not a permanently embedded script.
Is the value saved on a server?
No. It is drawn only in the browser.
Does it support EAN-13 product barcodes?
This screen is CODE128. EAN product codes with check digits are not supported.
Can I save SVG as well?
The preview is SVG; the download button is PNG.
Can Hangul values go into CODE128?
Characters outside the CODE128 set can error. Prefer English letters and digits.
Last reviewed: 2026-09-04