barcodeapi.org
App · 3 actions
Make barcodes with barcodeapi.org: product barcodes (EAN-13, UPC-A), stock and shipping labels (Code 128, Code 39, ITF-14), QR codes, Data Matrix, PDF417 and Aztec. Make one at a time, or a whole list at once as a zip file of images, with the colours, size and printed text chosen for you or set as you like. Retail numbers get their check digit added or checked, and anything that will not fit is explained before it is printed. No account or API key required.
Actions
| Action | What it does |
|---|---|
| Create a barcode | Turn a product number, SKU, ticket ID or any short text into a barcode image, ready to print on a label or drop into a document. |
| Create a QR code | Turn a link or any other text into a QR code image, ready to print, email or drop into a document. |
| Create barcodes in bulk | Make a barcode for every value in a list, such as a column of product numbers, all in one format, and get them back as one zip file of images with a result for each value. |
Create a barcode
Turn a product number, SKU, ticket ID or any short text into a barcode image, ready to print on a label or drop into a document. Choose the format or let it pick one, and set the colours and size. Retail numbers get their check digit added or checked for you. No account or API key required.
Inputs
- Barcode text
texttextRequired - What the barcode should hold, such as a product number or a stock code. It has to fit on one line.
- Barcode type
barcode_typetext - The kind of barcode. Pick automatically lets barcodeapi.org choose one that fits the text, such as EAN-13 for a product number or a QR code for a link. Choose a type when a scanner, a label printer or a retailer expects a particular one.One of:
auto(Pick automatically),128(Code 128, letters, numbers and symbols),39(Code 39, capital letters and numbers),13(EAN-13, retail products),a(UPC-A, retail products in North America),8(EAN-8, small retail packs),e(UPC-E, small packs in North America),14(ITF-14, shipping cartons),codabar(Codabar, libraries and labs),qr(QR code), and 3 more. Default:auto. - Show the text under the bars
show_texttrue/false - Print the barcode's text under it in plain characters, so a person can read and type it if a scanner fails. Only line barcodes have this.Default:
true. - Bar colour
foreground_colortext - The colour of the bars, as a hex colour. It has to be clearly darker than the background or scanners will not read it. QR and Aztec codes always come out black on white.Default:
#000000. - Background colour
background_colortext - The colour behind the bars, as a hex colour. Keep it light so the bars stand out.Default:
#ffffff. - Bar height (mm)
heightnumber - How tall the bars are, in millimetres when printed at the image's resolution, between 10 and 150. Only line barcodes have this.From 10 to 150. Default:
22. - Size
sizetext - How big the image is. Large and Extra large are sharper for printing on labels. QR and Aztec codes always come out at their standard size.One of:
standard,large,extra_large(Extra large). Default:standard. - Save as
filenametext - Optional. The name to save the image under. Named after what the barcode holds by default, e.g. sku-1001-barcode.png.
Outputs
barcode_typetext- The barcode format that was drawn, such as EAN-13.
content_typetext- File type of the saved image.
document_reftext- Reference to the saved image, for use by a later step.
documentslist- The barcode image, in the shape steps that send or upload files expect.
encoded_texttext- Exactly what a scanner reads from the barcode, including a check digit that was added for you.
filenametext- Name the image was saved under.
size_bytesnumber- Size of the saved image in bytes.
urltext- Download link for the saved image.
Example output
{
"barcode_type": "Code 128",
"content_type": "image/png",
"document_ref": "doc_5e6f708192a3b4c55e6f708192a3b4c5",
"documents": [
{
"content_type": "image/png",
"document_ref": "doc_5e6f708192a3b4c55e6f708192a3b4c5",
"filename": "sku-1001-barcode.png",
"size_bytes": 451,
"url": "/actions/core/serve-document/doc_5e6f708192a3b4c55e6f708192a3b4c5?teamId=6512a1b2c3d4e5f600000001"
}
],
"encoded_text": "SKU-1001",
"filename": "sku-1001-barcode.png",
"size_bytes": 451,
"url": "/actions/core/serve-document/doc_5e6f708192a3b4c55e6f708192a3b4c5?teamId=6512a1b2c3d4e5f600000001"
}Create a QR code
Turn a link or any other text into a QR code image, ready to print, email or drop into a document. Choose the size and how much damage it can survive. The image is saved so later steps can attach or upload it. No account or API key required.
Inputs
- Link or text
texttextRequired - What the code should hold. A web address opens when scanned; anything else is shown as text. It has to fit on one line.
- Size
sizenumber - How many pixels across the code should be, between 50 and 500. QR codes are always square.From 50 to 500. Default:
300. - Damage tolerance
error_correctiontext - How much of the code can be scratched, smudged or covered and still scan. Stronger levels make the pattern denser, so step up for anything printed and handled.One of:
L(Standard, the smallest code),M(Better, copes with minor damage),Q(Strong, for stickers and labels),H(Strongest, for signs and worn surfaces). Default:M. - Border
bordernumber - Blank space around the code, counted in code squares, from 0 to 8. 4 is the standard and scans most reliably; use 0 if your design already leaves space around it.From 0 to 8. Default:
4. - Save as
filenametext - Optional. The name to save the image under. Named after what the code holds by default, e.g. lodol-ai-qr-code.png.
Outputs
barcode_typetext- The barcode format that was drawn, such as EAN-13.
content_typetext- File type of the saved image.
document_reftext- Reference to the saved image, for use by a later step.
documentslist- The barcode image, in the shape steps that send or upload files expect.
encoded_texttext- Exactly what a scanner reads from the barcode, including a check digit that was added for you.
filenametext- Name the image was saved under.
size_bytesnumber- Size of the saved image in bytes.
urltext- Download link for the saved image.
Example output
{
"barcode_type": "QR code",
"content_type": "image/png",
"document_ref": "doc_6f708192a3b4c5d66f708192a3b4c5d6",
"documents": [
{
"content_type": "image/png",
"document_ref": "doc_6f708192a3b4c5d66f708192a3b4c5d6",
"filename": "lodol-ai-qr-code.png",
"size_bytes": 612,
"url": "/actions/core/serve-document/doc_6f708192a3b4c5d66f708192a3b4c5d6?teamId=6512a1b2c3d4e5f600000001"
}
],
"encoded_text": "https://lodol.ai",
"filename": "lodol-ai-qr-code.png",
"size_bytes": 612,
"url": "/actions/core/serve-document/doc_6f708192a3b4c5d66f708192a3b4c5d6?teamId=6512a1b2c3d4e5f600000001"
}Create barcodes in bulk
Make a barcode for every value in a list, such as a column of product numbers, all in one format, and get them back as one zip file of images with a result for each value. A value that cannot be made is reported with the reason and the rest carry on. Up to 250 at a time. No account or API key required.
Inputs
- Values
valueslistRequired - What to make barcodes of. Use a list from an earlier step, such as a column of a spreadsheet, or type them in with one on each line. Up to 250 at a time.
- Barcode type
barcode_typetext - The kind of barcode. Pick automatically lets barcodeapi.org choose one that fits the text, such as EAN-13 for a product number or a QR code for a link. Choose a type when a scanner, a label printer or a retailer expects a particular one.One of:
auto(Pick automatically),128(Code 128, letters, numbers and symbols),39(Code 39, capital letters and numbers),13(EAN-13, retail products),a(UPC-A, retail products in North America),8(EAN-8, small retail packs),e(UPC-E, small packs in North America),14(ITF-14, shipping cartons),codabar(Codabar, libraries and labs),qr(QR code), and 3 more. Default:auto. - Show the text under the bars
show_texttrue/false - Print the barcode's text under it in plain characters, so a person can read and type it if a scanner fails. Only line barcodes have this.Default:
true. - Bar colour
foreground_colortext - The colour of the bars, as a hex colour. It has to be clearly darker than the background or scanners will not read it. QR and Aztec codes always come out black on white.Default:
#000000. - Background colour
background_colortext - The colour behind the bars, as a hex colour. Keep it light so the bars stand out.Default:
#ffffff. - Bar height (mm)
heightnumber - How tall the bars are, in millimetres when printed at the image's resolution, between 10 and 150. Only line barcodes have this.From 10 to 150. Default:
22. - Size
sizetext - How big the image is. Large and Extra large are sharper for printing on labels. QR and Aztec codes always come out at their standard size.One of:
standard,large,extra_large(Extra large). Default:standard. - Save as
filenametext - Optional. The name to save the zip file under. barcodes.zip by default.
Outputs
barcodeslist- One entry per value, in the order they were given.
content_typetext- File type of the saved zip file.
countnumber- How many values were given.
created_countnumber- How many barcodes were made and put in the zip file.
document_reftext- Reference to the saved zip file, for use by a later step.
documentslist- The zip file of barcodes, in the shape steps that send or upload files expect.
failed_countnumber- How many values could not be made into a barcode.
filenametext- Name the zip file was saved under.
size_bytesnumber- Size of the saved zip file in bytes.
urltext- Download link for the saved zip file.
Example output
{
"barcodes": [
{
"barcode_type": "EAN-13",
"created": true,
"encoded_text": "4006381333931",
"error": null,
"file_in_zip": "001-4006381333931.png",
"value": "4006381333931"
},
{
"barcode_type": "EAN-13",
"created": true,
"encoded_text": "4006381333931",
"error": null,
"file_in_zip": "002-400638133393.png",
"value": "400638133393"
},
{
"barcode_type": null,
"created": false,
"encoded_text": null,
"error": "The last digit of 4006381333932 is its check digit and should be 1, so 4006381333931 is probably the number you meant. Check the number, or leave the last digit off and it will be worked out for you.",
"file_in_zip": null,
"value": "4006381333932"
}
],
"content_type": "application/zip",
"count": 3,
"created_count": 2,
"document_ref": "doc_708192a3b4c5d6e7708192a3b4c5d6e7",
"documents": [
{
"content_type": "application/zip",
"document_ref": "doc_708192a3b4c5d6e7708192a3b4c5d6e7",
"filename": "barcodes.zip",
"size_bytes": 1984,
"url": "/actions/core/serve-document/doc_708192a3b4c5d6e7708192a3b4c5d6e7?teamId=6512a1b2c3d4e5f600000001"
}
],
"failed_count": 1,
"filename": "barcodes.zip",
"size_bytes": 1984,
"url": "/actions/core/serve-document/doc_708192a3b4c5d6e7708192a3b4c5d6e7?teamId=6512a1b2c3d4e5f600000001"
}