Online Barcode Reader & Decoder
Upload a barcode image or enter a value to read and decode its data
Need to decode barcodes in your app?
Copy the example below to get started using our free Barcode Parser API. No API key needed.
cURL Node.js Python C# Go PHP Java HTML
barcode=$'01050601301313832152888501717543\x1d172303311000327C'
curl -sS -G https://parser.orcascan.com/ \
--data-urlencode "barcode=$barcode" \
--data-urlencode 'type=' // Node.js 18+
var barcode = "01050601301313832152888501717543\u001d172303311000327C";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=";
fetch(url)
.then(function(res) { return res.json(); })
.then(console.log); import json
from urllib.parse import quote
from urllib.request import urlopen
barcode = "01050601301313832152888501717543\u001d172303311000327C"
url = "https://parser.orcascan.com/?barcode=" + quote(barcode, safe="") + "&type="
with urlopen(url) as response:
print(json.load(response)) using System;
using System.Net.Http;
var barcode = "01050601301313832152888501717543\u001d172303311000327C";
var url = "https://parser.orcascan.com/?barcode=" + Uri.EscapeDataString(barcode) + "&type=";
using var client = new HttpClient();
Console.WriteLine(await client.GetStringAsync(url)); package main
import (
"io"
"net/http"
"net/url"
"os"
)
func main() {
barcode := "01050601301313832152888501717543\u001d172303311000327C"
endpoint := "https://parser.orcascan.com/?barcode=" + url.QueryEscape(barcode) + "&type="
res, err := http.Get(endpoint)
if err != nil { panic(err) }
defer res.Body.Close()
io.Copy(os.Stdout, res.Body)
} <?php
$barcode = "01050601301313832152888501717543\x1d172303311000327C";
$url = "https://parser.orcascan.com/?barcode=" . rawurlencode($barcode) . "&type=";
echo file_get_contents($url); import java.net.URI;
import java.net.URLEncoder;
import java.net.http.*;
import java.nio.charset.StandardCharsets;
class BarcodeParser {
public static void main(String[] args) throws Exception {
String barcode = "01050601301313832152888501717543\u001d172303311000327C";
String url = "https://parser.orcascan.com/?barcode=" +
URLEncoder.encode(barcode, StandardCharsets.UTF_8) + "&type=";
var request = HttpRequest.newBuilder(URI.create(url)).build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
} <!doctype html>
<html>
<body>
<pre id="result">Loading...</pre>
<script>
var barcode = "01050601301313832152888501717543\u001d172303311000327C";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=";
fetch(url)
.then(function(res) { return res.json(); })
.then(function(json) {
document.getElementById("result").textContent = JSON.stringify(json, null, 2);
});
</script>
</body>
</html> Need help tracking barcodes?
We've helped organizations of all sizes tackle barcode challenges, chat with our team live for help to find a solution.