en

Barcode generator

Generate barcodes (EAN, UPC, ISBN, Code 128, GS1 DataBar and more) locally as SVG or print-ready PNG - nothing is uploaded, no account needed.

Running locally on your device ...

Barcode type
  • Code 128
  • EAN-13
  • EAN-8
  • UPC-A
  • Code 39
  • ITF-14
  • ISBN
  • GS1 DataBar
  • GS1 DataBar Expanded
Content
  • Text
  • GS1
Show readable text below
Format The target format of the output file.
  • SVG
  • PNG
Module width X (mm)
Bar height (mm)
Bar colour
Background

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Barcodes are everywhere in retail and logistics: they encode an article number or text into a machine-readable pattern. This tool generates the common one-dimensional codes to spec - Code 128 (ISO/IEC 15417) for Latin-1-range text (including accented Western European characters), EAN-13, EAN-8 and UPC-A (ISO/IEC 15420, GS1) for retail items, ISBN for books, GS1 DataBar (ISO/IEC 24724) for fresh produce and small items, Code 39 (ISO/IEC 16388) and ITF-14 (ISO/IEC 16390) for industry and shipping - right in your browser.

You pick the type and enter the data. EAN, UPC and ISBN accept only digits of a fixed length; the check digit is added automatically when needed, and if it is wrong the tool names the correct one. GS1 DataBar takes a GTIN; the Expanded variant also takes GS1 data in bracket notation such as (10) batch or (17) expiry date. Code 128 and Code 39 also take letters. The result comes as an SVG with dimensions in millimetres or as a PNG at 300 or 600 dpi, with adjustable module width, bar height and colours - ready for labels and print.

Generation runs entirely locally in your browser - your data is not uploaded, not stored, and no foreign library is loaded from a CDN. If the input does not match the chosen type (for example letters in an EAN or a wrong length), the tool says so honestly instead of producing a wrong code.

Free as often as you like: no daily cap, no account, no paywall - your input stays on your device. Many online services limit free use to a few runs per day or require an account; here everything runs locally in your browser - with no daily quota and no sign-up.

Specifications

Specifications
Input formatsText input
Output formatsSVG, PNG
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Choose the barcode type.
  2. Enter the data or text (EAN/UPC digits only).
  3. Choose the format, generate the code and download it.

Limitations: Generates one-dimensional barcodes (Code 128, EAN-13/8, UPC-A, ISBN, GS1 DataBar and DataBar Expanded, Code 39, ITF-14); UPC-E, Code 93, Codabar and EAN add-on codes (+2/+5) are not offered. For QR codes use the QR code generator. EAN, UPC, ISBN and DataBar require the correct digit count and a valid check digit. Text input covers the Latin-1 character range (ASCII plus Western European accented characters like é, ü, ñ); other scripts are rejected with an error instead of being encoded wrong. The quiet zone left and right follows the GS1 minimums (EAN-13/ISBN 11/7 modules, EAN-8 7, UPC-A 9, ITF-14 and Code 128 10); GS1 DataBar needs none per the spec, but a 3-module safety margin is kept here. Only Code 39 stays at a conservative 10 modules, because no checked standards source was found for it. Light bars on a dark background or too little contrast are refused. An ISBN without hyphens is generated as the equivalent EAN-13 without the ISBN line. For the one-dimensional types every non-empty line becomes its own code; several codes come together in one ZIP file, at most 500 per run, and lines with errors are named by their number. A line break therefore cannot be part of such a code.

Symbologies compared

Symbologies compared
TypeCharacter setLengthCheck digitTypical use
Code 128letters and digitsfreeautomaticarbitrary text
EAN-13digits only12-13added automaticallyretail items
EAN-8digits only7-8added automaticallysmall packages
UPC-Adigits only11-12added automaticallyretail items (US)
Code 39letters and digitsfreeoptionalindustry and shipping
ITF-14digits only14added automaticallyshipping cartons
ISBNdigits (ISBN-10 also X)9-10 or 12-13verified or addedbooks
GS1 DataBardigits only (GTIN)8, 12, 13 or 14verifiedfresh produce, small items
GS1 DataBar ExpandedGS1 data in bracketsup to 74 digitsGTIN verifiedbatch, expiry date, weight

FAQ

Is my data uploaded?

No. The barcode is generated entirely locally in the browser; your data never leaves the device and is not stored.

Which type should I choose?

Code 128 for Latin-1-range text or numbers, EAN-13/UPC-A for retail products, EAN-8 for small packages, ISBN for books, GS1 DataBar for fresh produce (Expanded with batch or expiry date), Code 39 or ITF-14 for industry and shipping.

Why do I get an error with EAN?

EAN and UPC allow only digits of a fixed length (EAN-13 twelve to thirteen, EAN-8 seven to eight, UPC-A eleven to twelve). Letters or a wrong length lead to an honest error.

SVG or PNG?

SVG is a vector with dimensions in millimetres and stays crisp when scaled up - ideal for layout and label programs. PNG fits where only pixel images work: every bar is a whole number of pixels wide at 300 or 600 dpi, and the resolution is stored in the file so the code prints at its true size.

Is Barcode generator free - are there any limits?

Yes. You can use Barcode generator as often as you like: no daily cap, no account, no paywall. How much content fits into a code is set only by the code format itself, not by gottrix.

Related tools

QR code generator · Barcode reader · Compress images · DataMatrix generator · PDF417 generator · Aztec code generator