Barcode Generator
Generate Code 128, Code 39, EAN-13, EAN-8 and UPC-A barcodes and download them as PNG or SVG.
- Format
- —
- Encoded value
- —
- Modules
- 0
How it works
Pick a symbology, type your data, and the barcode is drawn instantly as vector graphics. Code 128 encodes any ASCII text and is the workhorse for shipping labels and internal asset tags; Code 39 covers A–Z, 0–9 and a few symbols and is common in warehouses and the automotive industry; EAN-13, EAN-8 and UPC-A are the retail product codes — enter the digits without the check digit and this barcode generator calculates and appends it for you using the standard mod-10 algorithm. The bar-width slider controls the module size (the width of the thinnest bar), which is what determines how easily a scanner can read the printed result: 2 px or more is a safe starting point, and a quiet zone is always added on both sides. Download a lossless SVG for print or a PNG for screens, or copy the SVG markup straight into your HTML. Everything — the encoding, the check digits and the rendering — happens in your browser with JavaScript, so your product codes and tracking numbers are never uploaded anywhere.
Frequently asked questions
How do I create a barcode for free?
Pick a barcode type, type or paste your data, and the barcode appears instantly — then download it as a PNG or a lossless SVG, or copy the SVG markup into your own page. There is no sign-up, no watermark and no limit on how many barcodes you generate.
What barcode type should I use?
Use Code 128 for general-purpose labels, shipping and asset tags — it encodes any printable ASCII text and is the most compact. Use Code 39 when a warehouse or automotive system requires it (A–Z, 0–9 and a few symbols). Use EAN-13, EAN-8 or UPC-A only for retail products, since those are fixed-length numeric formats tied to a registered GTIN.
Does this barcode generator upload my data?
No. The encoding, the check-digit maths and the drawing all happen in your browser with JavaScript, so your SKUs, tracking numbers and product codes never leave your device. The page keeps working offline once it has loaded.