Start a project

Tool 137 of 425 · Barcodes

Barcode Generator (Code 128, EAN-13)

Generates scannable Code 128 or EAN-13 barcodes as SVG, checking EAN check digits.

Barcode Generator (Code 128, EAN-13)

Your input

Result

SVG

    01

    What it does

    Generates scannable Code 128 or EAN-13 barcodes as SVG, checking EAN check digits.

    • Code 128 (auto B/C sets)
    • EAN-13 with check digit
    • Bar width and height
    • Text and colours

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    SVG barcode, with a Copy and a Download button on every result.

    • Barcode
    • Code 128
    • EAN-13

    Why it matters

    Stock labels, tickets and packaging need barcodes, and an SVG prints sharply at any size.

    Keep dark bars on a light background with a quiet zone so scanners can read it.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Generate barcode. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Which type should I use?

    EAN-13 for retail products (needs a GS1 number), Code 128 for anything internal.

    Can I add a missing check digit?

    Yes. Enter 12 digits for EAN-13 and it's calculated.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk