To make a barcode online, open a barcode generator such as Picbolt's Bar Code tool, type the text or number you want to encode, and download the image as a PNG. This gives you a CODE128 barcode. CODE128 works well for inventory labels, asset tags, file labels and anything else you scan with your own equipment.
CODE128 is the wrong choice for products sold in shops. Retail checkouts expect an EAN-13 or UPC-A barcode that carries a number registered through GS1. The sections below explain the difference first, so you don't print 500 labels with the wrong kind of code.
Which barcode type you need
Different barcode types (called symbologies) hold different data. Scanners are often set to read only some of them. These are the types people usually mean:
| Type | What it holds | Typical use |
|---|---|---|
| CODE128 | Letters, digits and punctuation (the full ASCII set), variable length | Inventory, asset tags, shipping references, internal systems |
| GS1-128 | CODE128 plus GS1 "application identifiers" (batch, expiry date, etc.) | Shipping cartons and pallets when a trading partner requires it |
| Code 39 | Uppercase letters, digits and a few symbols | Older industrial and government systems |
| EAN-13 | Exactly 13 digits, including a check digit | Retail products in most of the world |
| UPC-A | Exactly 12 digits, including a check digit | Retail products in the US and Canada |
| QR code | Text or a URL in a 2D square | Links people scan with a phone camera |
The first five are one-dimensional (a row of bars). A QR code is two-dimensional. Pick a QR code when the person scanning is a customer with a phone. Pick a 1D barcode when the scanning is done with a handheld scanner.
When CODE128 fits
CODE128 is a good default whenever you control both the label and the scanner:
- Inventory and SKU labels for your own stock, bins or shelves.
- Asset tags on laptops, equipment or library items.
- Internal documents and files, such as order numbers or job tickets.
- Tickets or passes checked by your own scanner app.
- Any system that asks for "Code 128" in its import or label settings.
CODE128 handles mixed letters and numbers (INV-2026-0042). It is compact, especially for long runs of digits. It also includes a check character as part of the symbol, so you only type your data.
Keep the value short. Every extra character makes the barcode wider. A wide barcode squeezed onto a small label ends up with thin bars that scanners struggle to read.
CODE128 does not fit when the code has to mean something outside your business. Examples:
- a product at a store checkout
- a carton for a retailer's warehouse that expects GS1-128
- a link for customers to open on their phones
See When you need EAN or UPC instead below.
Make a barcode online with Picbolt (CODE128)
Picbolt's Bar Code tool runs in your browser and needs no account. It renders a CODE128 barcode with the text printed underneath. The barcode sits on the same canvas editor Picbolt uses for screenshots.
- Open the Picbolt Bar Code tool.
- Type the value you want to encode in the text field.
- Use the Color picker for the bars and the Background picker for the area behind them. Black on white is the safest choice.
- Open the Edit tab. Under FRAMES, make sure None is selected.
- Keep the barcode flat. Don't move the Tilt joystick, don't apply a TRANSFORMS preset, and leave Rotate at 0.
- Still in Edit, adjust Scale and Padding. Aim for a barcode that is large on the canvas but still has clear white space on the left and right.
- Open the BG tab. Under CUSTOM BG, click the color button and choose white, so the whole image has a plain light background. Choose Transparent only if you'll place the barcode on a light label and export as PNG.
- Click the aspect-ratio button in the top bar and pick a wide canvas. 3:1 Twitter Header (1500×500 px) and 2:1 Panoramic Landscape (2000×1000 px) both suit a barcode's shape, whatever the label says.
- Open the Settings tab and set Format to PNG. If you want a custom name, type it in FILE NAME.
- Click Save to download the file. For printing, use Save rather than Copy. Copy puts a PNG on your clipboard at the on-screen canvas size, which is usually smaller than the export size. To undo a change, press ⌘Z (Command-Z). To redo, press ⌘⇧Z (Command-Shift-Z) or ⌘Y. These shortcuts are ignored while your cursor is in a text field or on text you're editing on the canvas.
What the free plan includes
You can make barcodes on the free plan, with these limits:
- 3 downloads a day per browser. Save and Copy both count, and the count resets the next calendar day.
- A "Made with Picbolt" watermark is drawn into free exports. Click it on the canvas and move it to a corner position away from the bars, so it doesn't sit in the blank margin a scanner needs.
- 1x quality, PNG or JPEG only. Higher quality (2x and up) and WEBP/SVG need the one-time Lifetime plan. Lifetime also lets you hide the watermark.
For a handful of labels, the free plan is enough. The guide Is Picbolt free? compares the two plans in detail.
Colors and printing so the barcode scans
The usual causes of a barcode that won't scan are low contrast, missing white space and soft edges. Here is how to avoid each one.
Pick colors scanners can read
- Use dark bars on a light background. Some scanners can't read inverted barcodes (light bars on dark).
- Avoid red bars. Laser and many LED scanners use red light, so red bars can read as white and disappear.
- Keep strong contrast. Dark blue or dark green on white usually works. Pale gray, yellow or pastel bars often don't.
- Watch transparent PNGs. A transparent background takes on whatever color is behind it once printed or placed, and that can ruin the contrast.
Leave a quiet zone
A scanner needs blank space on both sides of the bars to find where the barcode starts and ends. For CODE128, the usual minimum is 10 times the width of the narrowest bar on each side.
In Picbolt, raise Padding or lower Scale to keep that margin. When you place the image in a label template later, don't crop it tight to the bars.
Export at a size that prints sharply
On the free plan (1x), the file is exactly the aspect-ratio size. A 3:1 canvas saves at 1500×500 pixels. Printed at 300 pixels per inch, that comes out at 5 × 1.67 inches.
Printing smaller than that keeps the bars sharp. Printing much larger makes them soft. With Lifetime, a 2x export of the same canvas gives you 3000×1000 pixels.
Keep the edges crisp
- Use PNG, not JPEG. JPEG compression softens the edges of the bars. The PNG vs JPG vs WebP guide explains why.
- Don't stretch it. In Word, Google Docs or label software, resize only from a corner with the aspect ratio locked, and print at 100% scale.
- Don't run it through other resizers. Smoothing during a resize blurs the bar edges. If you need a different size, export again from Picbolt.
- Don't rely on SVG for scaling. Picbolt's SVG export (Lifetime) wraps the rendered image in an SVG file. It won't scale up like a true vector barcode.
Before you print a full sheet, print one label and scan it with the scanner you'll actually use.
When you need EAN or UPC instead
To sell a product through shops or other retailers that scan it at checkout, you need a GTIN. A GTIN is a product number shown as a UPC-A barcode (12 digits) or an EAN-13 barcode (13 digits). These numbers come from GS1, the organization that runs the system, so that no two products share one.
Avoid these two mistakes:
- Making up a 12- or 13-digit number. It can clash with a real product in a retailer's database, or simply be rejected.
- Encoding a GTIN as CODE128. If you type your 13-digit number into a CODE128 generator, you get a CODE128 barcode, not an EAN-13. Checkout systems look for EAN or UPC.
Picbolt makes CODE128 only. It has no EAN-13, UPC or Code 39 option. Once you have your GS1 numbers, use label software or a generator that supports EAN-13 or UPC-A.
Shipping labels work the same way. If a retailer or carrier asks for GS1-128 with application identifiers, plain CODE128 won't meet the requirement.
If you want people to open a link with their phone, use a QR code instead. Picbolt's QR code tool works the same way as the Bar Code tool. Our guide to making a QR code for a link covers sizing and testing.
If you need many barcodes
Picbolt makes one barcode per canvas and has no batch or import option. That's fine for a few asset tags or sample labels.
For hundreds of sequential codes (BIN-001 to BIN-500), use label-printing software or a spreadsheet-driven label tool that builds the barcodes from a column of values. On the free plan, the 3-downloads-a-day limit would also make a large run slow.
If the barcode doesn't scan
- No white space around it. The scanner can't find the start and end. Increase Padding or lower Scale, and don't crop the image tight when you place it.
- Low contrast or colored bars. Switch to black bars on a white Background and a white canvas background.
- Blurry or stretched print. Export as PNG, don't resize it in another app, and print at 100% scale with the aspect ratio locked.
- Special characters in the value. Text outside plain ASCII may break the barcode. That includes accented letters, emoji and curly quotes pasted from a document. Use plain letters, digits and standard punctuation.
- Scanner set to other types. Many handheld scanners let you turn individual symbologies on or off. Check that Code 128 is enabled in the scanner's settings.
- Watermark too close to the bars. On free exports, click the watermark and move it to a corner away from the bars.
Two export issues can look like barcode problems:
- The file is smaller than expected on Safari. Safari and iOS always download PNG data at the on-screen canvas size times Quality, whatever format you chose. Use another browser if you need the full aspect-ratio pixel size.
- "You've reached your daily limit of 3 downloads." That's the free plan's limit for this browser, and it resets the next calendar day. A failed export also uses one download.
FAQ
Is the Picbolt barcode generator free? Yes. The free plan gives you 3 downloads a day at 1x quality, in PNG or JPEG, with a "Made with Picbolt" watermark. You don't need an account.
Can I change the barcode's height or hide the text underneath? No. The tool has no height, width or label options. You can change the overall size with Scale and the export size with the aspect ratio.
Do I need to calculate a check digit? No. Type only your data. CODE128 includes its check character as part of the barcode.
Can I put a CODE128 barcode on a product I sell in stores? Not as the product barcode. Retail checkouts expect an EAN-13 or UPC-A barcode with a GS1-registered number. You can still put a CODE128 barcode on the same packaging for your own internal tracking.
