Confirm the required barcode type and valid data first. Preserve white space on both sides, use black bars on white, keep the aspect ratio, and test the final printed size with the actual scanner.
Confirm the symbology and data
CODE128, CODE39, EAN-13 and UPC accept different characters and lengths. Retail codes may also require a valid check digit.
A code can look correct but remain unusable when the receiving system expects another symbology.
Protect the quiet zone
The blank area to the left and right tells a scanner where the code starts and ends. Tight cropping, frames, text or patterned backgrounds can destroy it.
Check distortion, color and resolution
Never resize width and height independently. Use strong contrast—normally black on white—and avoid red bars, pale colors or heavy JPEG artifacts.
- Keep aspect ratio
- Use black bars on white
- Avoid blur, shine and print gaps
Test the real use case
A code that scans on screen can fail after printing. Test the actual printer, paper, physical size and scanner. Curved packaging and glossy laminate can also interfere.
Seven-point check
- ✓Correct symbology
- ✓Valid characters and length
- ✓Adequate quiet zone
- ✓No distortion
- ✓High contrast
- ✓Sharp print
- ✓Scans at actual size
Barcode Generator
Generate crisp PNG barcodes using major symbologies and valid input rules.
Barcode Generator→This article gives general guidance. If a recipient, printer or official service provides its own requirements, follow those requirements first.
A SMALL NOTE FROM SPACEUnreadable lines always have a reason. When spacing and width return to orbit, the destination appears.