Skip to main content

barcode-generator-advanced

A barcode generator produces scannable 1D barcodes β€” EAN-13, UPC-A, Code 128, Code 39, ITF-14, Codabar β€” from numeric or alphanumeric inputs, validates against each format's rules (length, allowed characters, check-digit), and exports as scalable SVG (best for print) or rasterized PNG (best for screen and chat). The ZTools Barcode Generator runs entirely in the browser, supports bulk generation from a CSV column (one barcode per row), customisable bar width, height, and quiet-zone, optional human-readable text underneath, and exports a ZIP of the entire batch in one click β€” keeping retail label workflows fast and free.

Use cases​

Product label printing​

Small retailers print EAN-13 labels for new SKUs. Generate, export SVG at the printer's native size, send to label printer.

Inventory and asset tagging​

Tag office equipment with Code 128. Bulk-generate from a CSV of asset IDs; print to Avery sheets.

Library / archive cataloguing​

Code 39 is widely supported by older scanners. Generate book-spine labels in batch.

Logistics shipping labels​

ITF-14 marks shipping cartons. Generate per-carton barcodes from the order CSV.

How it works​

  1. Pick the format β€” EAN-13 (12 digits + check), UPC-A (11 + check), Code 128 (alphanumeric, variable length), Code 39 (uppercase + symbols), ITF-14 (13 + check), Codabar.
  2. Enter input β€” Single value, or paste a CSV column. The generator validates each line and flags errors.
  3. Set bar width and height β€” Bar width in pixels or millimetres (for print). Height controls how tall the bars render. Quiet-zone padding for scanner reliability.
  4. Toggle human-readable text β€” Show the encoded value below the barcode for human verification.
  5. Export β€” Single SVG/PNG, or a ZIP of the whole batch. SVG preferred for print quality.

Examples​

Input: EAN-13: 5012345678900

Output: SVG barcode with check-digit recomputed and validated


Input: Code 128: ABC-12345

Output: Compact alphanumeric barcode


Input: CSV of 200 SKUs β†’ ZIP

Output: 200 SVG files, one per SKU, ready for label printing

Frequently asked questions​

Which format should I use?

Retail products: EAN-13 (Europe/global) or UPC-A (US). Internal asset tagging: Code 128 (compact, alphanumeric). Older systems: Code 39. Cartons: ITF-14.

Why does my EAN-13 fail to scan?

Common causes: bars too narrow (use β‰₯ 0.33 mm at print), missing quiet zone (add β‰₯ 10Γ— bar-width padding), or rotated text overlapping the bars. The generator enforces minimum quiet zones by default.

Does it auto-compute the check digit?

Yes β€” for EAN-13, UPC, ITF-14, and others with check digits, you can supply 12 (or 13) digits and the generator computes the rest, or supply the full string and have it validated.

SVG or PNG for printing?

SVG every time. SVG scales without quality loss; PNG at low DPI prints fuzzy bars that scanners struggle with.

Can it produce QR codes?

No β€” QR is 2D and needs a different encoder. Use the QR Generator for that.

Is the output watermarked?

No. Output is clean, free for commercial use.

Tips​

  • Always export SVG for print. Bars must be crisp β€” anti-aliased PNG bars hurt scan reliability.
  • Maintain quiet zone (β‰₯10Γ— bar-width on each side) β€” scanners fail on barcodes glued to other content.
  • Use Code 128 for internal tagging β€” most efficient, supports A–Z + 0–9.
  • For batch label printing, generate in a single ZIP and import into Avery / Brother label software.
  • Test-scan one sample with your actual scanner before printing 1,000 β€” bar width may need tuning per device.

Try it now​

The full barcode-generator-advanced runs in your browser at https://ztools.zaions.com/barcode-generator-advanced β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub