Barcode Generator (Code 128, EAN-13, UPC-A, EAN-8)

Make a barcode for labels, inventory or shelves. Your files are processed on your device and are never uploaded. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified
Letters, digits and basic punctuation.

How to use it

  1. Choose a barcode type and type the text or number.
  2. Adjust the bar width and height.
  3. Download the SVG (sharp at any size) or the PNG.

How it works

Code 128 encodes any text from the basic English keyboard; for digits only (an even count) it switches to the denser set C. EAN-13, UPC-A and EAN-8 encode digits using the standard left, right and parity patterns, and the final check digit is calculated with the GS1 rule (digits are weighted 3 and 1 from the right and the sum is brought up to a multiple of 10). If you give a number with the wrong check digit, the tool says what it should be.

The symbol tables were checked against the published specification, and the tests decode every generated barcode back to its text.

Examples

  • 400638133393 becomes the EAN-13 barcode 4006381333931. “TOOLS-12345” becomes a Code 128 barcode.

Limitations

  • I could not test scanning with a physical scanner, so please scan a printed sample before relying on a label. Keep the quiet zone (white margin) and print at a reasonable size and contrast.
  • A barcode is only a way to write a number. For products sold in shops, the numbers (GS1 company prefix) must be licensed from GS1; making up numbers can clash with real products.
  • The text under the bars is shown in simple centred form, not in the exact placement the EAN standard shows.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].