Barcode Generator Online Free — Which Format to Use
A barcode is a machine-readable representation of data — typically a product identifier, inventory number, or tracking code — displayed as a series of parallel bars of varying widths. When scanned by a barcode reader or camera, the pattern is decoded back into its original number or text. Barcodes were invented in 1952 and first commercially deployed in the mid-1970s. Today there are dozens of barcode symbologies (formats), each optimised for different use cases: retail, logistics, healthcare, manufacturing, and more. This guide explains each major format and when to use it.
Quick Answer
A barcode is a machine-readable representation of data — typically a product identifier, inventory number, or tracking code — displayed as a series of parallel bars of varying widths. When scanned by a barcode reader or camera, the pattern is decoded back into its original number or text.
Try it now — free, no signup
Your QR code or barcode is generated in your browser.
Step-by-Step Guide
4 steps · takes under 1 minute
Choose a barcode format
Select the format that matches your use case. For retail products: EAN-13 (international) or UPC-A (US/Canada). For shipping labels or inventory: Code 128. For industrial or government IDs: Code 39.
Enter your data
Type the value to encode. For EAN-13, enter 12 digits (the 13th check digit is calculated automatically). For Code 128, enter any text up to ~80 characters.
Customise colours and size
Choose bar colour and background, adjust bar height (40–200px) and width multiplier (1–4×), and toggle the human-readable text below the bars.
Download SVG or PNG
SVG is infinitely scalable — ideal for label software, Illustrator, or Canva. PNG at 3× resolution is best for Word documents, email, or direct image use.
Generated in your browser
Your QR code or barcode is generated in your browser and is not uploaded to or stored by ImgToolkit.
QR code tip
Test the generated code with a second device before printing or sharing it. Keep strong contrast between the code and its background.
Related Free Tools
Related QR code and barcode tools, processed in your browser.
Frequently Asked Questions
5 questions answered