[{"data":1,"prerenderedAt":241},["ShallowReactive",2],{"page-en-root-tools/code-128-barcode-generator":3},{"content":4,"isFallback":191,"alternates":228},{"id":5,"title":6,"body":7,"description":189,"extension":190,"heroDark":191,"keywords":192,"locale":193,"meta":194,"navigation":221,"path":222,"seo":223,"sitemap":224,"stem":226,"translationKey":226,"__hash__":227},"content/tools/code-128-barcode-generator.md","Free Code 128 Barcode Generator, No Sign-Up",{"type":8,"value":9,"toc":185},"minimark",[10,15,20,28,58,63,145,148,151,158,179],[11,12],"essential-hero3-section",{"description":13,"title":14},"Generate Code 128 barcodes from whichever data source suits you — type them in by hand, pull them from a CSV file, or auto-generate a sequence. Download the result in the format you need: PNG, PDF, or a ZIP archive. Print straight to an Avery label sheet. No sign-ups, no watermarks.","Free \u003Cspan class=\"kw-swipe-d\">Code 128 barcode generator\u003C/span>",[16,17],"tools-bulk-barcode-generator",{"default-mode":18,"default-symbology":19},"single","CODE128",[21,22],"essential-call-to-action-section",{":primaryButton":23,"subtitle":24,"title":25,"className":26},"{\"text\":\"Get Free Asset Management\",\"url\":\"/free-asset-tracking\"}","A Code 128 label is only half a system — something has to answer when it gets scanned. UNIO24 is the free asset and inventory management software behind the label: one scan pulls up the item's history, its location, and whoever currently has it.","The tag is printed. Now give it something to open.",[27],"cta-tight-bottom",[29,30,32],"essential-content-section",{"anchorId":31},"code-128-format",[33,34,36,40,43,46,49],"template",{"v-slot:description":35},"",[37,38,39],"p",{},"Code 128 encodes all 128 ASCII characters — uppercase and lowercase letters, digits, punctuation, control codes — at any length. That range is why it became the default for internal asset tags, work orders, and warehouse labels: whatever numbering scheme you already run, Code 128 carries it unchanged.",[37,41,42],{},"The format has three subsets. Subset A covers uppercase letters and control characters, subset B covers upper and lower case plus punctuation, and subset C packs two digits into one symbol, roughly halving the width of a numeric code. The encoder switches between them on the fly and picks the shortest representation for your data, so there is nothing to configure.",[37,44,45],{},"Every symbol also carries a mod-103 check character derived from the payload. This generator computes it for you — the value you type is the value a scanner hands back.",[37,47,48],{},"GS1-128, formerly UCC/EAN-128, is Code 128 with a convention on top: an FNC1 character in the first position marks the symbol as GS1, and the payload is split into application identifiers such as (01) for a GTIN or (17) for an expiry date. Retail and pharma trading partners require that structure. For internal tagging you want plain Code 128, which is what this tool produces.",[37,50,51,52,57],{},"Labeling an actual retail product rather than an internal asset? That calls for a UPC or EAN code, not Code 128 — the dedicated ",[53,54,56],"a",{"href":55},"/tools/upc-barcode-generator","UPC barcode generator"," computes the check digit for UPC-A, UPC-E, EAN-13, and EAN-8.",[59,60,62],"h2",{"id":61},"code-128-vs-code-39","Code 128 vs Code 39",[64,65,66,81],"table",{},[67,68,69],"thead",{},[70,71,72,75,78],"tr",{},[73,74],"th",{},[73,76,77],{},"Code 128",[73,79,80],{},"Code 39",[82,83,84,101,112,123,134],"tbody",{},[70,85,86,90,93],{},[87,88,89],"td",{},"Character set",[87,91,92],{},"All 128 ASCII characters",[87,94,95,96,100],{},"43 characters: A-Z, 0-9, and ",[97,98,99],"code",{},"- . $ / + %"," plus space",[70,102,103,106,109],{},[87,104,105],{},"Lowercase letters",[87,107,108],{},"Yes",[87,110,111],{},"No — Extended Code 39 aside",[70,113,114,117,120],{},[87,115,116],{},"Density",[87,118,119],{},"High — subset C stores two digits per symbol",[87,121,122],{},"Low — roughly 30-50% wider for alphanumeric data, well over twice as wide for purely numeric data",[70,124,125,128,131],{},[87,126,127],{},"Check character",[87,129,130],{},"mod-103, always present",[87,132,133],{},"Optional mod-43, usually omitted",[70,135,136,139,142],{},[87,137,138],{},"Typical use",[87,140,141],{},"Asset tags, logistics, healthcare, GS1-128",[87,143,144],{},"Legacy inventory, military and automotive systems",[37,146,147],{},"Code 39 survives mostly because decades-old scanners and label software handle it without setup. For anything new, Code 128 fits more data into less label, validates itself, and accepts the mixed-case IDs that most asset registers use.",[149,150],"essential-related-barcode-tools-section",{},[152,153],"essential-faq-section",{":contactLink":154,":faqs":155,"description":156,"title":157},"{\"text\":\"Tagging assets at scale?\",\"callActionText\":\"Talk to sales\",\"url\":\"/contacts\"}","[{\"title\":\"Encoding values\",\"items\":[{\"question\":\"Why does my scanner return the value without its leading zeros?\",\"answer\":\"Code 128 stores exactly the characters you encoded, leading zeros included. They disappear after the scan, not during it — usually because the spreadsheet cell or database field receiving the keystrokes treats the value as a number. Format the destination column as text before scanning, or give asset IDs a non-numeric prefix such as AST-.\"},{\"question\":\"Can Code 128 hold spaces and punctuation?\",\"answer\":\"Yes, the full ASCII set — spaces, slashes, hyphens, and symbols all encode. Skip them in asset IDs anyway: a value that later lands in a filename, a URL, or a CSV export travels more safely without spaces.\"},{\"question\":\"Do I need to add a check digit myself?\",\"answer\":\"No. Type the value you want scanners to return and nothing else — adding your own check digit produces a code that reads back with an extra character on the end.\"}]},{\"title\":\"Printing & scanning\",\"items\":[{\"question\":\"The barcode came out very wide — how do I narrow it?\",\"answer\":\"Width tracks the number of characters, not the image size. Purely numeric data encodes in subset C at two digits per symbol, so a 12-digit value is far narrower than 12 letters. Shorten the value or drop a text prefix when the code has to fit a small label. The scale control changes printed size without changing the character count.\"},{\"question\":\"Will an ordinary office printer produce scannable codes?\",\"answer\":\"Yes at 300 dpi or better, as long as the narrowest bar stays at or above 0.25 mm (10 mil) on paper. Print at 100% — any auto-fit or shrink-to-page setting distorts bar widths, and that is the single most common cause of a code that will not read.\"},{\"question\":\"Is there a free tool to generate bulk Code 128 barcodes?\",\"answer\":\"This one. Switch the input from Single to Paste list, CSV upload, or Sequence, and the same Code 128 settings apply to every row, up to 500 per batch. The \u003Ca href=\\\"/tools/bulk-barcode-generator\\\">bulk barcode generator\u003C/a> opens straight into that mode.\"}]}]","Edge cases that show up once the labels are printed and scanning starts.","Code 128 — common questions",[29,159,161],{"anchorId":160},"code-128-privacy",[33,162,163,166],{"v-slot:description":35},[37,164,165],{},"Everything renders locally — the value you type is drawn onto an off-screen canvas in your own browser, and the ZIP and PDF libraries only load once you click a download. No barcode data reaches our servers.",[37,167,168,169,173,174,178],{},"Printing Code 128 tags for equipment is the first half of the job; the second is having something to scan them into. UNIO24's ",[53,170,172],{"href":171},"/product/tagging-and-smart-labeling","asset tagging"," turns a scan into a full record, and the field guide to ",[53,175,177],{"href":176},"/blog/fix-blurry-barcodes-qr-codes","labels that stop scanning"," is worth a read before you commit to a label stock.",[21,180],{":primaryButton":181,"subtitle":182,"title":183,":secondaryButton":184},"{\"text\":\"Start for Free\",\"url\":\"https://my.unio24.com/signup?utm_source=unio24-site&utm_medium=referral&utm_campaign=tools&utm_content=tools-code-128-barcode-generator\"}","UNIO24 turns barcode, QR, and NFC tags into a live asset register — scan a tag and the full history opens on your phone. Start free with 50 assets.","Tag every asset, scan to the record","{\"text\":\"Book a Demo\",\"url\":\"/demo\"}",{"title":35,"searchDepth":186,"depth":186,"links":187},2,[188],{"id":61,"depth":186,"text":62},"Generate Code 128 barcodes in your browser — one code or a batch of 500. Preview instantly, then download PNG, ZIP, or a print-ready Avery label sheet.","md",false,"code 128 barcode generator, code 128 generator, free code 128 barcode generator, generate code 128 barcode, code 128 vs code 39, gs1-128, code 128 asset tag","en",{"schemaOrg":195},[196,207],{"@type":197,"name":198,"applicationCategory":199,"operatingSystem":200,"description":201,"url":202,"offers":203},"WebApplication","UNIO24 Code 128 Barcode Generator","UtilitiesApplication","Any","Free browser-based Code 128 barcode generator for single codes or batches, with PNG, ZIP, Avery PDF, and print export.","https://unio24.com/tools/code-128-barcode-generator",{"@type":204,"price":205,"priceCurrency":206},"Offer","0","USD",{"@type":208,"itemListElement":209},"BreadcrumbList",[210,215,218],{"@type":211,"position":212,"name":213,"item":214},"ListItem",1,"Home","https://unio24.com/",{"@type":211,"position":186,"name":216,"item":217},"Tools","https://unio24.com/tools",{"@type":211,"position":219,"name":220,"item":202},3,"Code 128 Barcode Generator",true,"/tools/code-128-barcode-generator",{"title":6,"description":189},{"loc":222,"lastmod":225},"2026-08-09T23:02:18+03:00","tools/code-128-barcode-generator","B_6tNsSPL7uOqex6i83D0nuIuLNY_J_W9xFTO9OJZqc",[229,232,235,238,239],{"locale":230,"path":231},"es-419","/es-419/tools/generador-de-code-128",{"locale":233,"path":234},"id","/id/tools/generator-code-128",{"locale":236,"path":237},"pt-br","/pt-br/tools/gerador-de-code-128",{"locale":193,"path":222},{"locale":70,"path":240},"/tr/tools/code-128-barkod",1787426148958]