🌐 English

Home › Barcodes

Barcode generator

Make barcodes — from EAN-13 and UPC-A for products to Code 128 for logistics and internal use — and download SVG or PNG. Check digits are calculated automatically.

Design

Scan it once with your phone camera before downloading.

🔒 What you enter never goes to a server — codes are created on your own device, inside the browser.

How to use

  1. Choose the barcode type and enter the content. The allowed characters for each type are shown.
  2. The barcode is drawn on the right right away. You'll be told if the content doesn't fit.
  3. Download SVG for print or PNG for documents and screens.

Which type to use

EAN-13 is the 13-digit barcode used on products in Korea, Europe and many other countries, and UPC-A is the 12-digit barcode used in North America. EAN-8 is a short version for small products. Code 128 can hold letters and numbers and is widely used for logistics, inventory and internal tracking, while Code 39 is a simple format that older scanners read well.

Where do product barcode numbers come from

EAN-13 and UPC numbers for products sold in stores can't be made up; they must come from your country's GS1 organization, which issues company prefixes. COC turns the number you have into a barcode image. For internal use, feel free to use Code 128.

Choosing a type

Choose by purpose. For goods sold in shops use EAN-13 or UPC-A, and EAN-8 for very small items. For internal work such as stock, document numbers or asset tags, Code 128, which also handles letters, is the easiest choice. If the content has characters a type cannot hold, the page tells you, so follow its hint.

Printing and checking

A barcode lives on line thickness and the quiet white margins at both ends. Shrinking it too far or stretching it only sideways may stop it from reading. Test with a real scanner, and if your printer smudges lines, enlarge the code slightly. Contrast matters, so black bars on white are the safest.

FAQ

Is anything sent to a server when I make a code?

Nothing. What you enter and the code itself are created entirely inside your browser.

How do I add the check digit?

For EAN and UPC, leave the last check digit off and it's calculated automatically; if you include it, it's verified.

Will it scan when printed?

Download SVG for printing so the bars stay sharp. Don't crop the white margins on either side.

Can I get product numbers here?

No. Retail product numbers must be obtained from GS1.

Code 128 or Code 39?

Code 128 is better in most cases. It stores the same content more compactly and supports both letters and digits.

What if the digit count is wrong?

EAN-13, for example, has a fixed length. If it does not match, a hint is shown.

Can a phone camera read it?

Many current phone apps can, but for retail checkout codes it is more reliable to verify with a dedicated barcode reader.