Choose the right barcode type
Code 128 handles letters and numbers for stock labels and internal IDs. EAN and UPC are for retail product numbers. Use the type required by the system that will scan the label.
The white space at each end is the quiet zone. Keep it clear when placing the image in a document. An SVG stays sharp when resized; a PNG has a fixed pixel size.
Use the optional rotation control for an individual barcode, or enter one value per line to create a label sheet. Each image must decode to the same value. Choose label dimensions, then download the SVG sheet or print it using your browser’s Save as PDF option.
Worked example
For EAN-13, 590123412345 becomes 5901234123457. The final digit is calculated from the preceding digits; a full number with the wrong check digit is rejected.
Before you rely on the result
Generating an image does not register a product number. Use your assigned retail number for a real product. Print size, contrast, packaging and the scanner affect readability. GS1 application identifiers are not supported. The PDF option uses your browser’s print dialog. Printing can scale or clip labels. Use actual-size printing, inspect the PDF and verify the physical labels with your scanner.
Cite this page
ToolOctopus. “Barcode generator.” Updated . https://tooloctopus.com/barcode-generator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.