Barcode Generator

Generate nine common 1D barcode formats online, including CODE128, EAN-13 and UPC-A, with adjustable bar width and height, an optional human-readable line, and SVG download.

FreeOnline Tool
Loading…

How to Use

  1. Type the text or digits you want encoded into the "Barcode content" box.
  2. Pick the format: CODE128 is the general-purpose option and accepts any characters, while EAN-13, EAN-8, UPC-A and ITF-14 require a fixed number of digits.
  3. Adjust the bar width (1-5) and height (20-300px) and decide whether to print the human-readable text under the barcode.
  4. The SVG preview regenerates live; press "Download SVG" to save the current barcode as a vector file.

Features

  • Nine 1D barcode formats: CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, Pharmacode, Codabar and MSI
  • Adjustable bar width (1-5) and barcode height (20-300px)
  • Optional human-readable text printed below the bars
  • The preview regenerates automatically whenever the content or any option changes
  • One-click download of the barcode as an SVG vector file
  • Shows a specific error message when the content breaks the rules of the chosen format, such as the wrong digit count for EAN-13

Use Cases

Retail product labels
Produce standard EAN-13 and UPC-A barcodes for your own product catalog and print them onto labels.
Warehouse and logistics marking
Generate CODE128 and ITF-14 codes for carton labels, pallet tags and inbound/outbound paperwork.
Scanner compatibility testing
Create barcodes in every supported format to check which standards your scanners and recognition software actually handle.
Print and design assets
Export SVG barcodes to drop straight into packaging or poster layouts, with no loss of quality when scaled.

FAQ

Which barcode formats are supported?
Nine mainstream 1D formats: CODE128 (general purpose, letters and digits), EAN-13, EAN-8, UPC-A, CODE39, ITF-14, Pharmacode, Codabar and MSI.
Why do I see a generation error after typing my content?
Several formats are strict about their input. EAN-13 needs 12-13 digits and UPC-A needs a fixed length, so content that breaks those rules raises an error. Check the number of characters and the character types.
What file format does the download button produce?
"Download SVG" exports the current barcode as an SVG vector file, ready for printing or further editing and scalable without any loss of quality.
Can I hide the text under the barcode?
Yes. Set the "show text" option to no and only the bar pattern is drawn, without the readable digits or characters.