Barcode generator
Make a Code 128, EAN-13, EAN-8, UPC-A, Code 39 or ITF barcode and save it as SVG or PNG.
Any letters, digits and common symbols, up to 80 characters. Used for shipping and general labels.
For example Toolbench-2026
Scanners need empty space on both sides.
Enter a valid value to see the barcode.
Runs in your browser. Your files are not uploaded.
This draws the symbol only. Product codes sold in shops need a number issued by GS1, and a scanner needs strong contrast and a quiet zone on both sides.
EAN-13, EAN-8 and UPC-A get their check digit added when you leave it out and verified when you give it.
How to use Barcode generator
Choose the barcode type, for example Code 128 or EAN-13.
Type the text or number; a message explains anything the type does not accept.
Adjust the bar width, height, margin, colours and whether the text shows.
Select PNG or SVG to download the barcode.
Questions
No. The barcode is drawn in your browser and nothing leaves your device.
No. For EAN-13, EAN-8 and UPC-A, enter the number without its last digit and the check digit is added. If you enter it, it is verified.
Code 128 for general labels and any text. EAN-13, EAN-8 and UPC-A for products sold in shops. Code 39 for badges and industry. ITF for cartons.
Keep strong contrast, leave the margin on and print at a bar width of at least 2 pixels. A real product code needs a number issued by GS1; this tool only draws the symbol.
Related tools
- Base64 encoder and decoderEncode a file or text to Base64 or a data URL, and decode Base64 back to a file.
- QR code generatorMake a QR code for text, a link, Wi-Fi sign-in or an email, and save it as SVG or PNG.
- DOCX converterConvert a Word .docx file to HTML, Markdown or plain text, with headings, lists, tables and pictures kept.
- JSON, CSV and XML converterFormat, minify and validate JSON, convert CSV and JSON both ways, and format XML or turn it into JSON.