Barcode Generator
Generate Code 128, EAN, UPC, and more — download as SVG or PNG.
Generate barcodes, locally
Type the data to encode and pick a symbology — Code 128 for general text, EAN-13 / UPC-A for retail products, Code 39 for asset tags, and more. The barcode is drawn instantly with adjustable bar width, height, and human- readable text, and you can download it as a resolution-independent SVG or a PNG. Everything is rendered in your browser with a local library — the data you encode is never uploaded.
Common questions
Which barcode types are supported?
Common 1D symbologies: Code 128 (auto), EAN-13, EAN-8, UPC-A, Code 39, ITF-14, MSI, and Pharmacode. Each has its own rules — for example EAN-13 expects 12 or 13 digits and computes the check digit.
Why does my input show an error?
Each symbology only accepts certain characters and lengths. EAN/UPC require the right number of digits; Code 39 accepts uppercase letters, digits, and a few symbols. The tool reports when the input is invalid for the chosen type so you can fix it.
SVG or PNG — which should I download?
SVG scales to any size without blur and is ideal for print or further editing. PNG is a fixed-resolution raster that's convenient for pasting into documents or the web.
Is my data uploaded anywhere?
No. The barcode is generated entirely in your browser with a local library. The value you encode is never sent to a server or stored anywhere.