Get sample barcodes to scan

One valid example of every code we make, on a sheet for A4 or Letter paper. Print it to test a scanner or a label printer, or ask for fresh random values.

Free, no sign-up, no credit card. Codes never expire, and nothing you type is sent anywhere.

Drawing the sheet…

The same examples every time. Retail numbers start with the digits kept for use inside a shop, so they don't name a real product.
CodeWhat a scanner sends
EAN-132001234567893
EAN-896385074
UPC-A020123456782
UPC-E02012353
ISBN9780306406157
ISSN9770378595002
ITF-1412001234567890
Code 128SAMPLE-128
Code 39SAMPLE-39
CodabarA1234567890A
GS1-128(01)09521234543213(10)ABC123
Data MatrixSAMPLE DATA MATRIX 0001
PDF417SAMPLE PDF417 0001
AztecSAMPLE AZTEC 0001
QR codehttps://example.com/sample

How to get sample barcodes to scan

  1. Choose A4 or Letter paper.
  2. Download the PDF to print, or the PNG to look at on screen.
  3. Print at 100%, not "fit to page", and scan each code with your scanner.
  4. For fresh numbers, select New random values. Every random number passes its own checks.

What to know

What is on the sheet

  • EAN-13, EAN-8, UPC-A, UPC-E, ISBN, and ISSN with an issue add-on.
  • ITF-14, Code 128, Code 39, Codabar, and GS1-128.
  • Data Matrix, PDF417, Aztec, and a QR code.
  • Under each code, its name and what a scanner should send for it.

Sample numbers, not product numbers

The EAN-13 and UPC-A samples start with the digits that GS1 keeps for use inside a shop, so they don't name a product on a shelf. The ISBN and ISSN samples are examples from the standards and may belong to real publications. Use these codes to test, and don't put them on products or books you sell.

How big the codes are

Bars on the sheet are 0.34 mm wide, close to the 0.33 mm standard for shop barcodes. Square codes are drawn at twice that size. The PNG is 300 pixels per inch with whole pixels for each bar, and the PDF is vector, so it stays sharp at any size.

Common problems

A code on my printout doesn't scan

Print at 100% and with the printer's best quality, because thin bars blur on draft settings. Hold the scanner level, a little back from the paper. If one type fails while the rest work, check that the type is switched on in the scanner's settings.

A scanner shows a different number than the one under the code

Scanners can add or remove the check digit, convert UPC-E to UPC-A, or add a symbology identifier. The scanner test page shows exactly what arrived and what setting is likely to cause the difference.

Questions

Are these real, scannable barcodes?

Yes. Each one is checked by reading it back with a barcode reader before you download it, and the numbers pass their own check digits.

Can I scan them from the screen?

Phone cameras and imagers can. Laser scanners often can't read a screen, so print the sheet.

What do the random values give me?

New numbers of every type that are valid, such as an EAN-13 with the right check digit. They suit tests that need many different codes, such as a label printer or a stock system.

Do you see the sheet I make?

No. Your codes are made in your browser. Nothing you type is sent anywhere.