Generate Any Barcode Type with a Single API Call
Support for 20+ barcode symbologies including Code 128, EAN-13, UPC-A, QR Code, DataMatrix, and PDF417. Built-in validation, customizable sizing, and pixel-perfect output.
20+ Barcode Symbologies Supported
From retail product codes to industrial shipping labels, we cover every standard.
1D Linear Barcodes
- Code 128 - High-density alphanumeric
- Code 39 - Alphanumeric, self-checking
- EAN-13 - International retail products
- EAN-8 - Small product packaging
- UPC-A - North American retail
- UPC-E - Compressed UPC for small items
- ITF-14 - Shipping cartons
- Code 93 - Higher density than Code 39
2D Barcodes
- QR Code - Universal mobile scanning
- DataMatrix - Small parts marking
- PDF417 - ID cards, transport
- Aztec - Tickets, boarding passes
Postal & Specialty
- Interleaved 2 of 5 - Warehouse, distribution
- MSI Plessey - Inventory management
- Codabar - Libraries, blood banks
- Pharmacode - Pharmaceutical packaging
Built for Production Applications
Enterprise-grade barcode generation with the simplicity of a REST API.
Input Validation
Each barcode type validates input data before rendering. Get clear error messages for invalid characters, lengths, or check digits.
Custom Sizing
Control bar width, height, and quiet zone. Set exact pixel dimensions or use module-based sizing for scanner-optimal output.
Human-Readable Text
Optionally include human-readable text below barcodes. Control font size, positioning, and whether check digits are displayed.
Fast Generation
Factory pattern architecture with pre-compiled encoders delivers sub-50ms barcode generation for any symbology.
RESTful Interface
Simple JSON-based API with consistent request/response format across all barcode types. Comprehensive Swagger documentation included.
Batch Generation
Generate multiple barcodes in a single request for inventory labeling, product catalogs, or shipping manifests. Up to 100 per batch.
Simple Integration
Generate a barcode with a single API call. It really is that easy.
curl -X POST https://api.printivo.cloud/api/v1/barcodes \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"data": "1234567890128",
"type": "EAN13",
"width": 300,
"height": 150,
"showText": true,
"format": "png"
}'
# Response: PNG image binary (Content-Type: image/png)
# Other barcode types:
# "type": "Code128" - Alphanumeric data
# "type": "QRCode" - 2D QR code
# "type": "DataMatrix" - 2D data matrix
# "type": "UPCA" - 12-digit UPC
# "type": "Code39" - Alphanumeric + special chars
Auto-Validation
Input data is validated against the rules for each barcode type. Invalid data returns a clear 400 error with details.
Check Digits
Check digits are automatically calculated and appended for types that require them (EAN-13, UPC-A, ITF-14).
Output Formats
Get your barcode as a high-quality PNG image. Specify exact pixel dimensions for your use case.
Industry Applications
From retail shelves to warehouse floors, our barcode API serves every industry.
Retail & E-Commerce
Generate EAN-13 and UPC-A barcodes for product listings, inventory management, and point-of-sale integration.
Logistics & Shipping
Create ITF-14 shipping container barcodes, Code 128 tracking codes, and carrier-specific label formats.
Healthcare
Generate Codabar codes for blood banks, Code 128 for specimen tracking, and DataMatrix for pharmaceutical packaging.
Manufacturing
Print Code 39 work-in-progress labels, DataMatrix for small parts marking, and PDF417 for compliance documentation.
Start Generating Barcodes Today
Get your free API key and generate your first barcode in under 2 minutes. All barcode types included on every plan.