Skip to content

Download the OUI database

Every MAC address block the IEEE has assigned — 54,524 prefixes from 30,937 organisations — as a file you can use offline, in scripts, or in your SIEM.

Snapshot 2026-11-21 · IEEE Registration Authority (standards-oui.ieee.org)

CSV

oui.csv · 2.2 MB

One row per prefix: prefix, block, bits, vendor. Opens in any spreadsheet; easy to grep or load into a SIEM lookup table.

Download CSV

JSON

oui-lookup.json · 1.6 MB

The compact format this site's lookup uses: vendor names stored once, three prefix tables. Smallest to ship in an app.

Download JSON

What's inside

RegistryPrefixBlocks
MA-L24 bits40,535
MA-M28 bits6,693
MA-S36 bits7,296

CSV format

Prefixes are uppercase hex without separators — 6, 7 or 9 digits. Rows are sorted by prefix, so a shared IEEE pool sits directly above the small blocks carved out of it:

oui.csv
prefix,block,bits,vendor
F01898,MA-L,24,"Apple, Inc."
70B3D5,MA-L,24,IEEE Registration Authority
70B3D5A1F,MA-S,36,GlobalTest LLC

Look up a MAC in your own code

Two rules make a lookup correct. First, if the second hex digit is 2, 6, A or E the address is locally administered (randomised) and has no vendor. Second, try the most specific block first — 9 digits, then 7, then 6 — or a small MA-S block gets wrongly credited to the IEEE pool it sits in.

Shell
curl -sLO https://www.macaddressvendor.com/oui.csv
grep -i '^F01898,' oui.csv
# F01898,MA-L,24,"Apple, Inc."
Python
import csv, re

prefixes = {}
with open("oui.csv", newline="", encoding="utf-8") as f:
    for row in csv.DictReader(f):
        prefixes[row["prefix"]] = row["vendor"]

def vendor_of(mac):
    hex_ = re.sub(r"[^0-9A-Fa-f]", "", mac).upper()
    if int(hex_[:2], 16) & 0x02:  # locally administered: no vendor
        return None
    for length in (9, 7, 6):  # MA-S, MA-M, MA-L: most specific first
        if hex_[:length] in prefixes:
            return prefixes[hex_[:length]]
    return None

print(vendor_of("70:B3:D5:A1:F2:34"))  # GlobalTest LLC
JavaScript (Node)
import { readFileSync } from "node:fs";

const db = JSON.parse(readFileSync("oui-lookup.json", "utf8"));

function vendorOf(mac) {
  const hex = mac.replace(/[^0-9a-f]/gi, "").toUpperCase();
  if (parseInt(hex.slice(0, 2), 16) & 0x02) return null; // locally administered
  // Most specific block wins: MA-S (9 digits), then MA-M (7), then MA-L (6).
  for (const [table, len] of [["s", 9], ["m", 7], ["l", 6]]) {
    const i = db[table][hex.slice(0, len)];
    if (i !== undefined) return db.names[i];
  }
  return null;
}

console.log(vendorOf("70:B3:D5:A1:F2:34")); // GlobalTest LLC

JSON format

names
Every registrant name, stored once.
l
MA-L: 6-digit prefix → index into names.
m
MA-M: 7-digit prefix → index into names.
s
MA-S: 9-digit prefix → index into names.
counts
Number of prefixes in each table.
source, fetchedAt
Where the snapshot came from, and when.

Source and freshness

Both files are built from the IEEE Registration Authority's public listings — the MA-L, MA-M and MA-S registries — merged and de-duplicated. This copy is the 2026-11-21 snapshot; the IEEE adds new blocks continually, so pull the originals if you need today's assignments.

Just need one answer?

Paste a MAC, a whole ARP table or a vendor name into the lookup — no download needed.

Open the lookup