Barcode generator
Generate high quality QR code & barcode images in a matter of seconds
️ Request example
️ Request parameters
NameTypeDefaultExampleDescription
type
required
qrcode
qrcode
code128
isbn
Type of code
value
required
string
1234567890
Content to encode into the code
format
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)
️ Response data
TypeExampleDescription
image/png
image/svg+xml
Response image example
Generated barcode image