What are UNSPSC codes?
UNSPSC (the United Nations Standard Products and Services Code) is a global classification standard used to categorise every product and service an organisation buys. It's built as a four-level hierarchy — Segment, Family, Class, and Commodity — encoded in a single 8-digit code, so any purchase can be filed consistently whether it's raw materials, IT services, or building maintenance.
Procurement and finance teams rely on UNSPSC to compare spend across suppliers and sites, benchmark prices for like-for-like purchases, and feed clean, structured data into reporting and AI-driven spend analysis. Without it, spend data is just free-text line items that can't be aggregated or compared.
Browse the hierarchy
All 58 official segments · 10 category groups · 559 families · 7984 classes · 149,849 commodities — the complete free UNSPSC codeset, with 220 commodities (FM, procurement and professional services) carrying a written description.
The outer "category group" column is UNGM's own browsing grouping, not one of the standard's 4 official levels (Segment, Family, Class, Commodity).
Codes last verified against the official UNSPSC standard on 29 September 2026, via UNDP UNSPSC codeset (v260801, English).
Why does the level of detail matter?
What does good UNSPSC usage look like?
Good UNSPSC usage means classifying spend at commodity level (the full 8-digit code), not stopping at segment or family — a code like "72" (Building and Facility Construction and Maintenance Services) is too broad to act on, but "72101506" (Elevator maintenance services) is precise enough to benchmark prices and compare suppliers. It also means applying codes consistently across every site, supplier and system, so a spend cube actually adds up instead of fragmenting into inconsistent free-text categories. Done well, UNSPSC data feeds directly into category management, supplier benchmarking, tail-spend analysis and AI-driven spend analytics, but only once classification is complete and trustworthy. Pearstop's classification engine applies that same commodity-level standard automatically to real spend data, at a scale manual coding can't match.
Frequently asked questions
What is UNSPSC classification?
UNSPSC classification is the process of assigning a code from the UNSPSC (United Nations Standard Products and Services Code) standard to a product or service, based on a four-level hierarchy — Segment, Family, Class and Commodity — so that procurement, finance and category teams can categorise, compare and analyse spend consistently across suppliers, sites and systems.
How do you use UNSPSC classification?
In practice, organisations assign an 8-digit UNSPSC commodity code to every purchase order or invoice line — usually as part of ERP or P2P data entry — and then use those codes to build spend cubes, benchmark prices across suppliers, identify tail spend, and support category management. Classification can be done manually at point of purchase, retrofitted onto historic data, or automated using rules, machine learning and AI.
Are the codes in this UNSPSC tree official?
Yes. Every segment, family, class and commodity code and title shown here is taken directly from the official UNSPSC standard, last verified against the codeset on 29 September 2026 via UNDP UNSPSC codeset (v260801, English). All 58 official segments, 559 families, 7984 classes and 149,849 commodity-level codes are represented in full, grouped into the 10 category groups UNGM itself uses for browsing (that grouping is a browsing convenience, not one of the standard's 4 official levels). 220 commodities — those most relevant to facilities management, procurement and professional services — additionally carry a written description and example items; every other commodity still shows its real official code and title.
What is the UNSPSC classification tree?
The UNSPSC classification tree is the standard's four-level hierarchy laid out so you can browse it, from a broad segment down to a single 8-digit commodity code. This demo shows the full official tree: every segment, family, class and commodity in the current release, structured the same way whether you are checking one procurement code or classifying a full spend file against it.
What are the four levels of the UNSPSC hierarchy?
UNSPSC has four levels, encoded in a single 8-digit code: Segment (the first 2 digits, the broadest category), Family (4 digits), Class (6 digits), and Commodity (all 8 digits, the most specific level). For example, code 72101506 breaks down as segment 72 (Building and Facility Construction and Maintenance Services), family 7210 (Building and facility maintenance and repair services), class 721015 (Building maintenance and repair services), and commodity 72101506 (Elevator maintenance services).
Why does commodity-level classification matter for procurement?
Segment and family level codes are too broad to drive real sourcing decisions or price benchmarking — they group very different spend together. Commodity level (8-digit) classification is what allows procurement teams to compare like-for-like spend across suppliers and sites, benchmark unit prices, and feed clean data into AI-driven spend analysis.
How is UNSPSC different from eCl@ss or CPV?
UNSPSC, eCl@ss and CPV are all procurement classification standards, but they serve different purposes. UNSPSC is the most widely used for spend analysis and category management, especially in North America and increasingly in Europe. eCl@ss adds detailed technical attributes per product, common in German manufacturing. CPV is used specifically for EU public procurement tenders. Most organisations only need one, chosen based on their ERP system and reporting requirements.
How can I use AI for UNSPSC classification?
You can try it yourself with general-purpose AI tools like Copilot, ChatGPT, or Claude — paste a product or service description and ask for the matching UNSPSC code (our free lookup tool above does exactly this). When you have a lot of data, or when accuracy really matters, it's worth going with a specialized party like Pearstop instead. The advantage of working with a specialist is that they use AI but also have dedicated pipelines and dedicated security to keep your data safe and to reach the highest quality levels fast.
How does Pearstop use UNSPSC classification?
Pearstop's classification engine automatically assigns UNSPSC commodity codes to procurement spend lines, asset records and invoice data — combining rules, machine learning and an LLM layer to reach 90–95% automatic classification, with the remainder flagged for human review. Try the free UNSPSC code lookup tool, or book a call to see it run against your own data.


