Generate CODE128, EAN13 and UPC barcodes as crisp SVG or PNG. Enter text, set size and download via JsBarcode. Free offline barcode generator.
Part of our Generators collection — Explore more Generators tools · See also: Password & Passphrase Generator, Lorem Ipsum Generator.
Quick answer: Barcode Generator — CODE128, EAN13, UPC Free, no signup, runs in your browser. See below for the interactive tool, 4-step guide and FAQs.
Generate CODE128, EAN13 and UPC barcodes. Rendered to SVG and canvas via lazy-loaded JsBarcode.
CODE128 supports alphanumeric
Bar width (1-4)
Bar height px
Deep dives from the Tool4SaaS blog — tested workflows, print sizes and fixes.
Reviewed by the Tool4SaaS Editorial Team — In-house reviewers who build and test every tool locally for accuracy across current Chrome, Edge, Firefox, and Safari. Last updated: . See our authors, methodology or contact us.
CODE128 for any text, EAN13 for 13 digits, and UPC for 12 digits, all validated per format. For example, HELLO123 suits CODE128, 5901234123457 fits EAN13 with checksum, and 042100005264 fits UPC. Invalid lengths flag instantly before rendering locally.
No. Generation runs client-side after lazy loading JsBarcode, with no upload or account. For example, a product code like 5901234123457 renders as SVG on-device, works offline after load, and clears when you close the tab fully private.
EAN13 encodes 12 data digits and one checksum digit for scanners. For example, 5901234123457 passes check, while 12 digits fail. CODE128 accepts any text, UPC needs 12 digits. Set 2x scale and 100 px height for crisp labels, then export SVG or PNG.
Laser scanners need dark bars on light quiet zones with minimum width and height to resolve edges. Our tool renders 5901234123457 EAN13 at 2x scale, 100 px height, with margins for standard labels. For example, HELLO123 CODE128 prints crisply as SVG, while 10 mm PNG blurs at checkout. Designers test prints, warehouses verify guns, retailers avoid fines by checking contrast.
Choose SVG for print shops, packaging, and signage requiring infinite scaling without pixelation. For example, download barcode-5901234123457.svg for 300 dpi boxes. Choose PNG for web listings, emails, and quick docs where raster suffices. Our offline maker sets width, height, fonts, exports both, and keeps codes private. Always proof scans before mass printing.
Linear symbologies encode text or digits as scannable bars for retail, inventory, and labeling with print-ready exports. Example 1: enter HELLO123 CODE128 for shelf labels and asset tags in warehouses. Example 2: enter 5901234123457 EAN13 with checksum for European packaging and checkout scanning. Example 3: enter 042100005264 UPC for North American cans and books. Makers print crisp SVG for boxes or PNG for listings via JsBarcode locally. Retailers price goods, librarians catalog books, manufacturers track batches, and event organizers badge attendees without cloud exposure. Validation flags length errors instantly, sizing controls readability, offline mode supports factories securely every day. Manufacturers label batches, pharmacies track dosages, and libraries circulate collections with reliable scans every day consistently without errors, delays, misreads, or glare.
Symbology determines character set, length, and checksum rules enforced before rendering for scanner compatibility. Reference symbology table: CODE128 accepts ASCII text variable | EAN13 needs 13 digits with checksum | UPC needs 12 digits retail | CODE39 suits industrial alphanumerics | ITF suits cartons numeric. Set width 2x, height 100 px, font size for labels so 5901234123457 scans at 30 mm wide. For example, EAN13 validates 12 data and checksum digit. SVG scales cleanly for print shops, PNG suits listings, all client-side after lazy library load. Edge case: missing quiet zones or inverted colors fail guns; maintain margins and dark-on-light contrast for reliable reads. Logistics scan cartons, grocers price produce, and venues admit guests swiftly while reducing manual entry errors significantly.
Example 1: type 5901234123457, pick EAN13, set 100 px height and 2x scale, download barcode-5901234123457.svg for crisp print and packaging. Example 2: type HELLO123 CODE128 for internal bins, export PNG for wiki documentation. Edge case: tiny 10 mm codes or low 150 dpi output blur at checkout; enlarge and proof with actual scanners. Limitation: tool generates linear barcodes only, without QR codes, RFID, or inventory database sync for enterprise tracking. For QR links try maker at /qr-code-generator; for bulk test rows explore builder at /fake-data-generator, both offline companions. Keep quiet zones, verify contrast, archive artwork with version control before production. Designers embed logos, QA teams verify grades, and auditors archive specimens with versioned artwork and calibration logs daily. Additionally, teams document decisions, share templates, and train colleagues systematically for consistency.