Barcode Formats

The format query parameter specifies the type of barcode image you want to get in return.

Parameter Values

JPG Return an image in JPG format. (Default)
PNG Return an image in PNG format.
GIF Return an image in GIF format.
SVG Return an image in SVG format.

All parameter values are case-insensitive.

Example

Generate a barcode in PNG format:

            
                https://barcodethis.io/api/v1?value=hello&type=C39&format=PNG&api_token=[TOKEN]
            
        

If you want to get the barcode image as a Base64 encoded string, check out the Base64 section.