Skip to content

Random barcode

Random barcode generator with valid check digits

Press Random for a fresh EAN-13, UPC-A, EAN-8 or ITF number with a correct check digit, then download the barcode as SVG or PNG. Free, no sign-up, made in your browser.

Random works for EAN-13, UPC-A, EAN-8 and ITF. For other formats, type any test value.

What the random barcode generator makes

Each press of the Random button creates a new number of the right length for the format you picked, and calculates the check digit properly. That matters because many systems reject a barcode whose last digit does not match. A random string of digits typed by hand usually fails that test; these pass.

The result is a barcode that scans cleanly and looks exactly like a real one, which is what you need for testing software, filling a design mock-up or building a demo product catalogue.

Random numbers are made in your browser, so you can press the button as often as you like. Nothing is logged and there is no daily limit. Formats without a retail check digit, such as Code 128, do not need the button: any text you type is valid, so a made-up SKU or order number works as a test value straight away.

Random barcode numbers by format

Good uses for random barcodes

Replace every random number with a licensed one before anything goes to print for sale.

Random numbers are for testing only

A random number can still belong to someone. Every valid-looking EAN or UPC falls inside a range that GS1 may have licensed to a real company, so a random code on your product could clash with another item in a shop's system. Marketplaces such as Amazon also check barcodes against the GS1 database and reject numbers that are not registered to you.

If you are selling a product, license numbers from GS1 and type them into the generator instead. Use random numbers for development, training, placeholder artwork and scanner tests.

How to generate a random barcode

  1. Choose EAN-13, UPC-A, EAN-8 or ITF in the generator.
  2. Press Random. A new number with a valid check digit appears and the barcode updates.
  3. Press Random again until you have the number you want, or edit it by hand.
  4. Download SVG for print and design work, or PNG for documents, slides and test screens.

Related

FAQ

Questions

Is a random barcode number valid?

The check digit is valid, so it scans and passes format checks. It is not registered to you with GS1, so it is not valid for selling a product.

Can I use a random UPC generator for Amazon listings?

No. Amazon checks product barcodes against GS1 records, and a random UPC is not licensed to you. Use numbers bought from GS1 for real listings.

How do I get a random EAN-13 barcode?

Select EAN-13 in the generator and press Random. You get a 13-digit number with the correct check digit, ready to download as SVG or PNG.

Can I make a random QR code?

The Random button is for number barcodes. For a QR code, type any test text or link into the QR code generator, and it will make a code that scans to that text.

Can I make random barcodes to scan in other formats?

For Code 128, Code 39, Data Matrix, PDF417 and Aztec, type any test value you like. These formats have no retail check digit to get right.