Guide · Business
How to Generate Barcodes for Inventory and Labels
Updated 2026-08-10 · 5 min read
Inventory labels fail in boring ways. The code is too small. The format is wrong for the scanner at the door. The number on the sticker is not the number in the spreadsheet. Generating a barcode is the easy middle of that story: turn a string into bars that a reader already understands. You can do that in a browser without creating a warehouse-software account or uploading a SKU list to a clip-art site.
Barcode Generator on DevOkk.com draws common 1D formats locally. No signup. This page is the decision around the image - Code128 versus retail-shaped codes, what a generator cannot grant you, and how to print something a cheap scanner will lock onto.
A barcode is a number (or a short string) with stripes
Linear barcodes encode data as varying bar and space widths. A scanner measures that pattern and emits the same characters you typed. If you typed the wrong SKU, the label is a confident mistake.
QR codes are a different family: a 2D grid that phones like. They are the right tool for a URL on a box, a guest Wi-Fi card, or a vCard. They are the wrong default for a warehouse gun that was configured for Code128 in 2014. If you need the camera case, use QR Code Generator and the QR guide. This article stays with stripes.
People land here after a desktop label app asked for a license, or after a “free barcode” page watermarked the PNG. The job is not hard. The market around the job is noisy.
Code128 for internal SKUs, EAN-style for retail shape
Code128 is the usual choice when you control the catalog. It can carry letters and numbers, it is dense, and it is widely supported. A freelance designer labeling sample kits, a small shop labeling bins, a person printing a test sticker for SKU-BLUE-42 - that is Code128 territory. You invent the string. You keep it unique in your system. You do not need anyone’s permission to label your own shelf.
EAN-style and UPC-style codes are what grocery scanners expect: a fixed run of digits and a check digit. They look “official” because they are the public retail grammar. Two important limits sit on top of the drawing:
- The symbology has rules. Wrong length or a bad check digit and a strict scanner will refuse the label.
- A globally unique product identifier for store shelves is typically a GS1 assignment, not a picture you generated on a Tuesday. The tool can render bars for a mockup or a closed test. It does not sell you a company prefix.
If you are shipping to a retailer who sent you their barcode number, encode that number in the format they named. Do not “improve” it into Code128 because the bars looked nicer.
Other formats exist (older alphanumeric codes, interleaved 2 of 5, and so on). Use them when a partner or a legacy scanner demands them, not because a dropdown is long.
Generate a label you can scan, not just see
Open Barcode Generator. Pick the format that matches the reader, not the one that looks most technical. Type the value exactly as the inventory sheet has it - same dashes, same case if the system is case-sensitive.
Keep the human-readable text under the bars if people will pick the item by eye. The scanner does not need it. Your future self does, when the bars get scuffed.
Export SVG when you will place the mark in a layout or print at several sizes. A screenshot of the preview is how you get a blurry sticker.
Then test with the actual hardware. Phone apps that “read barcodes” are a weak proxy for the USB gun on the packing table. If you only have a phone, treat a successful scan as necessary but not sufficient.
Inventory without a warehouse product
You do not need NetSuite to label twenty SKUs. You need a unique string per item, a printed mark, and a list you will not lose. A spreadsheet you already have is enough for a small catalog. The barcode is a pointer into that list.
A practical loop:
- Decide the string rules once (
KIND-COLOR-SIZE, or a dumb increment, not both at random). - Generate one code and scan it into the sheet to prove the round trip.
- Print a short run. Check quiet zone (empty white space around the bars), size, and contrast.
- Only then print the rest.
If the same job also needs an invoice for the shipment, that is a separate document. Build the bill in Invoice Generator; do not try to make the barcode carry prices and payment terms.
Print size and scanner reality
Bars need width. A Code128 squeezed into a 15 mm sticker on a textured craft box is a weekend of “it works on my phone.” Give the pattern room. Black on white beats brown on kraft. Do not place the code over a seam, a fold, or a stretchy bag that will distort the widths.
Quiet zone matters as much as bar width. Cropping the SVG tight against the first bar is a common desktop-publishing accident.
If you laminate, watch for glare. If you print on a cheap inkjet, watch for bleed that fills the narrow spaces. Thermal label printers exist because this problem is old.
A generator will not tell you the minimum X-dimension for your industry’s spec sheet. When a customer sends a spec, follow the spec.
What this will not do
It will not assign a GTIN you can legally put on a national retail listing. It will not replace a WMS. It will not keep a history of every label you ever printed. Save the SVG and the SKU list yourself.
Very long Code128 strings become wide labels. If the sticker is small, shorten the identifier - do not shrink the bars past what the scanner can resolve.
Print one, scan one, then batch
When the gun returns the same string you typed, you are done decorating. Open Barcode Generator and encode the SKU you actually stock. If the next person to touch the box is holding a phone and a URL, you wanted a QR, not a linear code - switch tools instead of mixing both at unreadably small sizes.
Frequently asked questions
Does the barcode tool require an account?
No. Barcode Generator opens without registration. You choose a format, type the value, and download an image such as SVG.
Will my SKU list be uploaded?
Generation is designed to happen in the browser. That is enough for internal inventory strings. It is not a warehouse management system and it will not store a catalog for you.
What is the difference between Code128 and an EAN-style code?
Code128 is a workhorse for internal labels: letters, numbers, and a reasonably dense pattern that most USB scanners understand. EAN-style (and UPC) codes are the retail product shape - fixed-length digits with a check digit. Drawing those bars is not the same as owning a registered GTIN from GS1.
Can I put this barcode on a product I sell in stores?
For a real retail listing you typically need a GS1 company prefix and an assigned number. A generator can render EAN-style bars for a prototype or a test scan. It cannot license you to sell under someone else’s number or invent a globally unique GTIN.
Why won’t my scanner read the label?
The print is too small, the contrast is weak, the quiet zone is missing, the format does not match what the scanner is configured for, or the data is the wrong length for that symbology. Print larger, use black on white, and test the exact gun you will use on the floor.
Should I use a QR code for inventory instead?
Use QR when a phone is the reader - a URL, Wi-Fi, or vCard. Use a 1D barcode when the reader is a dedicated scanner expecting a SKU. See How QR Codes Work if the audience is cameras, not guns.
Related guides
More reading that links back to the same tools and workflows.
How QR Codes Work (and How to Generate One)
QR basics and local generation for URLs, Wi-Fi, and vCards.
5 min read
How to Create a Professional Invoice Without Excel
Freelance invoices in the browser; client data stays local.
5 min read
Why Your Barcode Won’t Scan (Quiet Zone, Format, and Check Digits)
Code128 vs EAN-13 vs UPC, printers that bleed, guns that expect another symbology. Generate a 1D barcode in the browser - drawing bars is not a GS1 license.
7 min read
Canva vs Novoresume vs DevOkk: Resume Builders Compared
Canva is a design file. Novoresume-class sites are career SaaS with accounts. DevOkk is a no-signup browser layout. When each is the right resume tool - and when you are the product.
7 min read