CODE128, EAN-13 and UPC-A — built entirely in your browser. Nothing is uploaded.
2.0 px
100 px
Show text under barcode
Live preview
Loading barcode engine…
PNG exports at 3x resolution · SVG stays infinitely scalable · both generated locally.
About this barcode generator
This tool turns any value into a scannable 1D barcode without an account, a server round-trip, or ad tracking.
Pick a format, type your content, tune the bar size, and export a print-ready PNG or a vector SVG. It supports
CODE128 for general text and numbers, plus the retail standards EAN-13 and UPC-A, with check digits handled for you.
Quick answer: To create a barcode, choose a format (CODE128, EAN-13 or UPC-A), type or paste your
value, adjust the bar width and height, then select Download PNG or Download SVG.
Everything runs in your browser, so no upload or sign-up is needed.
What is a barcode?
A barcode is a machine-readable pattern of parallel bars and spaces that encodes data such as a product number or
SKU. A scanner reads the relative widths of the bars to recover the original value. This generator produces three
widely used 1D (linear) symbologies: CODE128, EAN-13 and UPC-A.
How to create a barcode
Select a format standard: CODE128, EAN-13 or UPC-A.
Enter your content — text or numbers for CODE128, or digits for EAN-13 and UPC-A.
Adjust the bar width and height, and toggle the human-readable text on or off.
Download the result as a PNG image or a scalable SVG vector.
CODE128 vs EAN-13 vs UPC-A
Format
Accepts
Typical use
CODE128
Any printable ASCII text or numbers
Shipping labels, internal SKUs, asset tags
EAN-13
12 or 13 digits
Retail products sold internationally
UPC-A
11 or 12 digits
Retail products in the US and Canada
Frequently asked questions
No. Every barcode is encoded and rendered inside your browser. Nothing you type leaves the page and no sign-up is required.
CODE128 for any printable text or numbers, EAN-13 for 12 or 13 digit retail codes, and UPC-A for 11 or 12 digit codes used across North American retail.
No. Enter 12 digits for EAN-13 or 11 digits for UPC-A and the correct check digit is calculated and appended automatically. Paste a full-length code and its check digit is verified for you.
PNG is a fixed-resolution image exported at 3x for crisp printing. SVG is a vector that scales to any size without losing sharpness, ideal for packaging and print layouts.
Yes. It is completely free with no sign-up, no watermark, and no usage limit. Because everything runs in your browser, there is nothing to install.
This tool renders any EAN-13 or UPC-A number you provide. For products sold through major retailers, the number itself must be a genuine GS1-issued code — the generator draws the barcode but does not assign official GS1 numbers.