BrowserTools

Barcode Generator

Code128, EAN, UPC, ITF, Code39 barcodes

By Guga — BrowserTools maintainer, Tbilisi, Georgia Updated 2026-09-21
Free Private No uploads
What is Barcode Generator?

Ten symbologies, chosen from a dropdown, with the constraints each one imposes surfaced immediately rather than after a wasted print run. Code 128 encodes the full ASCII range and is the right default for internal inventory labels. EAN-13, EAN-8, and UPC-A are retail formats with fixed digit counts, and an invalid value is flagged the moment you type it — including the check digit, which the encoder computes and verifies. ITF and ITF-14 are the shipping and box-marking standards, and they are the ones to be careful with: ITF encodes digits only, so letters will be rejected. Pharmacode and Codabar cover older instrument and library labelling. The human-readable value is printed under the bars, bar width and height are adjustable for your label stock, and you get both a 2× PNG for raster workflows and an SVG for print production.

Generate print-ready barcodes in Code 128, EAN-13, UPC-A, Code 39, ITF and pharmacode formats. Customize dimensions, download as PNG or SVG — great for inventory and retail.

Private Barcode Generator In Your Browser

Barcode Generator is processed locally with client-side JavaScript. Your files never touch a server, and there is no queue to wait in.

Step-by-Step

How to use Barcode Generator

1

Choose a symbology from the Barcode format dropdown — Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, ITF, MSI, Pharmacode, or Codabar.

2

Type the value into Barcode value; the preview re-renders as you type.

3

Adjust Bar width between 1 and 4 pixels and Height between 40 and 200 pixels to suit your label stock.

4

Download the PNG (2×) for raster use, or the SVG for print production.

Key Capabilities
  • Ten symbologies: Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, ITF, MSI, Pharmacode, and Codabar
  • Invalid values for the chosen format are flagged in the panel instead of producing an unscannable label
  • Bar width is adjustable from 1 to 4 pixels in 0.5 steps, and height from 40 to 200 pixels
  • The human-readable value is printed beneath the bars, with exports as a 2× PNG and as an SVG
Common Use Cases
  • A warehouse worker generating Code 128 labels for parts bins in an internal inventory system.
  • A retailer producing compliant EAN-13 or UPC-A barcodes for a product run.
  • A lab technician printing Codabar labels for specimen tubes and storage racks.
Clear Answers

Frequently Asked Questions

Why does my EAN-13 value get rejected?
EAN-13 takes 12 digits plus a check digit, or 13 digits with the check digit already included. Twelve or thirteen digits is the rule, and the check digit must validate — the encoder will not draw a bar code that would fail at the till.
Can I put letters in a shipping label barcode?
Not with ITF or ITF-14, which encode digits only. If a carrier requires ITF-14, the value has to be numeric — use Code 128 when you need alphanumeric content.
How should I size it for printing?
Match the module width to your print resolution and keep the quiet margin around the code. The 2× PNG export is there for raster workflows; for anything going to a commercial printer, the SVG scales to whatever size you need without resampling.
Is the barcode uploaded anywhere?
No. The symbology is encoded in the tab and the SVG is built in the browser, so no request is made.

Related Guides

View all guides →