Create a Barcode for Free Without Signup β Browser-Based [2026]
Creating a barcode is straightforward β but picking the wrong format, entering an invalid value, or downloading a raster PNG for a label printer will waste time. This guide walks through every decision: format selection by use case, EAN-13 check digit validation, PNG vs SVG, minimum print sizes, and the GS1 note for retail. No account, no upload, no server required.

Table of Contents
Why barcode generators should not require signup
Generating a barcode is a client-side computation. The tool takes your input value, applies the barcode encoding algorithm (CODE128, EAN-13, or another standard), and draws a series of bars on a canvas or as an SVG. No server is involved. No file needs to be uploaded. The entire process happens in browser memory.
When a barcode generator asks you to create an account or enter an email address, it is not doing so because the tool technically requires it. The account requirement exists to build a user database, enable marketing follow-ups, or lock features behind a paid plan. For a task that takes one second of CPU time in your browser, none of that is necessary.
This matters more for barcodes than for many other tools. Barcode values often include proprietary information: internal SKUs, inventory numbers, supplier codes, or unreleased product GTINs that you would prefer not to transmit to a third-party server. With a client-side generator, nothing is transmitted. You can verify this yourself with browser DevTools β open the Network tab, type a value, and download. No outgoing request carries your data.
Step 1 β Choose the right format for your use case
The most common mistake when creating a barcode is selecting the wrong format. Each format has specific constraints on what characters it can encode and where it is accepted. Here is a decision framework:
- Internal inventory, warehouse, or asset tags. Use CODE128. It handles alphanumeric values of any length and is the most compact 1D format. No external registration needed.
- Retail products sold in Europe or internationally. Use EAN-13 with a GS1-registered number. The number must be purchased β see the GS1 note later in this article.
- Retail products sold in the United States or Canada. Use UPC-A with a GS1-registered prefix. EAN-13 scanners also read UPC-A (UPC-A is a zero-prefixed EAN-13).
- Small packaging where EAN-13 does not fit. Use EAN-8. This format requires a GS1-assigned 8-digit number β GS1 allocates EAN-8 numbers specifically for products with insufficient label space.
- Industrial, military, or healthcare asset labels. Use CODE39. Older industrial scanners may not support CODE128. CODE39 is self-checking, does not require a mandatory check digit, and is specified in many legacy industry standards.
- Outer shipping cartons and pallets. Use ITF-14. The thick bars print clearly on corrugated cardboard. Encodes 14 digits: a packaging indicator + the 13-digit EAN of the retail product.
When in doubt, start with CODE128. It is the right answer for a large majority of non-retail barcode needs and is accepted by virtually all modern scanners.
Step 2 β Enter and validate your barcode value
Each barcode format has specific rules about what characters and values are valid. Entering an invalid value will produce a barcode that either does not display or fails to scan correctly.
| Format | Valid characters | Length rule | Check digit |
|---|---|---|---|
| CODE128 | All ASCII (0-127) | Any length (practical limit: 80 chars for readable label) | Auto-calculated and embedded (not shown in human-readable text) |
| EAN-13 | Digits 0-9 only | Exactly 12 data digits (13th is check digit) | Auto-calculated from 12 digits. Must match if 13 provided. |
| EAN-8 | Digits 0-9 only | Exactly 7 data digits (8th is check digit) | Auto-calculated from 7 digits. |
| UPC-A | Digits 0-9 only | Exactly 11 data digits (12th is check digit) | Auto-calculated from 11 digits. |
| CODE39 | A-Z, 0-9, space, - . $ / + % | Any length (practical limit: 15-20 chars for compact labels) | Optional mod-43 check digit. Self-checking format. |
| ITF-14 | Digits 0-9 only | Exactly 14 digits | Auto-calculated (same algorithm as EAN). |
The barcode preview in the generator updates in real time. If the value is invalid for the selected format, the preview will show an error or will not render β a clear signal to check the input before downloading.
Step 3 β Choose PNG or SVG
The output format is a critical decision for barcodes. A blurry barcode will fail to scan. Here is the simple rule:
- SVG for any printed output. Labels, stickers, product packaging, shipping boxes, ID badges, asset tags, books β anything that will be printed. SVG is a vector format. It describes the barcode as mathematical shapes, not pixels. Scale it to any physical size β from a 2cm sticker to a 50cm carton label β and the bar edges remain perfectly sharp. Label printers, print shops, and design software all handle SVG natively.
- PNG for digital-only use. If the barcode will appear in an email, a web page, a digital inventory dashboard, or a PDF opened only on screens, PNG is acceptable. Download it at a size that matches your display resolution β 512px wide is appropriate for most web uses.
- Never enlarge a PNG barcode. Enlarging a raster image blurs the bar edges through anti-aliasing. The scanner reads the relative widths of light and dark bands β blurry edges make those widths ambiguous and the barcode will fail. If you need a larger version, download a new SVG.
Create your barcode now β no account, no upload
Choose your format, enter your value, download SVG for print or PNG for digital. Free for commercial use.
Open Barcode Generator, FreeStep 4 β Print on labels: sizes, DPI, and quiet zones
Once you have your SVG file, there are a few physical printing requirements that determine whether the barcode scans reliably:
- Minimum size. For CODE128, print at a minimum width of 30mm and height of 15mm for standard handheld scanners. For EAN-13, the GS1 nominal size is 37.29mm x 26.26mm. Smaller sizes scan less reliably, particularly at longer scanning distances.
- Print resolution. Label printers typically print at 203 dpi or 300 dpi. Desktop laser printers print at 600 or 1200 dpi. All of these are sufficient for clean bar edges when printing from SVG. Inkjet printers can be used but ensure the barcode is not too small β ink spread can blur narrow bars.
- Quiet zones. Every barcode requires a blank white margin β called a quiet zone β on the left and right sides. Scanners use these margins to locate the beginning and end of the barcode. If text or graphics intrude into the quiet zone, the barcode will fail to scan. The SammaPix generator includes appropriate quiet zones in the output. When placing the barcode in a label design, maintain the margins β do not stretch the barcode edge to edge.
- Contrast. Barcodes must be printed in dark ink on a light background. Black bars on white is the standard. Color barcodes can work if the scanner's light source penetrates the bar color β but for any critical application (retail, logistics), use black and white.
Step 5 β Test before printing at scale
Before printing 500 product labels or sticking a barcode on 200 boxes, print one copy and scan it with the actual scanner that will be used in your workflow. This takes ten seconds and prevents an expensive reprinting job.
Use a barcode scanner app on your phone (most smartphone camera apps decode barcodes natively) or a dedicated handheld scanner. Verify that the decoded value matches exactly what you intended to encode β every digit, every character. For EAN-13, confirm the check digit is correct. For CODE128, confirm that uppercase and lowercase letters are preserved as expected.
If the scan fails, check: the print size (too small?), the quiet zones (obscured?), and the value validation (correct format selected?). If you can scan the on-screen preview in the browser but not the printed label, the issue is print quality β switch to SVG output and print at a larger size.
Generate and scan β no signup required
Real-time preview, SVG or PNG download, no upload to any server. Test in browser before printing. Free.
Retail use: the GS1 note you need to read
You can create the barcode image for free. The number inside it is a different matter.
For EAN-13 and UPC-A barcodes used on retail products, the number (called a GTIN β Global Trade Item Number) must be globally unique. GS1 is the international organization that manages this uniqueness by assigning company prefixes. The first 7 to 12 digits of an EAN-13 or UPC-A identify the company that registered the prefix with GS1. The remaining digits identify the specific product and packaging configuration.
If you sell through physical retailers β supermarkets, pharmacies, specialty stores β or through platforms like Amazon that require valid GTINs: purchase a company prefix or individual GTINs directly at gs1.org. The cost varies by country and how many product numbers you need.
If you are testing label designs, creating prototype packaging for internal review, building a label printer setup, or running an internal inventory system you control end to end: you can use any number with the SammaPix generator without GS1 registration. The barcode image will scan correctly in your own systems.
The SammaPix Barcode Generator generates the image. What number you encode in that image, and whether it needs to be registered with GS1, is a business decision entirely in your hands.
Real use cases: inventory, asset tags, libraries, shipping
Here is how people actually use the barcode generator, with the format and value format used in each case:
- Ecommerce seller labeling inventory for a fulfillment center. Uses CODE128 with internal SKU format (e.g.,
SKU-TSHIRT-BLK-M). Downloads SVG, imports into Canva or Avery label template, prints on a laser printer at 300 dpi. Labels go on storage bins. - Small manufacturer creating EAN-13 labels for a batch of 50 test products. Has already purchased a GS1 company prefix. Uses EAN-13 with the assigned GTIN. Enters 12 digits, check digit auto-calculated. Downloads SVG, sends to print shop for label production on 4-color label stock.
- School library setting up a barcode checkout system. Uses CODE128 with a sequential number format (e.g.,
LIB-00001throughLIB-02500). Generates each barcode, arranges in a Word document, prints one barcode per book on Avery label sheets. - IT manager tagging office equipment for an asset audit. Uses CODE128 with asset IDs (e.g.,
ASSET-DELL-MON-042). Downloads PNG for the internal asset management system and SVG for durable polyester asset tags. - Logistics company marking shipping cartons for a wholesale client. Uses ITF-14 with the 14-digit GTIN provided by the manufacturer. Downloads SVG, imports into label design software, prints on corrugated cardboard-compatible label media at minimum 35mm height.
Related tools
- Barcode Generator: the tool this article is about. CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14. No signup, no upload. PNG and SVG. Free. See also the full format guide.
- QR Code Generator: for URLs, Wi-Fi, email, and contact cards β use QR codes. Static, no expiry, PNG and SVG. See QR code guide.
- Barcode Reader: decode any barcode from an image or screenshot β no camera, no upload. Verify a barcode value before printing.
- SVG to PNG: convert a downloaded SVG barcode to a PNG at a specific pixel size for digital systems that do not accept SVG.
- Batch File Renamer: if you are managing inventory images, use the batch renamer to align filenames with your SKU system before labeling.
All your barcode and label tools, no account needed
Barcodes, QR codes, barcode reading, SVG conversion β all in your browser, no upload, no signup.
FAQ
Do I need to create an account to generate a barcode?
No. The SammaPix Barcode Generator runs entirely in your browser without any account, signup, or email address required. The barcode is generated by client-side JavaScript on your device. Your value is never sent to any server. You can verify this by opening browser DevTools (F12), going to the Network tab, and watching for outgoing requests as you type your barcode value β you will see none. No account means no password to remember, no emails, no subscription, and no data collected.
What format should I choose for a warehouse inventory barcode?
Use CODE128. It is the best choice for internal inventory barcodes because it supports alphanumeric characters (letters and numbers), which allows descriptive SKU formats like PROD-A1234-BLK-L or INV-20260804-001. CODE128 produces a compact barcode β shorter than CODE39 for the same data β and is supported by all modern barcode scanners, including handheld guns, fixed warehouse scanners, and phone camera apps. There is no need to register the number with any external body for internal use.
How do I validate an EAN-13 barcode number?
An EAN-13 number consists of 12 data digits plus a 13th check digit. The check digit is calculated using the following algorithm: (1) Take the 12 data digits. (2) Multiply digits in even positions by 3 and odd positions by 1. (3) Sum all the results. (4) The check digit is (10 minus the last digit of the sum), modulo 10. The SammaPix Barcode Generator calculates this automatically when you enter 12 digits. If you enter all 13 digits, the tool verifies that your check digit is correct. An incorrect check digit will cause scan failures at retail checkout.
Can I create a barcode for a product I want to sell on Amazon?
You can generate the barcode image here for free, but Amazon requires that product barcodes be officially registered with GS1 for most product categories. Amazon uses the GTIN (Global Trade Item Number) to connect your product to its catalog database. A randomly invented 13-digit number will not match any registered GTIN. To sell on Amazon with a barcode: (1) Purchase a GS1 company prefix or individual GTINs at gs1.org. (2) Create your product listing with the assigned GTIN. (3) Use the SammaPix Barcode Generator to create the label image using your official GTIN. Some categories offer GTIN exemptions β check the Amazon Seller Central documentation for your specific product type.
What file format should I use to send a barcode to my label printer?
Download SVG. Label design software (Bartender, NiceLabel, ZebraDesigner, Adobe Illustrator, Affinity Designer) all import SVG natively. SVG is a vector format β it describes the barcode as geometric shapes, not pixels. This means the barcode can be scaled to any label size without any loss of quality or risk of pixelation. Label printers typically print at 203 or 300 dpi. At these resolutions, a pixelated PNG will produce blurred bar edges and scan failures. SVG eliminates this risk entirely.
What minimum print size is required for a CODE128 barcode to scan reliably?
For CODE128, the GS1 General Specifications recommend a minimum X-dimension (the width of the narrowest bar) of 0.25mm when printed at 300 dpi or higher. In practical terms, a CODE128 barcode encoding a typical SKU (10-15 characters) printed at its nominal size needs at least 30mm width and 15mm height for reliable scanning. For very compact labels, keep the encoded value short and use a high-quality printer. SVG output from the SammaPix generator preserves the exact bar proportions required by the specification.
Can I use the generated barcode for commercial use?
Yes. Barcodes generated by the SammaPix Barcode Generator are free for commercial use β internal inventory, retail product labels, shipping materials, or any other business application. There is no watermark, no attribution requirement, and no license restriction from SammaPix on the output image. The barcode format specifications themselves (CODE128, EAN, UPC, CODE39, ITF-14) are open industry standards. The only legal consideration is the number you encode: for retail EAN-13 and UPC-A barcodes, the GTIN must be purchased through GS1 to ensure global uniqueness.
Why is my barcode not scanning correctly?
Common causes of scan failure: (1) Wrong format selected β verify the format matches what your scanner expects (a retail scanner expects EAN-13, not CODE128). (2) Check digit error β for EAN-13, if you entered all 13 digits manually, one may be wrong; re-enter just the 12 data digits and let the tool calculate the check digit. (3) Print quality β if you printed from a PNG, the image may be too small or upscaled, causing blurry bar edges; download SVG instead. (4) Damage or reflection β labels in high-moisture or reflective environments need extra quiet zone margins and possibly lamination. (5) Scanner compatibility β some older 1D laser scanners cannot read CODE128 subsets; confirm scanner spec.