loot.tools

Barcode Generator

Generate a 1D barcode from any value - a product code, SKU, ISBN, or tracking number - and download it as a crisp, print-ready SVG. Choose from Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, MSI, Pharmacode, and Codabar, then set the bar width, height, quiet zone, and colors. The barcode re-renders as you type and validates the value against the format's rules. It all runs in your browser, so nothing you encode is uploaded.

Make a scannable 1D barcode from any value - product codes, SKUs, tracking numbers, you name it. Pick a symbology, tweak the size and colors, and save it as a crisp SVG. It all runs in your browser, so what you encode never leaves your device.

Any text or numbers
Bar width2px
Height80px
Quiet zone10px
Your barcode shows up here

What a 1D barcode is

A linear (1D) barcode encodes a short string as a row of black bars and white gaps of varying width. A laser or camera scanner reads the pattern left to right and decodes the value. Different symbologies suit different jobs: Code 128 packs any text compactly and is the workhorse for shipping and logistics, EAN-13 and UPC-A are the retail product codes you see on groceries, ITF-14 marks shipping cartons, and Codabar shows up on blood bags and library cards.

How to use it

Pick the symbology that matches your use case, then type or paste the value - the hint under the field tells you what each format accepts (EAN-13 wants 13 digits, Code 39 takes letters and a few symbols, and so on). If the value doesn't fit the rules, you'll see exactly why. Adjust the bar width, height, and quiet zone for the size you're printing at, recolor the bars and background to match your design, and download the SVG for sharp printing at any scale.

When you'd reach for this

  • You're labeling inventory, products, or assets and need a scannable code
  • Or you're printing shipping and warehouse labels, building a retail catalog, or tagging library or equipment items
  • Because it's all client-side, internal codes and SKUs never leave your machine, and the SVG output stays crisp whether you print it on a sticker or a full page