Barcode Generator
Description
Generate barcodes in many formats (CODE128, EAN13, UPC, CODE39 and more). Adjust size, colors, margins, and text. Live preview, copy, PNG download.
About Barcode Generator
Generate retail- and logistics-ready barcodes in common 1D and 2D symbologies, including CODE128, EAN-13, UPC, and CODE39, with a live preview as you type. You can fine-tune bar width, height, colors, margins, and the human-readable text label, then export the result as a PNG. All rendering happens client-side in your browser, so the data you encode is never uploaded.
How to use
- Pick a barcode format such as CODE128, EAN-13, UPC, or CODE39.
- Enter the value to encode, matching the format's rules (for example, EAN-13 expects 12–13 digits).
- Adjust the bar width, height, margins, colors, and the position and font of the text label.
- Check the real-time preview to confirm the barcode and label look correct.
- Copy the barcode or download it as a PNG.
Frequently asked questions
How many digits does an EAN-13 barcode need?
EAN-13 expects 12–13 digits. If you supply 12 digits, the final check digit is computed for you; supplying all 13 lets you provide the check digit yourself. Non-numeric input or the wrong length will be rejected.
Which barcode formats are supported?
Common 1D and 2D symbologies including CODE128, EAN-13, UPC, and CODE39, among others. Each format has its own character set and length rules, so the value you enter must be valid for the selected format.
Can I download the barcode as an image?
Yes. The barcode is rendered in the browser and can be downloaded as a PNG, or copied to your clipboard for pasting into labels, documents, or design tools.
Is my data sent to a server to create the barcode?
No. Barcode generation runs entirely client-side in your browser. The value you encode stays on your device and is never uploaded.