Barcode

Barcode Generator

Create Code 128, EAN-13, or UPC-A barcodes from your data, with a live preview and PNG or SVG download. Check digits are computed automatically. All local.

Barcode

Local

Preview

Enter data to generate a barcode.
About this tool

About Barcode Generator

The Barcode Generator creates Code 128, EAN-13, or UPC-A barcodes from your data, with a live preview, automatic check-digit calculation, and PNG or SVG download. It is for retail, inventory, and logistics users producing scannable codes.

Barcodes must follow exact rules to scan, and check digits are easy to miscalculate. Generating them locally computes the check digit for you and keeps your product data private.

How to use

Step by step

  1. Choose the barcode standard: Code 128, EAN-13, or UPC-A.
  2. Enter the data the barcode should encode.
  3. The check digit is computed automatically where the format needs one.
  4. Review the live preview.
  5. Download the barcode as a PNG or SVG.
Key features

What it offers

  • Code 128, EAN-13, and UPC-A support
  • Automatic check-digit calculation
  • Live preview
  • PNG and SVG download
Common use cases

Where it helps

  • Labelling products for retail with EAN-13 or UPC-A
  • Encoding internal SKUs with Code 128
  • Generating barcodes for inventory tracking
  • Producing scannable labels for shipping
Best practices

Tips for best results

  • Use SVG for printed labels so the barcode stays sharp at any size.
  • Keep adequate quiet space around the barcode so scanners can read it.
  • Print in high contrast — dark bars on a light background — and test with a real scanner.
Common mistakes to avoid

Pitfalls to watch for

  • Entering the wrong number of digits for EAN-13 or UPC-A, which the format strictly requires.
  • Adding a check digit manually when the tool already computes it, producing an invalid code.
  • Printing a barcode too small or low-contrast to scan reliably.
Benefits

Why people use it

Valid codes

Check digits are calculated for you.

Multiple standards

Retail and general-purpose formats in one tool.

Scalable output

SVG stays crisp at any print size.

Private

Your data is encoded locally.

FAQ

Common questions

Code 128 (letters and numbers), EAN-13, and UPC-A (product codes). ISBN-13 codes are EAN-13 and work here too.
For EAN-13 and UPC-A you can enter the digits without the final check digit and it will be calculated for you.
Yes. Download a PNG for general use or an SVG for crisp printing at any size.
No. Barcodes are generated entirely in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.