Barcode Generators

Barcode Generator

Universal 1D barcode generator with scalable vector SVG and PNG export.

Barcode Preview

Enter value and click Generate to see barcode preview.

Pick the right barcode format first

Before you generate anything, decide which barcode type you actually need. They are not interchangeable.

  • EAN-13 / UPC-A: retail products sold at checkout. Numbers only, with a check digit.
  • Code 128: shipping labels, warehouse bins, asset tags and anything that needs letters and numbers in a compact space.
  • Code 39: older industrial and internal ID systems. Wider than Code 128 but simple.
  • ITF-14: outer cartons and cases of retail goods.
  • QR or Data Matrix: 2D codes, for when you need to store more data or a link in a small area.

If you are not sure, ask whoever will scan the code, such as a retailer, courier or warehouse system, which symbology they require.

Generate, check and download

Enter your data, select the format, and the tool builds the bars with the required start, stop and check characters. For formats that use a check digit, it is calculated automatically so you do not have to do the arithmetic by hand. Download the result as a crisp image and drop it into your label design.

Retail vs internal use

A barcode image on its own is not an official product number. For retail sale, the 13-digit number (GTIN) must be assigned to your business, normally through a GS1 membership. Numbers beginning with 2 are reserved for internal or in-store use and are good for testing. For stock rooms, assets, tickets or document tracking you can use any value you like, as long as your scanning system accepts the format.

Size, margins and print quality

  • Quiet zones: barcodes need blank space on both sides. If a design or border crowds the bars, scanners will skip them.
  • Bar width: the narrowest bar defines readability. Thermal label printers at 203 DPI need larger bars than laser printers at 600 DPI.
  • Do not stretch: scaling the width or height disproportionately changes the bar ratios and can make the code unreadable.
  • Contrast: black on white is best. Avoid red bars, which many laser scanners cannot see.
  • Vector or high resolution: use SVG or a large PNG to avoid blurry edges.

Troubleshooting a barcode that will not scan

Check the quiet zones, make sure the print is not smudged or faded, confirm the scanner is set to read that symbology, and test with another scanner. Scratched or curved surfaces, glossy lamination glare and very small codes cause most failures.

Frequently Asked Questions

Which barcode type should I use?

Use EAN-13 or UPC-A for retail products, Code 128 for shipping and warehouse labels, Code 39 for older internal systems, and ITF-14 for cartons. A 2D code is better when you need to store more data.

Can I sell products using barcodes made here?

A retailer or marketplace usually requires GTINs licensed through GS1. Use this tool for internal tracking, samples and layout testing, and obtain official numbers for products you sell.

Does the tool calculate the check digit?

Yes, for formats that need one, the check digit is added automatically so the barcode is valid.

What file should I download for printing?

SVG is best for any size. If you need PNG, export a large image and print it at 300 DPI without stretching.