Barcode Generator

Generate CODE128, EAN, UPC, CODE39 and ITF14 barcodes as SVG.

Encode any text or number as a printable barcode in your browser. Supports the most common retail and logistics formats: CODE128, EAN-13, EAN-8, UPC, CODE39, ITF14 and more, with a downloadable SVG you can paste into print or web layouts.

Common use cases

  • Print product barcodes for small-business inventory
  • Generate ticket and admission codes for events
  • Build asset-tracking labels for office equipment
  • Add barcodes to PDF invoices and shipping documents

Frequently asked questions

Which format should I use?
CODE128 handles the most characters and is the safest default. Use EAN-13/UPC for retail products that need a registered GTIN, and CODE39 for older industrial scanners.
Why SVG?
SVG barcodes stay sharp at any size, including print. Most label printers and design tools accept SVG directly.
Is the value validated?
Yes. Each format has its own length and character rules (EAN-13 needs 12-13 digits, UPC needs 11-12, etc.); invalid input shows an inline error message.

Related tools