Barcode Generator
Create a QR code for barcode generator details you provide.
About Barcode Generator
Small retailers, warehouse staff and home sellers need printable barcodes for shelf labels, inventory bins, library items or product packaging. This page turns a number or code into a linear barcode that a standard handheld scanner can read, so you do not need special label software for a short batch.
How it works
You type a value and choose one of three symbologies: Code 128, EAN-13 or UPC-A. The JsBarcode library draws an SVG barcode in the browser, 90 pixels tall, with the human-readable value printed underneath. Code 128 accepts letters, digits and common symbols. EAN-13 expects 12 or 13 digits and UPC-A expects 11 or 12; when the last digit is left off, the library calculates the check digit. A value that does not fit the chosen format is rejected with an error. Download result saves an SVG file.
How to use Barcode Generator
- Complete the available fields: Value, Type. Use the field labels and examples shown in the workspace.
- Select “Generate” and check the result before copying or downloading it.
Worked example
Choose EAN-13 and enter the 12 digits 590123412345. The library adds the check digit 7, because the weighted sum is 17 plus 3 times 22, which is 83, and 10 minus 3 equals 7. The barcode reads 5901234123457 and downloads as ean13.svg, ready to place on a label layout.
Tips for a better result
- Use Code 128 for internal stock codes such as BIN-A12. EAN-13 and UPC-A only accept digits and are meant for retail product numbers.
- Real retail EAN or UPC numbers come from a GS1 membership. Making up a number can clash with another company's product at the checkout.
- The SVG file scales without blur. Keep the quiet white margin on both sides when you resize it, or scanners may fail to read it.
Frequently asked questions
Why does my EAN-13 value give an error?
EAN-13 needs exactly 12 digits, or 13 digits with a valid check digit. Letters, spaces or a wrong final digit cause rejection. Enter only the first 12 digits and let the tool compute the check digit for you.
Can I print a sheet of many barcodes?
Not directly. The page makes one barcode at a time. For a batch, generate each SVG, then arrange them in a word processor or label program that matches your sticker sheet.
Does this register my product number?
No. It only draws the bars for whatever number you type. Selling in retail stores usually requires numbers assigned to your company by GS1, which this page cannot issue or verify.
What to check
Anyone who scans a shared code may see its contents. Check links and personal details before distributing it.
Read the Privacy Policy for information about local processing, connected services and advertising.