条形码生成NEW

Code 128 / EAN-13 / Code 39 条码

Completely free

Checking your access…

AllFreeTool is a free online barcode generator that creates scannable barcodes in Code 128, EAN-13, UPC-A and Code 39. You type the content, choose the symbology, set the colours, the module width and the bar height, then download the result as an SVG vector file or a PNG image. The encoder is hand-written and runs in your browser, so your data is never uploaded.

It suits labelling stock for a small shop, putting a product code on an invoice or a shipping label, coding inventory items, or generating a Code 128 for a customer record. The SVG export is the one to choose for print, because a vector barcode stays sharp at any size, while the PNG export is convenient for slides and screens.

Why use 条形码生成 on AllFreeTool?

🔢

Four Symbologies

Generate Code 128, EAN-13, UPC-A and Code 39 barcodes with automatic check digits.

🎨

Full Appearance

Set the foreground and background colours, the module width, the bar height and the text.

📐

Vector and Raster

Download an SVG that scales without blurring, or a PNG at the width you need.

🔒

Local Encoding

A hand-written encoder runs in your browser, so no barcode content is transmitted.

How to use 条形码生成

1

Enter the Content

Type the value to encode and pick the symbology that matches your use.

2

Adjust Appearance

Set the colours, the module width, the bar height and whether the text is printed.

3

Download

Check the preview and download the SVG or the PNG for your label.

Common questions

Which barcode format should I use?+

Code 128 encodes any alphanumeric content and is the usual choice for internal stock and inventory labels. EAN-13 and UPC-A are the retail formats for products with a printed barcode, and Code 39 suits older label printers and equipment that cannot manage Code 128.

Are the check digits calculated for me?+

Yes. EAN-13 requires twelve digits and the thirteenth check digit is computed automatically, and UPC-A works the same way with its twelve digit form. If you enter a non-digit value for those formats, the tool tells you that only numbers are accepted rather than producing an invalid code.

Should I download SVG or PNG?+

Use the SVG when the barcode is going to a printer, a label maker or a large sign, because a vector file stays perfectly sharp at any size. The PNG is the better choice for a presentation, a web page or a screen, and you can set its pixel width directly.

Will the generated barcode scan reliably?+

The preview matches exactly what is exported, so you can check the result before printing. Keep a good contrast between the foreground and background colours, leave a quiet margin around the code, and always verify a printed sample with your scanner before producing a whole batch.

More QR Code tools