Shiklo Tools
PDF40
Image20
Calculators & Converters25
Text & Writing13
Developer26
Video14
Audio14
Document14
Data & Spreadsheet12
Web & SEO9
OCR & Scanning5
Archive & File12
Security & Privacy23
Health & Medical29
QR & Barcode5

Barcode Generator

Create Code 128, EAN-13, EAN-8, UPC, Code 39, ITF-14, Codabar, MSI and Pharmacode barcodes and download them as SVG or PNG.

Barcodes let scanners read a number or code instantly and without typing errors. Shops scan EAN and UPC codes on products; warehouses, couriers and libraries use Code 128, Code 39 and ITF on labels, cartons and books; pharmacies use Pharmacode. This generator creates all of these from your value and checks that the value fits the barcode type you chose.

Choose the type, type the value, and adjust the bar width, height, text size and colours while the barcode updates live. Download it as an SVG, which stays perfectly sharp at any size and is best for print and labels, or as a high-resolution PNG for documents and websites. Barcodes are made in your browser, with no sign-up and no limits.

How to use Barcode Generator

  1. Choose the barcode type.
  2. Type the value (a valid example is filled in for each type).
  3. Adjust the size, text and colours if needed.
  4. Download the barcode as SVG or PNG.

Features

  • 11 barcode types, including Code 128, EAN-13, UPC-A and Code 39.
  • Checks the value for the chosen type.
  • Check digits for EAN and UPC added automatically.
  • Bar width, height, text size and colours.
  • SVG for print, high-resolution PNG for documents.
  • Runs in your browser with JsBarcode; nothing is uploaded.

Common uses

Print asset tags for equipment, make shelf and bin labels for a stock room, add barcodes to event tickets or membership cards, label samples in a lab, create library or file barcodes, or produce product codes for packaging once you have registered numbers. The SVG imports cleanly into Word, Illustrator, InDesign, Canva and label software.

Which barcode type to use

The right type depends on who will scan the code. Retail product codes must follow GS1 rules; internal labels can use whatever your scanners read.

TypeHoldsUsed for
Code 128All letters, digits and symbolsShipping labels, inventory, general use
EAN-13 / EAN-813 or 8 digitsRetail products worldwide
UPC-A / UPC-E12 or 8 digitsRetail products in North America
Code 39Capital letters, digits, a few symbolsIndustry, ID badges, defence
ITF-1414 digitsCartons and outer cases
CodabarDigits and a few symbolsLibraries, blood banks, couriers
PharmacodeA numberPharmaceutical packaging

Retail barcodes need registered numbers

Anyone can draw an EAN or UPC barcode, but for products sold in shops the number itself must come from GS1, the organisation that issues product numbers, through your country's GS1 office. Retailers check that the number belongs to your company. For internal use — stock rooms, events, asset tags — Code 128 is the best choice and needs no registration. To make many EAN-13 codes at once and check their numbers, use the EAN-13 Generator.

Printing barcodes that scan

Print in solid black on white for the best results; dark colours on a light background also work, but red bars and dark backgrounds often do not scan. Keep the quiet zone — the empty margin on each side — free of text and lines. Do not stretch a barcode to fit a space; scale it evenly. For print, use the SVG, which keeps every edge crisp at any size, and follow the size your retailer or printer asks for. Test a printed sample with the scanner or a phone app before printing a large batch.

Private and unlimited

Barcodes are drawn by JsBarcode, an open-source library, directly in your browser. There is no account, no watermark and no limit on how many you make, and the values you type are not sent anywhere. For QR codes, which hold web addresses and longer text, use the QR Code Generator.

Frequently asked questions

SVG or PNG — which should I download?

SVG for printing and labels, because it stays sharp at any size; PNG for documents and websites.

Can I change the barcode colour?

Yes, but dark bars on a light background scan best.

How do I make a barcode?

Choose the type, type the value, then download it as SVG or PNG.

Which barcode type should I use?

Code 128 for general labels; EAN-13 or UPC-A for retail products.

Why is my value not valid?

Each type accepts only certain characters and lengths; the hint under the type explains them.

Is the check digit added automatically?

Yes, for EAN and UPC when you enter the number without it.

Can I use these barcodes on products in shops?

Only with a product number registered through GS1.

Is it free?

Yes, with no sign-up, watermark or limit.

Related tools