AB Group Shipping's HS code lookup finds the Harmonized System code of a product from a description in your own words. An AI reads the description and picks the matching line in the official US tariff schedule, so every result is a real code: the 6-digit HS code, the same in Mexico and across Latin America, the 10-digit HTS code for importing into the US and the 10-digit Schedule B code for exporting from the US.
The first six digits are the same in every country that uses the Harmonized System: more than 200 countries and economies, and over 98% of world merchandise trade (World Customs Organization).
Each country adds its own digits after those six. The United States uses 10 digits for imports (HTS) and 10 for exports (Schedule B); Mexico uses an 8-digit fracción arancelaria plus a 2-digit NICO.
invented codes. Every code the lookup shows comes from an official list: the US International Trade Commission's tariff schedule and the Census Bureau's Schedule B edition used from July 1, 2026. The AI chooses among those lines; it cannot invent one.
For US exports, the Electronic Export Information (EEI) filed in AES accepts the Schedule B or the HTS number, and is not needed for a line worth $2,500 or less, except where the export regulations require it, for example when a license is needed.
Classification is a decision with consequences. For goods of high value or regulated goods, confirm the code with a licensed customs broker.
Most people need an HS code at the moment a form asks for it: the customs declaration of a package, a commercial invoice, an export filing. The lookup above answers that question in one search and gives you the three codes side by side, each with a copy button, so you can take the one the form needs.
Which codes the lookup gives you
The same 6 digits in every country of the Harmonized System: the customs forms of international shipments and commercial invoices, and the start of the tariff heading or fracción arancelaria in Mexico and every Latin American country.
Importing into the United States: the line of the official tariff (USITC) that sets the base duty.
Exporting from the United States: the Electronic Export Information (EEI) in AES, from the Census Bureau official list.
With the country of origin and the value: base duty, Sections 301 and 232, antidumping, and the MPF and HMF fees.
Which code do you need?
A package or invoice going abroad needs the 6-digit HS code. A US export filing needs Schedule B (or the HTS). A US import needs the 10-digit HTS code. Another country's customs uses its own national code, which starts with the same six digits.
How the lookup works
In your own words: what it is, what it is made of and what it is used for. You can write in English or Spanish.
The ones a customs broker would open for that product, and it reads every line under them in the official US tariff schedule.
From that list, the most likely first. A code that is not on the official list is discarded.
The 6-digit HS code, the HTS code to import into the US and the Schedule B to export, taken from the Census Bureau's list. When several Schedule B lines share the same six digits, you choose the one that fits.
If you also want the US import duty, add the country of origin and the value of the goods: the same tool works it out with the HTS code.
Examples: one product, three codes
These are the lookup's answers on October 22, 2026:
The six HS digits match on every row. The last four digits of the import and export codes are often different, because the two lists are kept by different agencies for different purposes.
The 6 digits in Mexico and Latin America
Customs offices in Mexico and across Latin America classify with the Harmonized System, so the six digits the lookup gives you are the start of the code in your destination country. In Mexico, for example, the fracción arancelaria has 8 digits followed by a 2-digit NICO: the first six are the HS code. The digits that follow, and the duty the product pays there, are set by each country's tariff, so confirm them with your customs broker at destination.
How to describe a product so the lookup finds it
Name it the way a seller would: "men's cotton T-shirt" finds a line; "clothes" does not.
Say what it is made of. The material often decides the chapter: a wooden chair and a metal one go in different subheadings.
Say what it is for when the same object has several uses, like a battery for a car or for a laptop.
Say whether it is a finished product, a part or a kit. Parts often have their own line.
Avoid words that say why you are sending something instead of what you are sending, like "gift", "sample" or "personal items". They have no code.
Exporting from the United States: Schedule B and the EEI
An export from the United States is reported to the government with the Electronic Export Information (EEI), filed in the AES system. The filing carries a 10-digit code for each line. The foreign trade regulations accept the Schedule B number or, instead, the HTS number, except where the HTS headnotes say otherwise (15 CFR 30.6).
The EEI is not needed when the goods of one Schedule B or HTS number, from one exporter to one consignee on one shipment, are worth $2,500 or less (15 CFR 30.37). The exception does not apply when the regulations require the filing anyway, for example when the goods need an export license. If you ship with AB Group Shipping, give us the codes when you book.
When to ask a customs broker
A tariff code is a legal classification, and the importer is responsible for it. Ask a licensed customs broker when the goods are of high value, when an authority regulates them (food, medicines, chemicals, devices that transmit signals) or when the product could go in more than one heading. In the United States you can also ask Customs (CBP) for a binding ruling on a product you import often.
Frequently asked questions
What is an HS code?
An HS code is the 6-digit number the Harmonized System gives a product. The World Customs Organization maintains the system, and more than 200 countries and economies use it as the basis of their customs tariffs and trade statistics. The first two digits are the chapter, the first four the heading and all six the subheading.
Is the HS code the same in every country?
The first six digits are. Each country then adds its own digits for its tariff and statistics: the United States uses 10 digits for imports (the HTS) and 10 for exports (Schedule B), and Mexico uses an 8-digit fracción arancelaria followed by a 2-digit NICO. So the 6-digit HS code of a product is the same in Miami, Mexico City and Bogotá, while the full national code is not.
How do I find the HS code for my product?
Describe the product in the lookup at the top of this page: what it is, what it is made of and what it is used for. It returns up to three lines from the official US tariff schedule, each with its 6-digit HS code, US import code and US export code. For goods of high value or goods that a government agency regulates, confirm the classification with a licensed customs broker.
Do I need an HS code to send a package abroad?
Customs declarations for international shipments carry an HS code for each item, and the customs office at the destination uses it. When you fill in the customs form online at USPS, USPS assigns the code from your item descriptions. Couriers and freight forwarders usually ask for it on the commercial invoice of a commercial shipment.
What is the difference between Schedule B and the HTS?
Both are 10-digit US codes that start with the same six HS digits. The HTS, published by the US International Trade Commission, classifies imports and sets their duty. Schedule B, published by the Census Bureau, classifies exports. The Electronic Export Information filed in AES accepts either number, except where the HTS headnotes say otherwise.