---
title: "Barcode Number Generator – Valid Internal Codes"
description: "Free barcode number generator. Create sequential or random EAN-13, UPC-A and EAN-8 numbers with valid check digits for in-store and internal use. CSV export."
url: https://barcodejar.com/barcode-number-generator
source: BarcodeJar (free barcode tools)
---

# Barcode Number Generator

Generate barcode numbers with valid check digits for your own shop, stock room or warehouse. By default it uses the in-store ranges reserved by GS1, so your numbers never clash with real products.

**Selling through retailers or Amazon?** Generated numbers are only for use inside your business. Products sold in shops or on marketplaces need GTINs licensed from GS1, because retailers check who owns each number. [How to get a real barcode →](https://barcodejar.com/guides/how-to-get-a-barcode-for-your-product)

_Interactive tool: open https://barcodejar.com/barcode-number-generator to use it in your browser. It is free with no sign-up._

## How to generate internal barcode numbers

1.  Choose a format: EAN-13, UPC-A, EAN-8 or any length.
2.  Keep the restricted prefix (2 for EAN-13, 4 for UPC-A) or enter your own GS1 company prefix.
3.  Set the start number and how many you need, or switch to random.
4.  Copy the list or download the CSV, then turn it into barcodes with the bulk barcode generator.

## Which numbers are safe for internal use?

GS1 reserves certain prefixes for restricted circulation, meaning numbers a company assigns for its own use. They will never be issued to a brand, so internal codes in these ranges can't collide with a real product.

| Format | Restricted prefixes | Notes |
| --- | --- | --- |
| EAN-13 | 20–29 | Your GS1 office sets how each 2x range is used; many retailers use some for price- or weight-embedded labels |
| UPC-A | 4 (and 2) | Number system 4 is for in-store use; 2 is for random-weight items printed by store scales |
| EAN-8 | 0, 2 | Restricted circulation numbers (RCN-8) |

Pick a range your own systems don't already use. If your till prints weighed-item labels starting with 21 or 02, keep those clear and use 20 or 4 for item codes. More on each range: [200–299](https://barcodejar.com/barcode-prefix/200-299), [UPC 4](https://barcodejar.com/barcode-prefix/040-049), [barcodes starting with 2](https://barcodejar.com/barcode-prefix/2).

## When you need GS1 instead

-   You sell to retailers, distributors or supermarkets.
-   You list products on Amazon, Walmart, Google Shopping or other marketplaces that require a GTIN.
-   Your products cross into other companies' systems, such as wholesalers or 3PL warehouses.

In those cases the number must be registered to your company. A GS1 company prefix lets you create your own GTINs; then use this tool with your prefix in the Prefix box to number your products with correct check digits.

## Turning numbers into barcodes

Paste the list into the [bulk barcode generator](https://barcodejar.com/bulk-barcode-generator) to download PNG, SVG or PDF files, or into the [barcode label generator](https://barcodejar.com/barcode-label-generator) to print on Avery-style sheets. For codes with letters, such as SKUs or bin locations, the [inventory barcode generator](https://barcodejar.com/inventory-barcode-generator) uses Code 128. For test data that looks like real retail barcodes, try the [random barcode generator](https://barcodejar.com/random-barcode-generator).

## Frequently asked questions

### Can I make up my own barcode numbers?

For use inside your own business, yes. Use the restricted ranges (EAN-13 starting with 2, UPC starting with 4, EAN-8 starting with 0 or 2) so your numbers can’t clash with real products. For anything sold through other retailers or marketplaces, you need numbers licensed from GS1.

### Are these barcode numbers valid for selling on Amazon or in stores?

No. They have correct check digits, but they are not registered to your company. Retailers and Amazon check GTINs against GS1 data. Get a GS1 company prefix from your national GS1 office; see [how to get a barcode for your product](https://barcodejar.com/guides/how-to-get-a-barcode-for-your-product).

### Why start with 2?

GS1 reserves EAN-13 prefixes 200–299 for restricted circulation within a company or store. No GS1-licensed product will ever use them, so they are safe for internal codes. Check that your own point-of-sale system doesn’t already use a 2x range for weighed items.

### What check digit do the numbers use?

The standard GS1 modulo 10 check digit, so every scanner and system that validates UPC/EAN accepts them. See the [check digit calculator](https://barcodejar.com/check-digit-calculator) for the working.

### Should I use EAN-13 or Code 128 for internal codes?

Use EAN-13 or UPC if your till or software expects retail-style numbers. For warehouse, asset and inventory labels with letters or longer IDs, Code 128 is more flexible and doesn’t need a check digit scheme.

### How many numbers can I generate?

Up to 5,000 at a time, sequential or random without duplicates. Copy them or download a CSV, then make the barcodes with the bulk generator.

## Related free tools

[**Bulk Barcode Generator**Paste a list or CSV, download hundreds as ZIP or PDF.](https://barcodejar.com/bulk-barcode-generator)[**Sequential Barcode Generator**Numbered barcode runs with prefix, padding and step.](https://barcodejar.com/sequential-barcode-generator)[**Inventory Barcode Generator**SKU and bin location labels for your stock room.](https://barcodejar.com/inventory-barcode-generator)[**Check Digit Calculator**GS1 check digits for UPC, EAN, GTIN, SSCC and ISBN.](https://barcodejar.com/check-digit-calculator)[**Random Barcode Generator**Valid random UPC, EAN, Code 128 and more for testing.](https://barcodejar.com/random-barcode-generator)[**How to Get a Barcode for Your Product**GS1, resellers, Amazon and retail rules explained.](https://barcodejar.com/guides/how-to-get-a-barcode-for-your-product)[**Barcode Label Generator**Print barcodes on Avery and other label sheets as PDF.](https://barcodejar.com/barcode-label-generator)
