Skip to content
StylQR home

Barcode Generator

Create EAN, UPC, Code 128, GS1-128, Data Matrix and every other major barcode — validated live, sized in millimetres and ready to print.

  • Every major barcode type
  • Check digits added
  • Print-ready SVG, PDF & 1200 DPI PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

Any ASCII text — letters, digits and punctuation.

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

How to make a barcode

From number to print-ready label in four steps.

  1. 1

    Step 1

    Pick a barcode type — EAN-13 or UPC-A for retail, Code 128 for inventory, GS1-128 or ITF-14 for shipping, Data Matrix for small parts — or start from a label template.

  2. 2

    Step 2

    Enter your number or text. It is checked live against the official rules: check digits are added for you, and a wrong one is flagged with the correct digit suggested.

  3. 3

    Step 3

    Design the barcode: bar width and height in millimetres, quiet zone, colours, text font and position, rotation, and a title or price caption. The printed size updates as you go.

  4. 4

    Step 4

    Press Test scan to read it back, then download a crisp PNG, JPG or WEBP at 300–1200 DPI, vector SVG or PDF, or print it on Avery label sheets.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Which barcode do you need?

Start from what you are labelling — the right symbology follows.

Selling in shops

Use EAN-13, or UPC-A in the USA and Canada, with a GTIN licensed from GS1. Books use an ISBN barcode.

Shipping & logistics

Use GS1-128 for batch, expiry and weight, SSCC-18 for pallets, and ITF-14 for cartons printed on corrugated board.

Inventory & assets

Use Code 128 for any mix of letters and digits. Choose Code 39 only when a system or standard asks for it.

Small items & lots of data

Use Data Matrix for tiny parts and GS1 data on medicines, or PDF417 for long text on IDs, tickets and shipping labels.

Every barcode type in one studio

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.

What people make with barcodes

From shop shelves to shipping docks.

  • Retail products

    Turn the GTIN you got from GS1 into an EAN-13 or UPC-A barcode for packaging artwork, at the size and quiet zone checkouts expect.

  • Books & magazines

    ISBN barcodes with the ISBN printed above and a price add-on, or ISSN barcodes with an issue number for periodicals.

  • Shipping & warehouses

    GS1-128 labels with batch, expiry and weight, SSCC pallet codes and ITF-14 barcodes with bearer bars for corrugated cartons.

  • Inventory & asset tags

    Code 128 or Code 39 labels for stock, bins, tools and IT equipment, with a title line and a layout that fits standard label sheets.

  • Healthcare & parts marking

    GS1 DataMatrix codes with GTIN, serial number, batch and expiry for medicines and medical devices, or Data Matrix for tiny components.

  • Tickets, IDs & libraries

    PDF417 and Aztec codes for tickets and passes, Code 39 for staff badges, and Codabar for library cards and membership numbers.

Barcode questions, answered

Is the barcode generator free?

Yes. Every barcode type, design option and download format is free, with no signup, no watermark and no limit on how many barcodes you create or download.

Is it free for commercial use?

Yes. Barcodes you make here can go on products, packaging, labels and anything you sell. Barcode symbologies themselves are open standards, so there are no royalties to pay.

Do I need to buy barcodes or GTINs?

For products sold in shops, yes — retailers expect a GTIN (the number behind an EAN or UPC) licensed to your company by GS1, and books need an ISBN from your national ISBN agency. StylQR does not sell numbers: once you have them, it turns them into barcodes for free. Internal codes like Code 128 or Code 39 can use any numbers you like.

Which barcode type should I use?

Use EAN-13 (or UPC-A in North America) for retail products, ISBN for books, GS1-128, SSCC or ITF-14 for cartons and pallets, Code 128 for inventory and asset tags, and Data Matrix or PDF417 when you need lots of data in a small space. If a customer or retailer gave you a specification, follow it.

What’s the difference between EAN-13 and UPC-A?

They are the same family. UPC-A holds 12 digits and is used mainly in the USA and Canada; EAN-13 holds 13 and is used everywhere else. A UPC-A number is an EAN-13 with a leading 0, and checkouts worldwide read both.

Code 128 vs Code 39 — which is better?

Code 128 encodes all ASCII characters, packs digits in pairs and has a mandatory check character, so it is shorter and more reliable. Code 39 only covers uppercase letters, digits and a few symbols, but it is simple and still required by some automotive, defence and healthcare standards.

What is a check digit?

The last digit of codes like EAN, UPC, ITF-14 and SSCC, calculated from the others so a scanner can catch misreads. StylQR calculates it for you, and if you type a full number with the wrong check digit it tells you the correct one.

What size should a barcode be?

Retail EAN-13 and UPC-A barcodes are about 37 × 26 mm at their nominal 0.33 mm bar width and can be scaled from 80% to 200%. Code 128 labels work well with bars of 0.25–0.5 mm and 10–15 mm high. The live readout shows the exact printed size, and warns you if it is too small to scan.

Why won’t my barcode scan?

The usual causes are bars that are too thin or too short, a missing quiet zone (the blank margin either side), low contrast, red or orange bars, or a stretched image. Download SVG or PDF to keep exact proportions, keep dark bars on a light background, and use Test scan to check before printing.

Can I use colours?

Yes, as long as the contrast is strong: dark bars (black, dark blue, dark green, dark brown) on a white or light background. Avoid red, orange and yellow bars, which red-light laser scanners cannot see, and avoid light bars on a dark background, which many scanners cannot read.

Which file format is best for printing?

SVG or PDF. Both are vector, so the bars stay sharp at any size, and the PDF is laid out at the exact printed size. If you need an image, PNG at 600 or 1200 DPI keeps every bar a whole number of pixels so nothing blurs.

Can I make barcodes in bulk?

Yes. The Bulk Barcode Generator turns an Excel, CSV or Google Sheets list — or a number sequence — into thousands of barcodes, downloaded as a ZIP of images or a PDF of label sheets.

Is my data uploaded anywhere?

No. Barcodes are generated and validated entirely in your browser, so your product numbers and other data never leave your device.

Can I scan a barcode to check it?

Yes. Test scan reads the barcode back with a real decoder right in the page. To read a printed barcode with your phone camera, use the free QR and barcode scanner.