Use the free Add Barcode to PDF below: your PDF never leaves your browser — all work happens on your device, and nothing is uploaded to any server.
What a barcode on a PDF is for
Barcodes are how the physical world talks to stock systems. A warehouse worker scans a label, a shop assistant scans a price sheet, a librarian scans a slip — and the system instantly knows which item it is. When that barcode lives inside a PDF, the document itself becomes scannable. This tool adds a CODE128 barcode to your PDF pages, so a printed sheet, label, or form can be scanned with ordinary barcode hardware.
Typical uses are practical, not glamorous. Product sheets that travel with stock. Pick lists in a small warehouse. Asset tags printed from a document. Membership cards and event tickets issued as PDFs. Repair forms where the job number must be read quickly and without typing errors. In all of these, scanning beats typing: it is faster, and it removes the misread digit that sends a parcel to the wrong place.
How to use the tool
Upload your PDF and type the barcode value — letters and digits, such as a product code or job number. Choose the pages: all of them, the first only, or the last only. Pick a corner. The tool draws the barcode with the JsBarcode library, places it on the chosen pages with a white backing so scanners read it cleanly, and gives you a new PDF to download. Nothing is uploaded; everything runs in your browser.
Keep the value short and meaningful. A barcode encodes exactly what you type, so double-check the digits before you download. A wrong digit in a barcode is worse than a wrong digit in text, because nobody notices it until a scan fails at the worst moment.
Why CODE128?
CODE128 is a workhorse format. It encodes the full set of letters, digits, and common symbols, and almost every handheld scanner reads it. It is also compact: the same value takes less width than older formats like CODE39. That is why it is the default choice for labels, logistics, and inventory documents. Unless your system specifically demands another format, CODE128 is the safe pick.
If your existing system already uses a particular barcode type, check its requirements before switching. Scanners are flexible, but stock software sometimes expects one exact format. When in doubt, print one test page and scan it with the actual device that will be used on the job.
Placement tips that save trouble
Put the barcode where a scanner can reach it easily. The bottom corner of a page is the usual spot, because it survives folding and filing better than the middle of a page. Keep it away from folds, staples, and page edges that get trimmed. The white backing in this tool helps, but it cannot rescue a code printed across a fold.
Do not shrink the barcode to save space. Scanners need a minimum width, and a tiny code printed on a cheap printer is the most common reason scans fail. The default size here is chosen to scan reliably. If your page is crowded, move other content rather than shrinking the code.
Print in black on white whenever you can. Colour barcodes look modern, but many scanners struggle with low contrast. Black bars on a white background remain the most reliable combination ever made.
Testing before a big print run
Before you print five hundred copies, print one. Scan it with the real scanner, in real light, at a normal distance. Check that the scanned value matches what you typed, character for character. Then print a second copy on the cheapest printer you might actually use, and scan that too. If both pass, the run is safe.
Keep a copy of the finished PDF, not just the printed sheets. If you need to reprint later, the digital file with the barcode already placed is the fastest route — no need to repeat the work.
Limits and privacy
This tool stamps the same barcode value on the pages you choose. It does not generate a different code per page, and it does not connect to any stock system or database. Your PDF and your code stay in your browser, and nothing is tracked.
One more honest note: a barcode is only as good as the data behind it. If the value means nothing to your system, scanning will fail no matter how perfect the print is. Confirm the value with your stock or ticket system first, then place it.
Common questions
Can I scan the barcode from a screen? Often yes, but printed paper scans more reliably. Test with your own device.
Does the barcode include the readable numbers below it? Yes, the value is printed beneath the bars so a person can read it too.
Can I add different barcodes to different pages? Not in one run. Repeat the tool once per value, choosing the pages each time.
