Barcode question answer

Can I create product barcodes online myself? Is it legal?

For users who want to put barcodes on product packaging or use them in retail, e-commerce or internal sample workflows.

Direct answer

An online tool can generate a barcode image, but it cannot issue an official product barcode number. Internal labels and samples can use generated images, but retail product barcodes usually require a valid company prefix and product code managed under GS1 rules.

Separate the barcode image from the barcode number

Scenario
Can image be generated online?
Does the number need to be official?
Internal inventory or test labels
Yes, Code 128 or test EAN-13 can be used
Usually not an official retail code
Retail packaging or e-commerce listing
Yes, but only from a valid number
Usually yes, based on product barcode rules
Store-only temporary labels
Yes, for internal use
Should not be presented as official retail product barcodes
Existing valid 13-digit product code
Yes, generate the EAN-13 image
The number must already be valid and maintained

Recommended workflow

1

Check the use case

Internal labels and samples can use generated images. Product packaging for retail or platforms needs a valid number source.

2

Confirm whether you already have a valid code

If you do, generate the barcode image from that number. If not, do not invent a random 13-digit retail barcode.

3

Obtain and maintain product numbers

Businesses usually obtain a company prefix and assign product item codes according to GS1 rules.

4

Generate the image

After the number is valid, create the EAN-13 image and check the check digit, quiet zone and print size.

5

Test before launch

Scan the printed label with the target platform, POS or scanner to confirm the product information matches.

Common mistakes

Treating a randomly generated EAN-13 image as an official product barcode.
Generating an image without maintaining product data behind the number.
Changing barcode numbers frequently for the same product specification.
Using an internal Code 128 label as if it were a retail product barcode.

FAQ

Is it illegal to generate a product barcode image online?

Generating an image is not the key issue. The risk comes from using an invalid, invented or unauthorized number as an official product barcode.

Can I generate an image if I already have a valid EAN-13 number?

Yes. If the number is valid and the check digit is correct, an online tool can generate the EAN-13 barcode image for printing.

Can I use Code 128 for internal product management?

Yes. Code 128 is often better for internal SKUs, assets and warehouse labels because it supports mixed letters and numbers.