Name Type Default Example Description auspost azteccode azteccodecompact aztecrune bc412 channelcode codablockf code11 code128 code16k code2of5 code32 code39 code39ext code49 code93 code93ext codeone coop2of5 daft databarexpanded databarexpandedcomposite databarexpandedstacked databarexpandedstackedcomposite databarlimited databarlimitedcomposite databaromni databaromnicomposite databarstacked databarstackedcomposite databarstackedomni databarstackedomnicomposite databartruncated databartruncatedcomposite datalogic2of5 datamatrix datamatrixrectangular datamatrixrectangularextension dotcode ean13 ean13composite ean14 ean2 ean5 ean8 ean8composite flattermarken gs1-128 gs1-128composite gs1-cc gs1datamatrix gs1datamatrixrectangular gs1northamericancoupon gs1qrcode hanxin hibcazteccode hibccodablockf hibccode128 hibccode39 hibcdatamatrix hibcdatamatrixrectangular hibcmicropdf417 hibcpdf417 hibcqrcode iata2of5 identcode industrial2of5 interleaved2of5 isbn ismn issn itf14 japanpost kix leitcode mailmark matrix2of5 maxicode micropdf417 microqrcode msi onecode pdf417 pdf417compact pharmacode pharmacode2 planet plessey posicode postnet pzn qrcode rationalizedCodabar raw royalmail sscc18 symbol telepen telepennumeric ultracode upca upcacomposite upce upcecomposite
qrcode
qrcode
code128
isbn
Type of code
string
1234567890
Content to encode into the code
format
png svg
png
Output image format
width
integer
256
256
Width of the PNG code image
height
integer
256
Height of the PNG code image
showText
boolean
true
Display human-readable text under barcodes
fitWidth
boolean
false
Stretch barcodes to exactly fit the `width`. Due to the nature of barcodes, where every bar's width is a multiple of the narrowest bar, stretching may result in slightly blurry images, which are more difficult for devices to scan.
foregroundColor
string
#000000
Barcode color (hexadecimal format)
backgroundColor
string
#ffffff
Image background color (hexadecimal format)