barcode generator

How to use the barcode generator

  1. Type the value you want to encode — SKU, URL, product ID, or any text.
  2. Pick a symbology: CODE128 is the all-round default; use EAN-13 or UPC-A for retail products; CODE39 for simple alphanumeric use.
  3. Adjust bar width, height, margin, and bar color to match your label template.
  4. Toggle 'Show value below' to embed human-readable text under the bars, with configurable font size.
  5. Download as SVG (sharp at any size) or PNG (universal), or copy the SVG markup for embedding in HTML or CSS backgrounds.

When to use it

Use it to generate labels for inventory, events, ticketing, asset tags, shipping, or classroom exercises. SVG is the preferred format for any label that gets resized — it stays crisp. PNG is better for Word docs, older software, or when you need a specific raster size. Alternative: bwip-js is more symbology-complete (PDF417, DataMatrix, Aztec) but heavier; this tool uses JsBarcode which covers the 8 formats that account for 95% of real-world barcode use.

Frequently asked questions

What is a barcode generator?
A tool that converts text or numeric values into a scannable barcode image following one of the standardized symbologies (CODE128, EAN-13, UPC-A, etc.). This one runs entirely in your browser — no server, no sign-up, no watermark.
Which barcode format should I pick?
Default to CODE128 for generic use (highest density, alphanumeric). Use EAN-13 or UPC-A only if you're selling through retail channels that assigned you GTINs. Use ITF-14 for shipping cartons, CODE39 for simple internal labels.
Will my generated barcode scan correctly?
Yes — the underlying JsBarcode library emits standards-conformant barcodes. Before printing a large batch, scan a test with your target scanner or smartphone app (Google Lens, built-in iOS camera) to confirm.
Can I generate QR codes here?
QR codes are a separate symbology (2D matrix). Use the dedicated QR Code Generator tool in the Talos Tools catalog — it supports the same download-as-SVG/PNG workflow but is purpose-built for QR.
Does the barcode generator work offline?
Yes. Once the page has loaded, everything runs locally — you can bookmark the page, disconnect, and still generate labels.
Why does my EAN-13 barcode show an error?
EAN-13 requires exactly 12 digits (check digit auto-computed) or 13 digits with a valid check. UPC-A requires 11-12 digits. If the value has letters or the wrong digit count, the symbology rejects it.

Related tools

Last updated: 2026-04-24