Generators

Barcode Generator

Generate Code128, EAN-13, EAN-8, UPC-A, Code39, and ITF barcodes instantly. Download as PNG or SVG. Free, client-side, no sign-up.

Free Client-Side No Sign-Up Nothing Stored
Format
Value
Bar width
Height (px)
Bar colour
Background

What This Tool Does

The Barcode Generator creates standard 1D barcodes using the JsBarcode library loaded from CDN. All processing happens in your browser. Choose from 8 barcode formats, customise width, height, and colours, and download as PNG or vector SVG for print-quality output.

How to Use

1. Select a barcode format from the dropdown.
2. Enter the value to encode in the text field — the barcode updates automatically.
3. Adjust width, height, and colours as needed.
4. Click PNG or SVG to download.

Frequently Asked Questions

Which barcode format should I use?
Code128 supports all ASCII characters and any length — use it for internal labels, shipping, and general purposes. EAN-13 and UPC-A are retail standards for product barcodes (requiring a registered GS1 prefix). Code39 is used in automotive and defence industries. ITF (Interleaved 2 of 5) is used for cartons and logistics. EAN-8 is a shortened EAN for small products.
Can I use this for retail product barcodes?
You can generate EAN-13 and UPC-A barcodes here, but to sell products in retail stores you need a registered GS1 company prefix and legitimate product numbers. Self-assigned EAN/UPC numbers are not valid for retail without GS1 registration.
What is the difference between PNG and SVG download?
PNG is a raster image — suitable for printing at a fixed size. SVG is a vector format that scales to any size without quality loss, making it ideal for professional print work, labels, and any use where the barcode will be printed at varying sizes.
Is my data sent to a server?
No. Barcodes are generated entirely in your browser using the JsBarcode library. Nothing is transmitted to our servers.