WiFi QR Code Decoder

Decode WiFi QR codes to read network names, passwords and security settings

WiFi

Our free WiFi QR code decoder reads wireless-network details encoded in a QR code, including the network name (SSID), password and security type. A typical payload uses the format WIFI:T:WPA;S:Network;P:Password;;, where T is the authentication type, S the SSID and P the password.

Need to decode WiFi 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=$'WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;'
curl -sS -G https://parser.orcascan.com/ \
    --data-urlencode "barcode=$barcode" \
    --data-urlencode 'type=wifi'
// Node.js 18+
var barcode = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=wifi";

fetch(url)
    .then(function(res) { return res.json(); })
    .then(console.log);
import json
from urllib.parse import quote
from urllib.request import urlopen

barcode = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;"
url = "https://parser.orcascan.com/?barcode=" + quote(barcode, safe="") + "&type=wifi"

with urlopen(url) as response:
    print(json.load(response))
using System;
using System.Net.Http;

var barcode = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;";
var url = "https://parser.orcascan.com/?barcode=" + Uri.EscapeDataString(barcode) + "&type=wifi";

using var client = new HttpClient();
Console.WriteLine(await client.GetStringAsync(url));
package main

import (
    "io"
    "net/http"
    "net/url"
    "os"
)

func main() {
    barcode := "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;"
    endpoint := "https://parser.orcascan.com/?barcode=" + url.QueryEscape(barcode) + "&type=wifi"
    res, err := http.Get(endpoint)
    if err != nil { panic(err) }
    defer res.Body.Close()
    io.Copy(os.Stdout, res.Body)
}
<?php
$barcode = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;";
$url = "https://parser.orcascan.com/?barcode=" . rawurlencode($barcode) . "&type=wifi";

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 = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;";
        String url = "https://parser.orcascan.com/?barcode=" +
            URLEncoder.encode(barcode, StandardCharsets.UTF_8) + "&type=wifi";
        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 = "WIFI:T:WPA;S:MyNetwork;P:MyPassword123;;";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=wifi";
fetch(url)
    .then(function(res) { return res.json(); })
    .then(function(json) {
        document.getElementById("result").textContent = JSON.stringify(json, null, 2);
    });
</script>
</body>
</html>

Need to decode lots of WiFi barcodes?

Import a spreadsheet of barcodes and automatically extract their data into separate columns.

Decode barcodes in bulk →

Need to extract WiFi data as you scan?

Scan barcodes with your phone and automatically capture their data in a shared spreadsheet.

Scan with your phone →

Frequently asked questions

What do T, S and P mean in a WiFi QR code?

In a WIFI: payload, T is the authentication type, S is the network name (SSID) and P is the password. For example, T:nopass indicates an open network.

How is a hidden WiFi network encoded in a QR code?

The optional H:true field indicates a hidden network. It changes how the WiFi payload is interpreted; it does not conceal the SSID or password in the QR code.

Why are there semicolons and backslashes in WiFi QR data?

Semicolons delimit fields, and a double semicolon normally ends the payload. Special characters within values, such as semicolons and backslashes, can be escaped with a backslash.

Need help tracking WiFi barcodes?

We've helped organizations of all sizes tackle barcode challenges, chat with our team live for help to find a solution.