Barcode Generator

Create validated Code 128 and EAN-13 barcode artwork.

Verify EAN-13 output against your authorized GS1 registration before commercial use.

How to use it

A clear, quick workflow

  1. Choose Code 128 Set B or EAN-13 and enter the value to encode.
  2. Set the module width, bar height, and readable-text option, then generate the barcode.
  3. Inspect the preview and download PNG or SVG, or copy the validated encoded value.

Example

Enter 400638133393 for a known EAN-13 example, or enter the first 12 digits and let the tool calculate the check digit.

Limits and behavior

Code 128 Set B accepts up to 48 printable ASCII characters. EAN-13 accepts 12 digits and calculates the check digit, or accepts 13 digits and verifies it. Quiet zones are included. A technically valid image does not grant a product identifier: verify commercial EAN use against an authorized GS1 registration and test printed labels with your target scanner.

FAQ

Does the tool create a registered retail barcode number?

No. It renders a valid barcode from the value you provide. Retail identifiers and company prefixes must come from the appropriate GS1 organization.

Practical guidance

Choose and use this tool with confidence

Choose Code 128 or EAN-13

Use Code 128 Set B for internal labels and printable ASCII text such as inventory codes. Use EAN-13 only for a 13-digit retail identifier; its last digit checks transcription accuracy but does not register or authorize the number.

  • A 12-digit EAN input receives a calculated check digit; a 13-digit input is accepted only when that digit is valid.
  • Duplicate or invented EAN values can still be technically valid, so commercial identifiers must come from the appropriate GS1 organization.