Barcode & QR Code Scanner

Click or drag image/PDF file here

Supports PNG, JPG, WebP, GIF, BMP, PDF

Supported barcode types: QR Code, Code 128, Code 39, EAN-13, UPC-A, PDF417, Data Matrix, and more

Scan Results

API Reference

Use our API to extract barcodes and QR codes

Endpoint

POST https://api.leepow.com/barcode

Request Format

Method 1: multipart/form-data

Content-Type: multipart/form-data

{
  "File": <binary file data>  // PNG, JPG, WebP, GIF, BMP, or PDF
}

Method 2: application/json

{
  "FileBase64": "Base64 encoded file content",
  "BarcodeFormats": ["QR_CODE", "CODE_128"]  // optional, empty = all types
}

Response Format

{
  "code": 0,
  "data": [
    {
      "type": "QRCode",
      "value": "https://example.com",
      "page": 1,
      "x": 100,
      "y": 200,
      "width": 150,
      "height": 150
    }
  ]
}

Code Examples

curl --location 'https://api.leepow.com/barcode' \
  --form 'File=@"/path/to/image.png"'

How to Scan a Barcode or QR Code Online

Upload an image or PDF below and UTOOL Pro automatically detects every barcode in the file, then shows the type, value and position of each result. It is free and requires no registration or installation.

1. Upload a File

Click or drag a photo, screenshot or PDF document into the upload area above.

2. Automatic Recognition

The scanner detects QR Code, Code 128, Code 39, EAN-13, UPC-A, PDF417, Data Matrix and more.

3. Copy the Results

Review each barcode's type, decoded value and page position, then copy the values you need.

Need batch recognition? Use the free Barcode Recognition API