Barcode Generator
Create and download barcodes online for free. This browser-based barcode maker and generator produces EAN, UPC, ITF-14, Code 128, Code 39, Codabar, QR Code, and Data Matrix symbols as PNG or SVG — with input validation and no upload.
The mandatory Code 128 symbol check character is calculated by the encoder.
The preview updates locally as the value or settings change.
The preview and both download files are created in your browser. The encoded value is not uploaded by this tool.
Rendering and downloads run in browser-side code. Creating a barcode image does not register a number, assign a GTIN, or verify ownership or authenticity.
Supported barcode formats
Every format below is connected to the shared generation manifest and has an executable rendering test. Pick a retail format for a product number, a linear identifier for internal data, or a 2D format for longer text.
| Format | Type | Description |
|---|---|---|
| EAN-13 | 1D | Retail symbol carrying a 12-digit payload plus check digit |
| UPC-A | 1D | Retail symbol carrying an 11-digit payload plus check digit |
| UPC-E | 1D | Zero-compressed UPC symbol for compatible number-system 0 or 1 values |
| EAN-8 | 1D | Compact retail symbol carrying a 7-digit payload plus check digit |
| ITF-14 | 1D | Packaging symbol carrying a 13-digit GTIN payload plus check digit |
| Code 128 | 1D | High-density barcode for printable ASCII identifiers |
| Code 39 | 1D | Uppercase alphanumeric identifiers with a limited symbol set |
| Interleaved 2 of 5 | 1D | Dense numeric barcode for internal and logistics identifiers |
| Codabar | 1D | Numeric and symbol data enclosed by A, B, C, or D delimiters |
| QR Code | 2D | Two-dimensional symbol for text, links, and structured payloads |
| Data Matrix | 2D | Compact two-dimensional symbol for text and identifiers |
How to generate a barcode
Four steps take you from choosing a symbology to a downloaded, tested image.
-
Select a barcode format
Choose the symbology expected by the scanner, label workflow, or receiving system — a retail format, a linear identifier, or a 2D code.
-
Enter the value
The maker applies the character, length, delimiter, and check-digit rules configured for that format, and calculates a check digit when one is required.
-
Review the preview
Errors block downloads. A valid preview shows the final encoded value and any canonical expansion, such as UPC-E to UPC-A.
-
Adjust and download
Change scale, height where supported, readable text, and colors, then download a PNG or SVG file locally and scan it before printing.
Retail numbers and check digits
EAN-13, UPC-A, UPC-E, EAN-8, and ITF-14 accept either the payload without its final check digit or a complete number. When only the payload is supplied, the generator calculates and appends the required digit; when a complete retail number is supplied, generation is blocked if its check digit is mathematically incorrect, and UPC-E is expanded to its equivalent UPC-A structure so the canonical value can be displayed. This mathematical validation does not prove that a number was issued by GS1, assigned to a product, or authorized for retail use — you can check a barcode number or read how check digits work for detail.
PNG or SVG output
PNG is a raster image suited to interfaces, documents, and fixed-size workflows; avoid resizing it in a way that blurs bar or module edges. SVG stores the symbol as vector shapes and stays sharp when scaled in design or print software. The final physical size, printer, material, contrast, and surrounding layout still affect scan reliability, so keep clear space around the symbol, use strong contrast, and test the exported file with the scanner and device that will be used in practice.
Barcode generator questions
How do I create a barcode online?
Choose a format, type your value, and this online barcode maker validates it and shows a live preview. Download the result as PNG or SVG — there is no account and nothing to install.
Can I make barcodes for Shopify or a product listing?
Yes. Generate a UPC, EAN, or Code 128 barcode and download the image to use in Shopify, a spreadsheet, or a printed label. Creating the image does not register or assign the number, though.
How do I make a UPC barcode?
Select UPC-A, enter the 11-digit payload, and the generator calculates the check digit and renders the barcode. Enter a full 12-digit UPC and it is verified before rendering.
Does generating a barcode register the number?
No. The tool creates a symbol from the supplied value. It does not assign a GTIN, register a company, verify ownership, or update an external database.
Why was a check digit added?
For supported retail formats, entering the payload without its final digit instructs the shared validation engine to calculate and append the mathematically required check digit.
Why is my value rejected?
Each symbology has its own character and structural rules. The message above the preview identifies invalid lengths, characters, delimiters, colors, or check digits.
Are the value and generated files uploaded?
The generator renders the preview and constructs PNG and SVG downloads in browser-side code. This tool does not send the encoded value to a barcode-generation endpoint.