🎯 Рекомендуемые коллекции
Балансированные коллекции примеров кода из различных категорий, которые вы можете исследовать
Примеры Штрих-кодов UPC/EAN
Коллекция штрих-кодов GTIN-12 (UPC), GTIN-13 (EAN), GTIN-8 и GTIN-14 для тестирования валидации
📝 Штрих-коды UPC/EAN по Типу и Региону
🟢 simple
Действительные штрих-коды продуктов из различных регионов с правильными контрольными цифрами
# UPC/EAN Barcode Samples
# Copy a barcode to test the UPC/EAN Validator
# ============================================
# GTIN-12 (UPC-A) - 12 digits
# Used primarily in North America (USA & Canada)
# ============================================
# Standard UPC-A (system digit 0 = regular product)
012345678905
012345678912
042100005264
# Variable weight items (system digit 2)
212345678909
234567890129
# National Drug Code (system digit 3)
312345678906
345678901236
# Local use (system digit 4)
412345678903
456789012343
# ============================================
# GTIN-13 (EAN-13) - 13 digits
# Used internationally outside North America
# ============================================
# United States & Canada (prefix 000-139)
0012345678905
0123456789012
# France (prefix 300-379)
3012345678902
3301234567893
3701234567891
# Germany (prefix 400-440)
4001234567891
4123456789018
4312345678902
# Japan (prefix 450-459, 490-499)
4501234567896
4901234567894
4561234567890
4912345678904
# Russia (prefix 460-469)
4601234567893
4612345678903
4701234567890
# Taiwan (prefix 471)
4711234567899
# United Kingdom (prefix 500-509)
5001234567890
5012345678900
# Greece (prefix 520-529)
5201234567894
5281234567896
# Cyprus (prefix 529)
5291234567895
# Belgium & Luxembourg (prefix 540-549)
5401234567898
5412345678908
5421234567896
# Ireland (prefix 539)
5391234567892
# Portugal (prefix 560)
5601234567892
# Iceland (prefix 569)
5691234567893
# Denmark (prefix 570-579)
5701234567899
5712345678909
5791234567890
# Poland (prefix 590)
5901234567893
# Romania (prefix 594)
5941234567899
# Hungary (prefix 599)
5991234567894
# South Africa (prefix 600-601)
6001234567899
6011234567898
# Israel (prefix 729)
7291234567893
# Sweden (prefix 730-739)
7301234567899
7312345678909
7351234567894
7391234567890
# Norway (prefix 700-709)
7001234567898
7012345678908
# Guatemala (prefix 740)
7401234567896
# Mexico (prefix 750)
7501234567893
# Canada (prefix 754-755)
7541234567899
7551234567898
# Venezuela (prefix 759)
7591234567894
# Switzerland & Liechtenstein (prefix 760-769)
7601234567890
7612345678900
7641234567896
7691234567891
# Colombia (prefix 770-771)
7701234567897
7711234567896
# Uruguay (prefix 773)
7731234567894
# Peru (prefix 775)
7751234567892
# Bolivia (prefix 777)
7771234567890
# Argentina (prefix 778-779)
7781234567899
7791234567898
# Chile (prefix 780)
7801234567894
# Ecuador (prefix 786)
7861234567898
# Brazil (prefix 789-790)
7891234567895
7901234567891
# Italy (prefix 800-839)
8001234567897
8012345678907
8301234567898
# Spain (prefix 840-849)
8401234567895
8412345678905
8431234567892
8491234567896
# Cuba (prefix 850)
8501234567892
# Czech Republic (prefix 859)
8591234567893
# Serbia (prefix 860)
8601234567899
# Turkey (prefix 868-869)
8681234567891
8691234567890
# Netherlands (prefix 870-879)
8712345678906
8718456789050
8801234567893
# South Korea (prefix 880)
8801234567893
# Cambodia (prefix 884)
8841234567899
# Thailand (prefix 885)
8851234567898
# Singapore (prefix 888)
8881234567895
# India (prefix 890)
8901234567890
# Vietnam (prefix 893)
8931234567897
# Pakistan (prefix 896)
8961234567894
# Indonesia (prefix 899)
8991234567891
# Austria (prefix 900-919)
9001234567896
9012345678906
9101234567893
9111234567892
9191234567894
# Australia (prefix 930-939)
9301234567897
9312345678907
9371234567890
9391234567898
# New Zealand (prefix 940-949)
9401234567894
9421234567892
9471234567897
9491234567895
# Malaysia (prefix 955)
9551234567896
# Macau (prefix 958)
9581234567893
# ISSN (Serial Publications) (prefix 977)
9771234567898
# ISBN (Books) (prefix 978-979)
9780143034650
9780201379624
9780061122415
9791091123457
# Refund Receipts (prefix 980)
9801234567892
# Common Currency Coupons (prefix 981-984)
9811234567891
9821234567890
9831234567899
9841234567898
# Coupons (prefix 990-999)
9901234567899
9912345678909
9951234567894
9991234567890
# China (prefix 690-699)
6901234567892
6912345678902
6951234567897
6981234567894
# ============================================
# GTIN-8 (EAN-8) - 8 digits
# Used for small packages where space is limited
# ============================================
# Short format barcodes
00123457
01234565
41234563
59012344
97801436
50012343
53912343
# ============================================
# GTIN-14 - 14 digits
# Used for logistics/shipping containers
# ============================================
# Base unit (indicator 0)
01234567890128
00123456789012
# Packaging levels (indicator 1-8)
11234567890125
21234567890122
31234567890129
41234567890126
51234567890123
61234567890120
71234567890127
81234567890124
# Variable measure (indicator 9)
91234567890121
# ============================================
# INVALID EXAMPLES (for testing)
# ============================================
# Invalid length
1234567 (too short - 7 digits)
123456789011 (too long - 11 digits)
12345678901234 (too long - 14 digits, not valid GTIN-14)
123456789012345 (too long - 15 digits)
# Non-numeric characters
ABCDEFGHIJKL
12345-6789012
12A456789012
# Wrong checksum for GTIN-12 (UPC-A)
012345678906 (wrong check digit)
123456789019 (wrong check digit)
# Wrong checksum for GTIN-13 (EAN-13)
4001234567891 (wrong check digit)
0123456789013 (wrong check digit)
# Wrong checksum for GTIN-8
00123457 (wrong check digit)
01234568 (wrong check digit)
# Wrong checksum for GTIN-14
01234567890122 (wrong check digit)
11234567890124 (wrong check digit)
# Invalid system digit for UPC-A
512345678901 (5 is not a valid system digit)
612345678901 (6 is not a valid system digit)
712345678901 (7 is not a valid system digit)
812345678901 (8 is not a valid system digit)
912345678901 (9 is not a valid system digit)
# Invalid prefix
0012345678901 (prefix 001 is unusual)
9971234567890 (prefix 997 is not assigned)
# All zeros
000000000000
0000000000000
00000000000000
000000000000000
# All nines
999999999999
9999999999999
99999999999999
999999999999999