Barcode reference

Supported barcode types

All 111 symbologies currently exposed by the Barcode Foundry engine. Every example uses the engine’s fixed, known-good value and required sample options.

Valid EAN-5 (5 digit addon) example
Retail / GS1

EAN-5 (5 digit addon)

Engine identifier: ean5

Sample options: includetext guardwhitespace

90200
Valid EAN-2 (2 digit addon) example
Retail / GS1

EAN-2 (2 digit addon)

Engine identifier: ean2

Sample options: includetext guardwhitespace

05
Valid EAN-13 example
Retail / GS1

EAN-13

Engine identifier: ean13

Sample options: includetext guardwhitespace

9520123456788
Valid EAN-8 example
Retail / GS1

EAN-8

Engine identifier: ean8

Sample options: includetext guardwhitespace

95200002
Valid UPC-A example
Retail / GS1

UPC-A

Engine identifier: upca

Sample options: includetext

012345000058
Valid UPC-E example
Retail / GS1

UPC-E

Engine identifier: upce

Sample options: includetext

01234558
Valid ISBN example
Retail / GS1

ISBN

Engine identifier: isbn

Sample options: includetext guardwhitespace

978-1-56581-231-4 90000
Valid ISMN example
Retail / GS1

ISMN

Engine identifier: ismn

Sample options: includetext guardwhitespace

979-0-2605-3211-3
Valid ISSN example
Retail / GS1

ISSN

Engine identifier: issn

Sample options: includetext guardwhitespace

0311-175X 00 17
Valid Marks & Spencer example
Linear

Marks & Spencer

Engine identifier: mands

Sample options: includetext

0642118
Valid Code 128 example
Linear

Code 128

Engine identifier: code128

Sample options: includetext

Count01234567!
Valid GS1-128 example
Linear

GS1-128

Engine identifier: gs1-128

Sample options: includetext

(01)09521234543213(3103)000123
Valid EAN-14 example
Retail / GS1

EAN-14

Engine identifier: ean14

Sample options: includetext

(01) 0 952 8765 43210 8
Valid SSCC-18 example
Retail / GS1

SSCC-18

Engine identifier: sscc18

Sample options: includetext

(00) 0 9528765 432101234 6
Valid Code 39 example
Linear

Code 39

Engine identifier: code39

Sample options: includetext includecheck includecheckintext

THIS IS CODE 39
Valid Code 39 Extended example
Linear

Code 39 Extended

Engine identifier: code39ext

Sample options: includetext includecheck includecheckintext

Code39 Ext!
Valid Italian Pharmacode example
Healthcare

Italian Pharmacode

Engine identifier: code32

Sample options: includetext

01234567
Valid Pharmazentralnummer (PZN) example
Healthcare

Pharmazentralnummer (PZN)

Engine identifier: pzn

Sample options: includetext

123456
Valid Code 93 example
Linear

Code 93

Engine identifier: code93

Sample options: includetext includecheck

THIS IS CODE 93
Valid Code 93 Extended example
Linear

Code 93 Extended

Engine identifier: code93ext

Sample options: includetext includecheck

Code93 Ext!
Valid Interleaved 2 of 5 (ITF) example
Linear

Interleaved 2 of 5 (ITF)

Engine identifier: interleaved2of5

Sample options: height=12.5 includecheck includetext includecheckintext

2401234567
Valid ITF-14 example
Linear

ITF-14

Engine identifier: itf14

Sample options: includetext

0 952 1234 54321 3
Valid Deutsche Post Identcode example
Postal

Deutsche Post Identcode

Engine identifier: identcode

Sample options: includetext

563102430313
Valid Deutsche Post Leitcode example
Postal

Deutsche Post Leitcode

Engine identifier: leitcode

Sample options: includetext

21348075016401
Valid GS1 DataBar Omnidirectional example
Retail / GS1

GS1 DataBar Omnidirectional

Engine identifier: databaromni

No additional sample options required

(01)09521234543213
Valid GS1 DataBar Stacked example
Retail / GS1

GS1 DataBar Stacked

Engine identifier: databarstacked

No additional sample options required

(01)09521234543213
Valid GS1 DataBar Stacked Omnidirectional example
Retail / GS1

GS1 DataBar Stacked Omnidirectional

Engine identifier: databarstackedomni

No additional sample options required

(01)24012345678905
Valid GS1 DataBar Truncated example
Retail / GS1

GS1 DataBar Truncated

Engine identifier: databartruncated

No additional sample options required

(01)09521234543213
Valid GS1 DataBar Limited example
Retail / GS1

GS1 DataBar Limited

Engine identifier: databarlimited

No additional sample options required

(01)09521234543213
Valid GS1 DataBar Expanded example
Retail / GS1

GS1 DataBar Expanded

Engine identifier: databarexpanded

No additional sample options required

(01)09521234543213(3103)000123
Valid GS1 DataBar Expanded Stacked example
Retail / GS1

GS1 DataBar Expanded Stacked

Engine identifier: databarexpandedstacked

Sample options: segments=4

(01)09521234543213(3103)000123
Valid GS1 North American Coupon example
Retail / GS1

GS1 North American Coupon

Engine identifier: gs1northamericancoupon

Sample options: includetext segments=8

(8110)106141416543213500110000310123196000
Valid Pharmaceutical Binary Code example
Healthcare

Pharmaceutical Binary Code

Engine identifier: pharmacode

Sample options: showborder

117480
Valid Two-track Pharmacode example
Healthcare

Two-track Pharmacode

Engine identifier: pharmacode2

Sample options: includetext showborder

117480
Valid Code 25 example
Linear

Code 25

Engine identifier: code2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid Industrial 2 of 5 example
Linear

Industrial 2 of 5

Engine identifier: industrial2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid IATA 2 of 5 example
Linear

IATA 2 of 5

Engine identifier: iata2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid Matrix 2 of 5 example
Matrix

Matrix 2 of 5

Engine identifier: matrix2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid COOP 2 of 5 example
Linear

COOP 2 of 5

Engine identifier: coop2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid Datalogic 2 of 5 example
Linear

Datalogic 2 of 5

Engine identifier: datalogic2of5

Sample options: includetext includecheck includecheckintext

01234567
Valid Code 11 example
Linear

Code 11

Engine identifier: code11

Sample options: includetext includecheck includecheckintext

0123456789
Valid BC412 example
Linear

BC412

Engine identifier: bc412

Sample options: semi includetext includecheckintext

BC412SEMI
Valid Codabar example
Linear

Codabar

Engine identifier: rationalizedCodabar

Sample options: includetext includecheck includecheckintext

A0123456789B
Valid USPS Intelligent Mail example
Postal

USPS Intelligent Mail

Engine identifier: onecode

No additional sample options required

0123456709498765432101234567891
Valid USPS POSTNET example
Postal

USPS POSTNET

Engine identifier: postnet

Sample options: includetext includecheckintext

01234
Valid USPS PLANET example
Linear

USPS PLANET

Engine identifier: planet

Sample options: includetext includecheckintext

01234567890
Valid Royal Mail 4 State Customer Code example
Postal

Royal Mail 4 State Customer Code

Engine identifier: royalmail

Sample options: includetext

LE28HS9Z
Valid AusPost 4 State Customer Code example
Postal

AusPost 4 State Customer Code

Engine identifier: auspost

Sample options: includetext custinfoenc=character

5956439111ABA 9
Valid Royal Dutch TPG Post KIX example
Postal

Royal Dutch TPG Post KIX

Engine identifier: kix

Sample options: includetext

1231FZ13XHS
Valid Japan Post 4 State Customer Code example
Postal

Japan Post 4 State Customer Code

Engine identifier: japanpost

Sample options: includetext includecheckintext

6540123789-A-K-Z
Valid MSI Modified Plessey example
Linear

MSI Modified Plessey

Engine identifier: msi

Sample options: includetext includecheck includecheckintext

0123456789
Valid Plessey UK example
Linear

Plessey UK

Engine identifier: plessey

Sample options: includetext includecheckintext

01234ABCD
Valid Telepen example
Linear

Telepen

Engine identifier: telepen

Sample options: includetext

ABCDEF
Valid Telepen Numeric example
Linear

Telepen Numeric

Engine identifier: telepennumeric

Sample options: includetext

01234567
Valid PosiCode example
Linear

PosiCode

Engine identifier: posicode

Sample options: version=b inkspread=-0.5 parsefnc includetext

ABC123
Valid Codablock F example
Stacked

Codablock F

Engine identifier: codablockf

Sample options: columns=8

CODABLOCK F 34567890123456789010040digit
Valid Code 16K example
Stacked

Code 16K

Engine identifier: code16k

No additional sample options required

Abcd-1234567890-wxyZ
Valid Code 49 example
Stacked

Code 49

Engine identifier: code49

No additional sample options required

MULTIPLE ROWS IN CODE 49
Valid Channel Code example
Linear

Channel Code

Engine identifier: channelcode

Sample options: height=12.5 includetext

3493
Valid Flattermarken example
Linear

Flattermarken

Engine identifier: flattermarken

Sample options: inkspread=-0.25 showborder borderleft=0 borderright=0

11099
Valid Custom 1D symbology example
Linear

Custom 1D symbology

Engine identifier: raw

Sample options: height=12.5

331132131313411122131311333213114131131221323
Valid Custom 4 state symbology example
Linear

Custom 4 state symbology

Engine identifier: daft

No additional sample options required

FATDAFTDAD
Valid Miscellaneous symbols example
Linear

Miscellaneous symbols

Engine identifier: symbol

No additional sample options required

fima
Valid PDF417 example
Stacked

PDF417

Engine identifier: pdf417

Sample options: columns=2

This is PDF417
Valid Compact PDF417 example
Stacked

Compact PDF417

Engine identifier: pdf417compact

Sample options: columns=2

This is compact PDF417
Valid MicroPDF417 example
Stacked

MicroPDF417

Engine identifier: micropdf417

No additional sample options required

MicroPDF417
Valid Data Matrix example
Matrix

Data Matrix

Engine identifier: datamatrix

No additional sample options required

This is Data Matrix!
Valid Data Matrix Rectangular example
Matrix

Data Matrix Rectangular

Engine identifier: datamatrixrectangular

No additional sample options required

1234
Valid Data Matrix Rectangular Extension example
Matrix

Data Matrix Rectangular Extension

Engine identifier: datamatrixrectangularextension

Sample options: version=8x96

1234
Valid Royal Mail Mailmark example
Postal

Royal Mail Mailmark

Engine identifier: mailmark

Sample options: type=29

JGB 012100123412345678AB19XY1A 0 www.xyz.com
Valid QR Code example
Matrix

QR Code

Engine identifier: qrcode

Sample options: eclevel=M

http://goo.gl/0bis
Valid Swiss QR Code example
Matrix

Swiss QR Code

Engine identifier: swissqrcode

Sample options: parse

SPC^CR^LF0200^CR^LF1^CR^LFCH5800791123000889012^CR^LFS^CR^LFRobert Schneider AG^CR^LFRue du Lac^CR^LF1268^CR^LF2501^CR^LFBiel^CR^LFCH^CR^LF^CR^LF^CR^LF^CR^LF^CR^LF^CR^LF^CR^LF^CR^LF199.95^CR^LFCHF^CR^LFK^CR^LFPia-Maria Rutschmann-Schnyder^CR^LFGrosse Marktgasse 28^CR^LF9400 Rorschach^CR^LF^CR^LF^CR^LFCH^CR^LFSCOR^CR^LFRF18539007547034^CR^LF^CR^LFEPD
Valid Micro QR Code example
Matrix

Micro QR Code

Engine identifier: microqrcode

No additional sample options required

1234
Valid Rectangular Micro QR Code (rMQR) example
Matrix

Rectangular Micro QR Code (rMQR)

Engine identifier: rectangularmicroqrcode

Sample options: version=R17x139

1234
Valid MaxiCode example
Matrix

MaxiCode

Engine identifier: maxicode

Sample options: mode=2 parse

[)>^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
Valid Aztec Code example
Matrix

Aztec Code

Engine identifier: azteccode

Sample options: format=full

This is Aztec Code
Valid Compact Aztec Code example
Matrix

Compact Aztec Code

Engine identifier: azteccodecompact

No additional sample options required

1234
Valid Aztec Runes example
Matrix

Aztec Runes

Engine identifier: aztecrune

No additional sample options required

1
Valid Code One example
Matrix

Code One

Engine identifier: codeone

No additional sample options required

Code One
Valid Han Xin Code example
Matrix

Han Xin Code

Engine identifier: hanxin

No additional sample options required

This is Han Xin
Valid DotCode example
Matrix

DotCode

Engine identifier: dotcode

Sample options: inkspread=0.16

This is DotCode
Valid Ultracode example
Matrix

Ultracode

Engine identifier: ultracode

Sample options: eclevel=EC2

Awesome colours!
Valid GS1 Composite 2D Component example
Composite

GS1 Composite 2D Component

Engine identifier: gs1-cc

Sample options: ccversion=b cccolumns=4

(01)09521234543213(3103)000123
Valid EAN-13 Composite example
Composite

EAN-13 Composite

Engine identifier: ean13composite

Sample options: includetext

9520123456788|(99)1234-abcd
Valid EAN-8 Composite example
Composite

EAN-8 Composite

Engine identifier: ean8composite

Sample options: includetext

95200002|(21)A12345678
Valid UPC-A Composite example
Composite

UPC-A Composite

Engine identifier: upcacomposite

Sample options: includetext

012345000058|(99)1234-abcd
Valid UPC-E Composite example
Composite

UPC-E Composite

Engine identifier: upcecomposite

Sample options: includetext

01234558|(15)021231
Valid GS1 DataBar Omnidirectional Composite example
Composite

GS1 DataBar Omnidirectional Composite

Engine identifier: databaromnicomposite

No additional sample options required

(01)09521234543213|(11)990102
Valid GS1 DataBar Stacked Composite example
Composite

GS1 DataBar Stacked Composite

Engine identifier: databarstackedcomposite

No additional sample options required

(01)09521234543213|(17)010200
Valid GS1 DataBar Stacked Omnidirectional Composite example
Composite

GS1 DataBar Stacked Omnidirectional Composite

Engine identifier: databarstackedomnicomposite

No additional sample options required

(01)03612345678904|(11)990102
Valid GS1 DataBar Truncated Composite example
Composite

GS1 DataBar Truncated Composite

Engine identifier: databartruncatedcomposite

No additional sample options required

(01)09521234543213|(11)990102
Valid GS1 DataBar Limited Composite example
Composite

GS1 DataBar Limited Composite

Engine identifier: databarlimitedcomposite

No additional sample options required

(01)09521234543213|(21)abcdefghijklmnopqrst
Valid GS1 DataBar Expanded Composite example
Composite

GS1 DataBar Expanded Composite

Engine identifier: databarexpandedcomposite

No additional sample options required

(01)09521234543213(3103)001234|(91)1A2B3C4D5E
Valid GS1 DataBar Expanded Stacked Composite example
Composite

GS1 DataBar Expanded Stacked Composite

Engine identifier: databarexpandedstackedcomposite

Sample options: segments=4

(01)09521234543213(10)ABCDEF|(21)12345678
Valid GS1-128 Composite example
Composite

GS1-128 Composite

Engine identifier: gs1-128composite

Sample options: ccversion=c

(00)095287654321012346|(02)09521234543213(37)24(10)1234567ABCDEFG
Valid D3 AQR (beta) example
Matrix

D3 AQR (beta)

Engine identifier: d3aqr

Sample options: category=2842 hostratio=2

HTTPS://ID.GS1.ORG/01/09521234543213/22/ABC%2D123?99=XYZ-987
Valid GS1 Data Matrix example
Matrix

GS1 Data Matrix

Engine identifier: gs1datamatrix

No additional sample options required

(01)09521234543213(17)120508(10)ABCD1234(410)9501101020917
Valid GS1 Data Matrix Rectangular example
Matrix

GS1 Data Matrix Rectangular

Engine identifier: gs1datamatrixrectangular

No additional sample options required

(01)09521234543213(17)120508(10)ABCD1234(410)9501101020917
Valid GS1 Digital Link Data Matrix example
Matrix

GS1 Digital Link Data Matrix

Engine identifier: gs1dldatamatrix

Sample options: includetext

https://id.gs1.org/01/09521234543213/22/ABC%2D123?99=XYZ-987
Valid GS1 QR Code example
Matrix

GS1 QR Code

Engine identifier: gs1qrcode

No additional sample options required

(01)09521234543213(8200)http://www.abc.net(10)ABCD1234(410)9501101020917
Valid GS1 Digital Link QR Code example
Matrix

GS1 Digital Link QR Code

Engine identifier: gs1dlqrcode

Sample options: includetext

HTTPS://ID.GS1.ORG/01/09521234543213/22/ABC%2D123?99=XYZ-987
Valid GS1 DotCode example
Matrix

GS1 DotCode

Engine identifier: gs1dotcode

Sample options: rows=16

(235)5vBZIF%!<B;?oa%(01)09521234543213(8008)19052001
Valid HIBC Code 39 example
Healthcare

HIBC Code 39

Engine identifier: hibccode39

Sample options: includetext

A999BJC5D6E71
Valid HIBC Code 128 example
Healthcare

HIBC Code 128

Engine identifier: hibccode128

Sample options: includetext

A999BJC5D6E71
Valid HIBC Data Matrix example
Matrix

HIBC Data Matrix

Engine identifier: hibcdatamatrix

No additional sample options required

A999BJC5D6E71
Valid HIBC Data Matrix Rectangular example
Matrix

HIBC Data Matrix Rectangular

Engine identifier: hibcdatamatrixrectangular

No additional sample options required

A999BJC5D6E71
Valid HIBC PDF417 example
Stacked

HIBC PDF417

Engine identifier: hibcpdf417

No additional sample options required

A999BJC5D6E71
Valid HIBC MicroPDF417 example
Stacked

HIBC MicroPDF417

Engine identifier: hibcmicropdf417

No additional sample options required

A999BJC5D6E71
Valid HIBC QR Code example
Matrix

HIBC QR Code

Engine identifier: hibcqrcode

No additional sample options required

A999BJC5D6E71
Valid HIBC Codablock F example
Stacked

HIBC Codablock F

Engine identifier: hibccodablockf

No additional sample options required

A999BJC5D6E71
Valid HIBC Aztec Code example
Matrix

HIBC Aztec Code

Engine identifier: hibcazteccode

No additional sample options required

A999BJC5D6E71

Want to experiment?

Change the value, size, colors, and output format.

Create an account