Barcode Generator

Generate common 1D barcodes such as Code 128 and EAN-13 for printing.

This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.

Input
Text or number, in the format of your choice
Output
Barcode as an SVG image
Category
QR Code Tools
Status
Available now
Price
Free — no subscription, no account

How to use Barcode Generator

  1. Pick the format. CODE 128 takes any printable characters, while EAN-13, EAN-8 and ITF-14 take digits only.
  2. Type the data. Leave off the final check digit and the tool works it out for you.
  3. Adjust the bar width and height with the sliders, and choose whether to print the digits underneath.
  4. Download the SVG. Print it and scan it before you rely on it.

Frequently asked questions

What is a check digit, and why does the tool add one?

A check digit is a final digit calculated from the digits before it, so a scanner can tell whether it read the code correctly. If you type 12 digits for an EAN-13, the 13th is computed for you. If you type all 13 and the last one is wrong, the tool says what the correct digit is rather than drawing a barcode that will not scan.

Which barcode format should I choose?

Use EAN-13 for retail products, EAN-8 for small packaging, ITF-14 for cartons, CODE 128 when you need to encode letters and symbols, and CODE 39 when an older system requires that specific format. CODE 39 only accepts uppercase letters, digits, and - . $ / + % and space.

Why is the download an SVG rather than a PNG?

A barcode is read from the edges of its bars, and a pixel image softens those edges as it scales. An SVG stays sharp at any print size, so the bars a scanner sees are exactly the bars that were encoded.

Is my data uploaded when I generate a barcode?

No. The barcode is drawn in your browser and nothing is sent to a server.

Related tools