Manage product categorization with AI-powered accuracy —Get 100 Free Credits

How to Use Custom Taxonomies for Product Categorization

Format and upload your own category structures to match products against any taxonomy — internal, marketplace-specific, or industry-standard.

December 1, 20243 min readBy Taxonomy Matcher Team
HTU

When You Need a Custom Taxonomy

The default Google Product Taxonomy works for Google Shopping and general categorization. But many scenarios call for a different category structure:

  • Marketplace requirements. Amazon, Otto, and eBay each have their own taxonomies that sellers must use.
  • Internal category systems. Your ERP or PIM system likely uses its own category hierarchy that doesn't match Google's.
  • Industry-specific taxonomies. UNSPSC, eCl@ss, ETIM, and other standards are used in B2B and specialized industries.
  • Regional variants. Localized category trees for specific markets or languages.

Custom taxonomies let you match products against any of these structures.

File Format

Create a plain text file (.txt, UTF-8 encoded) with one category path per line. Use > to separate hierarchy levels:

Apparel & Accessories > Clothing > Shirts & Tops
Apparel & Accessories > Clothing > Pants
Apparel & Accessories > Shoes > Sneakers
Apparel & Accessories > Shoes > Boots
Home Goods > Kitchen > Cookware > Pots & Pans
Home Goods > Kitchen > Cookware > Baking
Home Goods > Kitchen > Small Appliances > Coffee Makers
Home Goods > Kitchen > Small Appliances > Blenders
Electronics > Audio > Headphones
Electronics > Audio > Speakers
Electronics > Computers > Laptops
Electronics > Computers > Desktops

A few format details:

  • Hierarchy separator: Use > (with spaces). Level1 > Level2 > Level3.
  • One path per line. Each line represents one complete category from root to leaf.
  • UTF-8 encoding. Required for non-ASCII characters (umlauts, accents, etc.).
  • ID prefixes are stripped. If your lines start with numeric IDs like 123 - Electronics > Audio, the system removes the prefix automatically.
  • No header row. The file should contain only category paths, no column headers.

You don't need to include every possible path. Include only the leaf-level categories you want products matched to. The AI uses the hierarchy to understand the context, but it will match to the most specific category available.

How It Works

  1. Go to the Matcher page.
  2. In the Custom Taxonomy section, click "Choose File" and select your .txt file.
  3. Upload your product data as usual (CSV paste or file upload).
  4. Click Start Matching.

The AI reads each product's title and description and selects the best-matching category from your custom taxonomy. Results show the matched path from your taxonomy, not Google's.

Tips for Good Custom Taxonomies

Be specific enough. A taxonomy with only 10 broad categories ("Electronics", "Clothing", "Home") won't give useful results. Aim for at least 2-3 levels of hierarchy.

Be consistent with naming. Use the same terminology throughout. If you use "Shoes" in one branch, don't use "Footwear" in another unless they mean different things.

Include enough categories. If a product doesn't have a good match in your taxonomy, the AI will pick the closest option — which may be wrong. Make sure your taxonomy covers the product types you're categorizing.

Test with a small batch first. Upload 10-20 products and check the results before processing your full catalog. This lets you spot gaps or ambiguities in your taxonomy.

For detailed formatting specifications, see the Custom Taxonomy File Format Guide.

TMT

Taxonomy Matcher Team

Content Writer at Taxonomy Matcher

Related Articles

February 2, 2026

Shopify Product Categories: Setup & Google Shopping Guide

Learn how to set up Shopify product categories for Google Shopping. Step-by-step guide with apps, automation tips, and best practices.

February 2, 2026

The Complete Guide to Google Product Taxonomy (2026)

Master Google Product Taxonomy with our comprehensive guide. Learn structure, categories, implementation & avoid common mistakes.

November 5, 2025

PIM vs. MDM vs. DAM: What's the Difference and Which Do You Need?

A comprehensive guide to understanding Product Information Management, Master Data Management, and Digital Asset Management systems and how they work together.

Enjoyed this article?

Subscribe to our newsletter for more insights on product categorization and e-commerce optimization.