This finds and decodes the barcodes in a PDF or an image and reports each one: its type, the text or number it holds, and the page it was on. It reads all the codes it can find instead of stopping at the first, up to 50 on a page, and it tries every common type, so you do not have to know what kind of code you have.
How to use it
- Drop a PDF or an image that contains the codes, or click to choose it.
- Click Read the barcodes.
- Download the result, a plain text file named barcodes.txt.
- Open it in any text editor: after a line with the count, each code has its own line with the page, the type and the value.
What is read and what comes back
Two-dimensional codes such as QR, Data Matrix, Aztec and PDF417 are read, and so are the linear ones used on products and labels, including Code 128, Code 39, EAN-13, EAN-8 and UPC-A. The search is not limited to one type.
The result is a plain-text list. Its first line gives the number of codes found and the number of pages scanned; then each code has one line with its page, its format and its text. For an image the page is always 1. The value is reported as text only: a web address inside a QR code is not opened or checked.
Limits for PDFs and images
PDF pages are rendered at 200 dpi and only the first 30 pages are scanned. When a document is longer, the result says so in a closing line, so an empty answer is never mistaken for a statement about the whole file. Cut the rest into parts with Split PDF and run each one.
Images can be JPG, PNG, WebP, GIF, TIFF, AVIF or HEIC, so a photo from an iPhone can be dropped in as it is. A photo the camera stored turned is read upright. From a multi-page TIFF only the first page is read. To cut a labelled area out of a large photo first, use Crop image.
When a code is not found
Decoding needs a code that is reasonably sharp and has clear white space around it. A photo taken at a steep angle, in poor light, or cropped right to the edge of the code will often fail. Retake it square-on with a margin around the code.
A very small code on a large PDF page can be too coarse at 200 dpi. Render that page at a higher resolution with PDF to WebP, which goes up to 600 dpi, and read the image it gives you.
Questions
Which barcode types can it read?
QR codes, Data Matrix, Aztec, PDF417, Code 128, Code 39, EAN-13, EAN-8, UPC-A and other common formats. All types are tried on every file, and the result names the type of each code it found.
Why does it say no barcode was found?
The code was too blurred, too small, at too steep an angle, or had no white margin around it. For a PDF, also check that the code is within the first 30 pages. A better picture is the usual fix.
Can it read several barcodes on one page?
Yes, up to 50 on each page or image, which covers a sheet of labels or an inventory list. Each one is listed separately with its own type and value.
Can I read a QR code from a screenshot?
Yes. Save the screenshot as PNG or JPG and drop it on the page. Screenshots read reliably because they are sharp and flat, as long as a little of the surrounding white is included.
Does it open the link inside a QR code?
No. It shows you the address the code contains and does nothing with it. The servers that read your file have no access to the internet, so you can inspect a code before deciding to visit it.
Can it read barcodes in a password-protected PDF?
No. A protected PDF is refused; remove the protection with Unlock PDF and try again.
How do I make a barcode instead of reading one?
Use Barcode and QR generator, which creates QR codes and the common linear and 2D types from text you type in.