Skip to content
Tools
More

FreeToolskits - tool 06/10

Barcode generator

UPC-A, EAN-13 and Code 128 barcodes with automatic checksum handling - export as SVG or PNG.

  • ✓ 100% in-browser
  • No account needed
  • Nothing is uploaded
barcode-generator · data never leaves this page

Barcodes are rendered locally: the value never leaves this page.

Why Barcode generator

Three formats, properly checked

UPC-A and EAN-13 are the retail identifiers printed on nearly every product label. Code 128 is the workhorse for logistics, inventory, and serial numbers because it can encode any ASCII character compactly. This generator validates each of them and computes a correct checksum digit for you, so the code you export will actually verify when scanned.

Everything is rendered in your browser: the barcode never travels to a service, so serial numbers, catalogue SKUs, and internal identifiers stay on your screen.

Checksums, handled for you

UPC-A and EAN-13 end with a check digit derived from the preceding digits by a weighted sum. If you type 11 digits for a UPC, the 12th is computed automatically; type 12 with the right check digit and it is verified. A 12-digit EAN-13 is similarly completed to 13 digits, keeping your data entry honest and scannable.

Export that matches your print job

SVG export is vector, so the bars stay razor-sharp at poster size or on a shrink-wrapped package. PNG gives you a raster for documents, emails, and mockups. Both are rendered locally and carry no watermark.

A free barcode generator for retail, links, and inventory

This free barcode generator covers the codes people search for daily. Use a barcode generator SVG when you need vector output for labels, a barcode generator from link when a URL should print scannable, or a text to barcode generator for serial numbers and SKUs. It is a free barcode generator and an online barcode creator in one, with standards-compliant output.

Pair it with a bar code scanner to verify your work on a phone, or combine it with the QR code generator for a qr barcode next to your linear code. Whether you need a free barcode generator for a product or an online barcode for a shipping label, the value you type stays local, and the checksum stays correct.

Frequently asked questions

What is the difference between Code 128, UPC-A and EAN-13?

Code 128 encodes any ASCII text and is used for inventory and shipping. UPC-A is the 12-digit retail barcode used mostly in North America, and EAN-13 is its 13-digit international counterpart. Each has a different checksum rule, which this generator applies automatically.

Do I need to calculate the checksum myself?

No. Enter the digits you have and the generator computes the missing final check digit for you, or verifies it when you supply a full-length value. You always end up with a valid barcode.

Why is my barcode not scanning?

Common causes are too little quiet space around the bars, low contrast between bars and background, or printing at too small a size. Keep the white margin clear, print at 300 dpi or better, and test with a phone camera before going to production.

Can I print these barcodes commercially?

The graphics are standards-compliant barcodes, so yes, they can be printed on labels and packaging. Confirm your specific retailer requirements, since some programs use proprietary formats or place codes within a mandated layout.

Does this barcode generator store my data?

No. Encoding happens entirely in your browser. The value you type is never uploaded, logged, or stored anywhere, and it is discarded the moment you leave the page.

What types of barcodes can I create?

This generator creates UPC-A, EAN-13, and Code 128. UPC-A covers North American retail, EAN-13 is its international 13-digit counterpart, and Code 128 encodes any ASCII text for inventory, shipping, and serial numbers.

How do I choose the right format?

Match the format to the retail context: use UPC-A or EAN-13 for products sold in stores, and Code 128 for anything non-retail like serial numbers, logistics labels, or internal identifiers. UPC-A is 12 digits and EAN-13 is 13; Code 128 accepts any characters.

Can I download the images?

Yes. Export every barcode as a watermark-free PNG or SVG. SVG is vector and stays sharp at any print size, while PNG is ready for documents, emails, and mockups.

Do I need a special license for retail barcodes?

For products sold through retailers, you need a valid UPC/EAN number assigned from a GS1 prefix - generating the graphic alone does not make the code sellable. For internal uses like inventory or shipping labels, you can issue your own numbers freely.

What is a barcode?

A barcode is a machine-readable pattern of bars and spaces that encodes data like a numeric series or a text string. Scanners read the widths of the bars to decode the value in milliseconds, which is far faster and more accurate than manual entry.

What are 1D and 2D barcodes?

1D (one-dimensional) barcodes like UPC-A, EAN-13, and Code 128 store data in a single row of bars and vary in length. 2D barcodes like QR codes pack much more data into a grid of modules and are read by camera-based scanners.

Why are barcodes used?

Because they eliminate typing errors, speed up checkout and receiving, and make scanning repeatable. A barcode turns a 13-digit identifier into a one-second scan, which is why they are the standard for retail and logistics worldwide.

How do barcodes help in inventory management?

Barcodes let staff log items in and out by scanning instead of handwriting values, keeping counts accurate and searchable in real time. Code 128 is a common choice for inventory because it can encode SKU-style text directly.

What do I do after I generate a barcode?

Download the image, keep the quiet zone clear around the bars, and place it on your label or package at a consistent print size. Verify the result with a phone camera or scanner app before going into full production to confirm readability.

How is a barcode different from an SKU?

An SKU is your own internal identifier - an alphanumeric code that lives in your system. A barcode is the machine-readable visual representation of an identifier, and Code 128 lets you print your SKU directly as a scannable barcode without extra retail infrastructure.

How do I choose the right barcode?

Ask what the barcode is for: products sold in North American stores need UPC-A, international retail needs EAN-13, and anything else - serial numbers, shipments, parts - can use Code 128. Each format here validates the value and computes the checksum automatically.

Are my barcodes unique to my organization?

Uniqueness comes from the number, not the graphic. For retail, your UPC/EAN company prefix from GS1 guarantees your numbers are globally unique. For internal numbering in Code 128, you simply ensure your own range does not collide with existing systems.

Does my barcode also contain my country code?

EAN-13 carries a GS1 country-prefix as its first digits, but that reflects where the prefix was assigned, not where the product was made. UPC-A uses a number system digit, not a country code. The checksum digit protects against data-entry misreads rather than carrying country info.

How are barcodes used in the package service industry?

Carriers print tracking and routing information as Code 128 so that automated sortation systems can scan parcels at every checkpoint, in almost any orientation. Barcodes let shipment centers process thousands of packages per hour with near-zero misreads.

Related tools

Keep working, all in one tab