Barcode generator
Generate CODE128 or EAN-13 barcode images, validate retail check digits and download print-ready SVG or PNG files.
Generate CODE128 product and inventory labels or EAN-13 retail barcodes. The tool validates printable CODE128 characters and EAN-13 check digits before drawing a barcode.
Download SVG for printing or PNG for digital sharing. Standard EAN-13 numbers should be registered by the relevant GS1 authority for retail distribution; this generator does not issue product identifiers.
Frequently asked questions
What is the difference between CODE128 and EAN-13?
CODE128 is flexible for inventory IDs and labels with letters or digits. EAN-13 encodes a standardized 13-digit retail identifier and is commonly used on product packaging.
Can I generate a barcode for a retail product in Nepal?
You can create the graphic. For commercial retail identification, obtain a legitimate GS1 identifier where required; generating bars does not register or allocate a product number.
How many digits does an EAN-13 barcode need?
Twelve data digits plus one check digit. The tool accepts 12 digits for generation or 13 digits if the supplied check digit is correct.
Why does my EAN-13 number show a checksum error?
The last digit must match a weighted calculation based on the first twelve digits. Correct the product number or supply the twelve data digits rather than inventing a final digit.
Can CODE128 encode letters and numbers?
Yes. The current CODE128 input accepts printable ASCII letters, numbers and symbols, up to 80 characters per label. Unicode or Devanagari text is not supported in this mode.
Which file format is best for printing barcodes?
SVG keeps edges crisp when printing label sheets or enlarging artwork. PNG is useful for standard raster workflows but should not be stretched after exporting.
Can a barcode contain a website link?
A CODE128 barcode can hold printable URL text, but ordinary retail barcode scanners may treat it as a raw string. For a phone-openable website, QR codes are usually a better fit.
Generate a QR codeWhy will a barcode not scan on a label printer?
Common causes include low print resolution, quiet zones that are too narrow, unsuitable scaling, damaged labels and poor contrast. Print at an appropriate physical size and scan-test the label.
Does generating a barcode update my stock automatically?
No. This is a graphics generator; it does not connect to a POS, inventory database or scanner service. Integration is a separate business-software task.
Explore POS and inventoryCan I change barcode colors and background?
Yes. Use the color pickers, but keep a strong light background and dark bars. Nonstandard color combinations may reduce readability on laser or camera scanners.
More from Code Deb
Read about our agency, explore available services, or contact the team for a project discussion.