Barcode generator

Generate EAN-13, UPC-A, Code 128 and Code 39 labels from existing product or stock identifiers. Your entries stay in this browser.

Your identifier

Keep leading zeroes and include the EAN-13 or UPC-A check digit.

Set the label size

Use 0.264 to 0.660 mm.

EAN and UPC minimums scale with module width.

Optional CSV batch

Up to 100 rows with header identifier,format. Use ean13, upca, code128 or code39.

Paste a CSV to prepare up to 100 labels.

    Your barcode

    39.6 × 30.69 mm, including text and quiet zones.

    The preview fits this panel. Exported files retain the printed dimensions above.

    EAN-13 symbol ready for 9506000134352. Scan-test the printed image before use.

    Download labels

    Using the tool

    Keep leading zeroes. EAN-13 and UPC-A need the complete number, including its check digit.

    Use the header identifier,format and up to 100 rows. Formats: ean13, upca, code128 or code39.

    Dimensions control the printed symbol. The SVG keeps its proportions. Maximum label width: 190 mm.

    Keep the identifier column as text when preparing CSV so your spreadsheet preserves leading zeroes. The shared dimensions apply to every row.

    Open the printable HTML file in your browser. Print at 100% actual size with fit-to-page scaling disabled.

    A module is the narrowest bar.

    Choose EAN, UPC, code 128 or code 39

    Use EAN-13 for an assigned 13-digit GTIN or UPC-A for an assigned 12-digit GTIN. These formats carry product numbers used at retail checkouts.

    Code 128 carries stock codes, including lowercase text and common punctuation. Code 39 accepts uppercase letters, digits, spaces and the symbols - . $ / + %. Choose the format your stock system and scanner expect.

    A stock keeping unit (SKU) is an internal stock code. A SKU barcode generator encodes your existing code in Code 128 or Code 39. It does not issue a global retail identifier. This tool generates one-dimensional symbols. For a website link, use the QR code generator.

    Generate and check a barcode example

    The starting example turns 9506000134352, a GTIN used in GS1’s system architecture example, into an EAN-13 symbol. The final 2 is its check digit. Use this demonstration number to try the export, then replace it with the identifier assigned to your product.

    1. Select EAN-13 and enter 9506000134352. Leave module width at 0.330 mm and bar height at 25 mm.
    2. Download the SVG or printable label. Print at actual size on a white background.
    3. Scan the printed symbol with the scanner used in your stock or checkout system. Compare the complete decoded number, including leading zeroes, with your source.

    Changing the last digit to 3 produces a check-digit error and disables single-label downloads. Scan success tests readability with that scanner. Barcode verification also measures print quality against the relevant standard.

    GTIN and GS1 barcode labels

    A GTIN is the product identifier. The barcode is its machine-readable symbol. GS1 distinguishes GTIN-12, GTIN-13 and GTIN-14 by their length and use.

    GTIN-13 fits EAN-13. A GTIN-14 case identifier needs a suitable carrier such as ITF-14 or GS1-128, which this tool does not generate. Plain Code 128 is different from GS1-128.

    A database can store a shorter GTIN in a zero-padded 14-digit field. Preserve the assigned identifier and choose its original retail format before drawing the label. Do not remove digits from a genuine GTIN-14 to force it into EAN-13.

    Use the guide to GTIN allocation and use for product-number ownership, or the GTIN checker for structural checks.

    Bulk labels and print quality

    Paste a CSV with identifier and format columns to export up to 100 labels. For example, a row can contain 012345678905,upca. Every printed label retains its source identifier and CSV row number. A row error blocks the batch until corrected, so invalid rows cannot disappear silently.

    A valid check digit establishes structure only. The generator does not register or allocate product numbers.

    Leave the white space on both sides of every symbol intact. These quiet zones help scanners locate the barcode. The export includes white margins and black bars. Follow GS1’s size and quiet-zone guidance when placing the image on packaging.

    Increase module width to enlarge the bars and keep the minimum height shown by the tool. Avoid squeezing the image, cropping its margins or printing coloured bars on a dark background. The printable file uses the same physical dimensions as the SVG.

    Print and scan a sample from the actual printer and label stock before producing a batch. For supply-chain labels, arrange barcode verification against the receiving retailer’s requirements before release.