Complete Guide to Barcode Formats and Use Cases
Barcodes are the invisible backbone of modern commerce. Every product on a retail shelf, every parcel moving through a warehouse, and every patient wristband in a hospital carries a barcode that tells machines exactly what it is. Choosing the right format for your application is not optional using the wrong barcode type can make your labels unreadable by standard scanners and cause real problems in production or at the point of sale.
What Is a Barcode?
A barcode is a machine-readable representation of data encoded as a pattern of parallel bars and spaces of varying widths. Optical scanners read the pattern by measuring the width of each bar and space, then decode it into the underlying text or numeric value. One-dimensional (1D) barcodes encode data horizontally in a single row of bars. Two-dimensional (2D) barcodes like QR codes and Data Matrix encode data in both horizontal and vertical directions, storing far more information in the same space.
Uitly's barcode generator produces all major 1D barcode formats directly in your browser using the JsBarcode library. The output renders as a vector SVG that you can download at any resolution without pixelation.
Retail and Point-of-Sale Barcodes
- EAN-13: The global standard for retail products used in Europe, Asia, and worldwide. Encodes 12 digits plus an automatically calculated check digit. Required for products sold in most international supermarkets and online marketplaces.
- UPC-A: The North American retail standard. Encodes 11 digits plus a check digit. Required for products sold in US and Canadian supermarkets, and accepted by Amazon, Walmart, and major retail chains.
- EAN-8 and UPC-E: Compact versions of EAN-13 and UPC-A designed for small products where a full-size barcode will not fit, such as lipstick tubes, candy bars, and small cosmetics packaging.
Logistics and Shipping Barcodes
- Code 128: The most widely used 1D barcode in the world. Encodes full ASCII characters with very high data density. Used on shipping labels, inventory tags, healthcare wristbands, and everywhere a flexible alphanumeric code is needed.
- ITF-14: Used on corrugated shipping cartons and outer packaging. Encodes a 14-digit GTIN that includes the packaging indicator digit. The thick bearing bars make it readable even on low-quality corrugated surfaces.
- GS1-128: Extends Code 128 with GS1 Application Identifiers (AIs) that add structured meaning to the data, such as batch numbers, expiry dates, serial numbers, and weight. Required by many large retailers for inbound shipments.
Industrial and Specialty Barcodes
- Code 39: One of the oldest barcode formats, still widely used in automotive, defence, and inventory systems. Encodes uppercase letters, digits, and a small set of special characters. Easy to print on dot-matrix and impact printers.
- Codabar: Used in blood banks, libraries, and overnight parcel tracking. Self-checking format with no check digit requirement. Still found in legacy healthcare and library systems.
- Pharmacode: Designed specifically for pharmaceutical packaging. Encodes a numeric value between 3 and 131071. Extremely tolerant of print quality variations, making it reliable on high-speed packaging lines.
Common Use Cases for Barcodes
- Product labels for retail shelves and online marketplace listings requiring GS1 barcodes
- Shipping cartons and outer packaging that need ITF-14 or GS1-128 barcodes for warehouse scanning
- Internal inventory tags using Code 128 or Code 39 for warehouse and stockroom management
- Healthcare wristbands and medication packaging using Code 128 or Pharmacode
- Library book spines and circulation cards using Codabar or Code 39
- Event tickets, membership cards, and loyalty program IDs using Code 128
Barcode Size and Print Quality Guidelines
Print size has a direct impact on whether a barcode scans reliably. A barcode that is too small will fail on low-resolution printers, and one without sufficient quiet zone margins will confuse scanners into reading partial data. Here are the key numbers to know before you print.
EAN-13 minimum size
37.29mm wide by 25.93mm tall at 100% magnification. Scale up for shelf edges and outer packaging.
Code 128 bar height
Minimum bar height of 6.35mm. Taller bars give more scan area and improve first-pass read rates.
Quiet zones
Leave blank space equal to at least 10 times the narrow bar width on both left and right sides of any 1D barcode.
File format for print
Always download SVG for any print application. SVG scales to any physical size without losing sharpness.
Tools That Work Well with Your Barcodes
Barcodes rarely exist in isolation. Here are a few Uitly tools that complement the barcode generator and help you build a complete labeling workflow.
- Need a scannable code for a URL, contact card, or WiFi network? Use the QR Code Generator instead. QR codes store far more data than 1D barcodes and are designed specifically for smartphone scanning.
- Shorten the destination URL before embedding it in a barcode using the URL Shortener. Shorter URLs produce less dense QR codes that scan faster and print at smaller sizes.
- Add UTM campaign parameters to product URLs before encoding them in a barcode using the UTM Builder. This lets you track how many visitors arrive from printed materials versus digital channels.
- Encode product serial numbers or batch codes in Base64 before adding them to a barcode using the Base64 Encoder. Useful when the raw data contains characters outside the barcode format's allowed set.
Do You Need to Register a Barcode?
This is one of the most common questions from people creating barcodes for the first time. The short answer is: it depends on how you plan to use the barcode.
If you are selling products in retail stores or through major online marketplaces like Amazon or Walmart, you typically need a legitimate Global Trade Item Number (GTIN) issued by GS1, the international standards organization. This requires a paid GS1 membership. The GS1 prefix in your barcode number tells retailers and distributors who manufactured the product and guarantees global uniqueness.
For internal applications inventory management, document tracking, warehouse racking, event ticketing, library systems, or any private workflow no registration is required. You define the data, and Uitly generates the barcode image. The underlying numbers are yours to assign however your system requires.
Frequently Asked Questions
Start Generating Barcodes for Free
Uitly barcode generator is built for product teams, warehouse managers, developers, and anyone who needs reliable barcodes without the cost of dedicated software. Select your format above, enter your data, and download a print-ready barcode in under a minute. No signup. No watermarks. No limits.
