Barcode Generator
Create a Code 128 or Code 39 barcode as a PNG: checksums are computed, characters the symbology cannot encode are refused, and nothing is uploaded.
What the barcode generator encodes
A linear barcode is a row of bars whose widths encode characters. Code 128 packs the printable ASCII range into eleven modules per symbol, appends a modulo-103 check symbol, and switches to subset C on a run of six or more digits so a long reference number stays short. Code 39 is the older alphabet of digits and upper-case letters with a star guard at each end; it carries no checksum here, and lower-case input is refused unless you ask for it to be uppercased, because silently changing the data is how a scan lands in the wrong field. The PNG is drawn on a canvas at the module width and bar height you choose, with a ten-module quiet zone. Treat the output as a mockup or test data, not a code issued by any authority.
How to use it
Barcode Generator: paste the value to encode into the box above, set Symbology (default "code128"), Module width in pixels (1-6), default 2, Bar height in pixels (20-200), default 80, Print the value under the bars (default "yes") and Uppercase lower-case letters (Code 39), default "no", and press Run to get the barcode (PNG) below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads value to encode and returns barcode (PNG); reloading the page discards both.
A linear barcode is a row of bars whose widths encode characters. Code 128 packs the printable ASCII range into eleven modules per symbol, appends a modulo-103 check symbol, and switches to subset C on a run of six or more digits so a long reference number stays short. Code 39 is the older alphabet of digits and upper-case letters with a star guard at each end; it carries no checksum here, and lower-case input is refused unless you ask for it to be uppercased, because silently changing the data is how a scan lands in the wrong field. The PNG is drawn on a canvas at the module width and bar height you choose, with a ten-module quiet zone. Treat the output as a mockup or test data, not a code issued by any authority.
Create a Code 128 or Code 39 barcode as a PNG: checksums are computed, characters the symbology cannot encode are refused, and nothing is uploaded.
How to use it
Barcode Generator: paste the value to encode into the box above, set Symbology (default "code128"), Module width in pixels (1-6), default 2, Bar height in pixels (20-200), default 80, Print the value under the bars (default "yes") and Uppercase lower-case letters (Code 39), default "no", and press Run to get the barcode (PNG) below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads value to encode and returns barcode (PNG); reloading the page discards both.
What to Expect
Best for
- Converting value to encode to barcode (PNG) when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Frequently asked questions
How do I use the barcode generator?
Barcode Generator: paste the value to encode into the box above, set Symbology (default "code128"), Module width in pixels (1-6), default 2, Bar height in pixels (20-200), default 80, Print the value under the bars (default "yes") and Uppercase lower-case letters (Code 39), default "no", and press Run to get the barcode (PNG) below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.