Barcode Generator
Generate barcodes in multiple formats and export as PNG, SVG, or JPEG.
Open Barcode Generator
Generate barcodes in bulk from lines or a CSV file in many formats and download them as a ZIP archive.
3 codes ready
This tool turns a list of values into barcode images, one per line, and downloads them together as barcodes.zip. Paste SKUs, GTINs, shipping carton numbers or asset IDs, or load a .txt or .csv file, pick a symbology, and get up to 500 barcodes in one batch, each file named after the value it encodes.
It suits product labels, inventory tags and shipping marks. Values are checked against the rules of the format you choose before anything is drawn, and lines that fail are listed with the reason instead of silently producing an unreadable barcode. Rendering uses the JsBarcode library in your browser, so the list stays on your device.
Paste lines and enter one value per line in Codes (one per line), or choose Upload file and drop a CSV or text file.Format. The default is CODE128 (auto), which accepts any ordinary text.Bar width (default 2), Bar height (px) (default 100), Margin (default 12) and Line color, and turn Show readable text off if you do not want the value printed under the bars.Output format: PNG, SVG or JPEG.Download ZIP. Lines that could not be encoded appear under Skipped lines with their line number, and the rest are still included in the ZIP.With Format set to EAN-13 and PNG output, the two valid GTINs are drawn. Line 3 is missing its check digit and line 4 has the wrong one, so both are skipped with these messages.
5901234123457
4006381333931
590123412345
5901234123458Files in barcodes.zip:
5901234123457.png
4006381333931.png
Skipped lines (2):
Line 3: EAN-13 requires exactly 13 digits. Sample: 5901234123457 (590123412345)
Line 4: Invalid check digit: expected 7, got 8. (5901234123458)The right symbology depends on who will scan the code. Retail checkouts expect EAN or UPC, warehouses often expect ITF-14 or Code 128, and internal systems can use whatever their scanners are set up to read.
CODE128 (auto) encodes letters, digits and punctuation and picks the most compact internal code set for you. Use it for SKUs, serial numbers and asset tags. CODE128 A, CODE128 B and CODE128 C force one code set; C only takes pairs of digits, so the value needs an even number of digits.EAN-13 (13 digits) and UPC (A) (12 digits) are the retail product codes. EAN-8 is the short version for small packs, and UPC (E) is an 8-digit compressed UPC whose first digit must be 0 or 1.EAN-5 and EAN-2 are add-on symbols printed next to a main barcode, for example a book price or a magazine issue number.ITF-14 (14 digits) marks shipping cartons. Plain ITF takes any digits-only value with an even number of digits.CODE39 accepts A-Z, 0-9, space and - . $ / + %. Lowercase letters are converted to uppercase. CODE93 is a denser alternative.Codabar must start and end with a letter A to D, such as A40156B, and is still used by libraries and blood banks. Pharmacode takes a number from 3 to 131070. The MSI variants take digits only and are used for shelf labels; MSI10, MSI11, MSI1010 and MSI1110 append mod 10 or mod 11 check digits.For EAN-13, EAN-8, UPC (A), UPC (E) and ITF-14 you must enter the complete number, including the final check digit. The tool first checks the length (13, 8, 12, 8 and 14 digits respectively), then calculates the check digit from the other digits and compares it with the last one. A number with the right length but a wrong check digit is skipped with a message that names the correct digit, such as Invalid check digit: expected 7, got 8. in the example above. For UPC (E) the check digit is calculated from the expanded UPC-A number.
To calculate an EAN-13 check digit yourself, take the first 12 digits and multiply them alternately by 1 and 3, starting with 1. Add the results, and the check digit is the amount needed to reach the next multiple of 10. For 590123412345 the weighted sum is 83, so the check digit is 7 and the full code is 5901234123457. Real retail GTINs also need a company prefix registered with GS1; a made-up number scans fine but is not a valid product identifier in stores.
Bar width sets the width in pixels of the narrowest bar (one module), from 1 to 6. Wider bars produce a larger image that survives low-resolution printers and scanning from a distance. Bar height (px) ranges from 40 to 280; taller bars are easier to scan with a handheld scanner held at an angle.
Margin is blank space in pixels around the barcode. Scanners need a quiet zone on both sides: EAN-13 asks for 11 modules on the left and 7 on the right, so with Bar width at 2, a margin of 22 or more is safer than the default 12. For printing, SVG output scales without blurring and is usually the best choice for label and packaging software. Keep Line color dark; red and other light colors can be invisible to red-light laser scanners.
Each line is trimmed, blank lines are ignored, and the whole remaining line is one barcode value. CSV files are not split into columns, so a line such as A-100,Widget encodes the comma and the second column too. Remove extra columns and header rows before uploading.
A batch uses at most the first 500 non-empty lines. If you enter more, a warning such as Only the first 500 of 650 lines will be generated. appears below the counter, and the extra lines are left out of the ZIP. Files in the ZIP are named after the value, with characters such as / and : replaced by hyphens; a value that appears twice is saved as value.png and value-2.png.
More utilities that pair well with this one.
Generate barcodes in multiple formats and export as PNG, SVG, or JPEG.
Open Barcode Generator
Generate QR codes in bulk from a list of lines or a CSV file and download them as a ZIP archive.
Open Bulk QR Code Generator
Generate QR codes from text or links and download as PNG, SVG, or JPEG.
Open QR Code Generator
Create ZIP archives or extract files from ZIP archives in your browser. Nothing uploaded.
Open Zip & Unzip Files
Common questions about this tool.