Barcode generator.

Generate scannable Code128, UPC, EAN, and SKU barcodes with a valid check digit — download PNG or SVG.

  • Runs in your browser
  • Nothing is uploaded
  • Free — no sign-up

Barcode

Any text or number — SKUs, shipping, internal.

Style

80px

Your barcode

Good to know.

A barcode generator encodes a number or SKU into a scannable barcode with a valid check digit. This free tool supports Code128, UPC-A, EAN-13, EAN-8, and Code39, and exports a crisp PNG or scalable SVG.

The right symbology, with a valid check digit

Pick Code128 for SKUs and internal tracking, or UPC-A and EAN-13 for retail products. We validate the input and compute the check digit so the barcode actually scans at a register.

Print-ready output

Download a crisp PNG for screens and labels, or an SVG that stays sharp at any size for professional printing — with an optional human-readable number beneath the bars.

How to make a barcode

  1. Choose a format. Pick Code128, UPC, EAN, or Code39 for your use.

  2. Enter your value. Type the number or SKU to encode.

  3. Style it. Set the colors, height, and whether to show the number.

  4. Download. Export a PNG or SVG.

Frequently asked

Which barcode type should I use?

Use UPC-A or EAN-13 for products sold in retail, Code128 for internal SKUs and shipping, and Code39 for simple asset tags.

Do I need to buy a UPC number?

To sell in major retail, yes — UPC/EAN numbers are issued by GS1. This tool encodes any valid number into a scannable barcode, but it doesn't assign you an official one.

Will these scan reliably?

Yes — the encoding and check digits follow the standards. For retail, print at adequate size and keep a quiet zone (blank margin) around the bars.

Commerce

A barcode is only useful if something tracks it.

Printing a label is the easy part. sparx Commerce tracks the inventory behind it — variants, bundles, reservations, and low-stock alerts, real-time across storefront, manual orders, and your AI.

Explore Commerce

What you get with sparx Commerce.

Products and inventory, a checkout that converts, Stripe payments, tax and carrier rates wired in. D2C and B2B from the same engine. Run it headless on the API or pair it with Builder for a hosted storefront.

01

Inventory that tracks.

Per-variant counts, deny or backorder policy, low-stock thresholds that publish alerts. Bulk-adjust by CSV or API — read live, never stale.

02

Checkout that converts.

Single-page, address autocomplete, saved payment methods, Apple Pay, Google Pay, and Link. Conversion-tuned out of the box.

03

Stripe payments.

Stripe as the primary processor, connected through Stripe Connect — you keep your own account. A small per-transaction fee that steps down to 0% as you grow.

Commerce is one module on the sparx platform — activate it alongside storefront, CRM, CMS, email, and B2B on one data layer and one bill. Only pay for what you run.

More free tools.

Every sparx tool runs entirely in your browser — free, no account, nothing uploaded.