Kharabeesh
On-device ع

Barcode Generator

Create Code 128, EAN-13, EAN-8, UPC-A or Code 39 barcodes on your device. It computes and verifies check digits, prints the readable text, and downloads SVG or PNG.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose the type: Code 128 for general text and numbers, EAN-13 / EAN-8 / UPC-A for product numbers, Code 39 for legacy systems.
  2. Enter the data. For EAN and UPC you can omit the check digit and we add it; if you include it, we verify it.
  3. Adjust bar width, height and colours if you like.
  4. Download SVG for print (stays sharp at any size) or PNG, and test it with a scanner before printing.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

Can I use any EAN-13 number for my product?

The tool draws a barcode for any well-formed number, but official product numbers for retail are issued by GS1. Numbers starting with 2 are reserved for in-store use.

What is the check digit?

The last digit of EAN and UPC, computed from the others (alternating weights 3 and 1) so a scanner can detect a misread. If you type a wrong check digit we show the correct one.

Why does Code 128 not accept Arabic?

Code 128 supports ASCII only (English letters, digits and basic symbols). For Arabic text use the QR code generator.

Why will my barcode not scan?

Usually size or contrast: keep dark bars on a light background, do not print the bars too thin, and keep white space on both sides (the quiet zone is added automatically).

Formulas & sources

Related tools