HS codes for Shopify

Add the right HS codes to your
Shopify products — in bulk

Shopify gives every variant an HS code field. Filling it in correctly keeps carriers happy, keeps international customers from being surprised at delivery, and protects your landed cost when you import. ImportPilot classifies your whole catalog and exports a Shopify-ready CSV.

The Shopify HS code field

What it is and why you should not leave it blank

Every Shopify product variant has an HS (Harmonized System) code field under Customs Information. It tells carriers and customs systems what the product is for tariff purposes. If you import goods into the U.S. or ship internationally, this field is not optional — it is the single piece of data that determines how your product is assessed at the border.

Blank HS codes cause real cost

Carriers guess on your behalf (often wrong). International customers get a surprise duty bill. Brokers charge classification fees at the border. Your landed cost is unpredictable.

6 digits vs 10 digits

The first 6 digits of HS are internationally harmonized. The last 4 digits of HTSUS are U.S.-specific and set your exact duty rate. ImportPilot returns the full 10-digit code, and you can export whichever level you need.

The workflow

From Shopify CSV to classified catalog in one pass

1. Export your Shopify products

In Shopify admin, go to Products → Export and download your catalog as a CSV. No Shopify app install required.

2. Upload to ImportPilot

Drop the CSV into the bulk importer. ImportPilot runs every row through guided classification and returns HTS candidates with confidence and rationale.

3. Export a Shopify-ready CSV

Download a CSV formatted for Shopify product import with the HS code column populated. Re-upload to Shopify to update every variant in one step.

Why this is hard and how ImportPilot handles it

Picking the right HS code is not a keyword search

The U.S. tariff schedule has more than 29,000 lines. A cotton t-shirt belongs in a different chapter than a cotton blanket. A leather handbag with a textile strap may follow the leather chapter, or the textile chapter, depending on which material gives the item its essential character. These calls follow the General Rules of Interpretation — and a Google search will not get you there.

ImportPilot asks the specific facts that change the answer: material composition, construction type, primary use, end consumer, origin. It narrows from 29,000+ headings down to the handful that actually apply, shows you the top candidates with rationale, and lets you choose — so the code in your Shopify CSV is one you can defend if a broker or CBP asks why.

Accuracy note. For common categories like apparel, bags, footwear, and consumer goods, ImportPilot reaches the correct 8-digit code (which determines duty) around 85–90% of the time. For uncommon or edge-case products, we flag low confidence and surface alternatives so you know when to validate with a broker.

Ready to fill in every Shopify HS code field?

Classify one product free. Upload your full catalog when you are ready.

Shopify HS code FAQ

What is the HS code field in Shopify for?

Shopify exposes an HS code field on every variant so carriers and customs brokers can see the tariff classification when you ship internationally. Without a valid code, carriers guess (or charge you a classification fee), and your customer can end up paying an unexpected duty bill on delivery.

Should I use 6-digit or 10-digit HS codes in Shopify?

Shopify accepts 6, 8, or 10 digits. The first 6 digits are the internationally harmonized portion used by most customs systems. The 10-digit HTS code is U.S.-specific and determines the exact duty rate when you import into the United States. For shipping from a U.S. warehouse to international customers, 6 digits is usually enough. For importing into the U.S., you want the full 10-digit HTSUS code.

How do I bulk add HS codes to Shopify products?

Export your Shopify product CSV, classify each product in ImportPilot (bulk CSV import is supported on every plan), and re-import the CSV with the HS code column populated. You can do this on your whole catalog in one pass instead of editing products one at a time.

Do I need a broker to assign HS codes?

Not to enter codes in Shopify. For a formal U.S. customs entry above $2,500 in value, you are legally required to work with a licensed customs broker, and they will confirm the final code. ImportPilot is built to hand your broker a defensible starting point with rationale — it is not a replacement for broker sign-off on high-stakes shipments.

What happens if I ship with the wrong HS code?

Short version: the carrier, the broker, or CBP will correct it, and you will usually pay the difference plus handling fees. Over time, wrong codes can lead to audits, penalty notices, and delays. It is cheaper to classify correctly once and save the result than to fix the same mistake repeatedly.