Free web tools and guides
Home›Tools›Generators›Free Barcode Generator
Generators

Free Barcode Generator

Enter a value to instantly generate a barcode in formats like Code 128, EAN-13, and UPC-A, with this free barcode generator. Leave it blank and hit random to fill in a valid value, adjust the color, size, and text display, then download as PNG, JPG, or SVG, or copy the image directly.

barcode generator, Code128, Code93, EAN13, UPC, UPCE, ITF14, Codabar, barcode maker, PNG barcode, JPG barcode, SVG barcode, 바코드 생성기, 바코드 만들기, バーコード作成, バーコードジェネレーター, buat barcode, generator barcode, tạo mã vạch, công cụ tạo mã vạch, generador de códigos de barras, crear código de barras
Created
2026.08.20
Updated
2026.09.17
Generated—

Barcode

Code 128 — letters and numbers, freely combined.

Dimensions

Presets
Bar width
Heightpx
Marginpx

Colors

Contrast is high enough to scan21.0 : 1
Background
Bars

Text

Position
Align
Font
Font style
Font sizepx
Text marginpx
Text previewEXAMPLE-123456

Shortcuts

/ Focus valueR Random valueCtrl+S Save PNGCtrl+Shift+S Save SVGCtrl+Shift+C Copy image

Your settings and recent values are stored only in this browser, so they carry over next time you open this page. EAN/UPC formats calculate the final check digit automatically. For print, we recommend a bar width of 2+, height of 60+, and margin of 10+. Everything runs entirely in your browser.

Favorites Ctrl + N

How to use

1.

Pick a barcode format (Code 128, EAN-13, etc.). Leave the value empty and click "Random" to fill in one that fits the format.

2.

Enter a value that matches the format, and the barcode updates live in the preview.

3.

Adjust colors, size, and whether text is shown, then use "Download" to save it as PNG, JPG, or SVG, or "Copy image" to paste it directly.

FAQ

Tool info

Category Generators
Processing Directly in your browser
Data storage Stored only in this browser
Created 2026-08-20
Updated 2026-09-17