How to add HS codes to all your Shopify products
By Kamesh at Worklea · Updated 13 November 2026
When a parcel crosses a border, the customs declaration lists each item's HS (Harmonized System) code, its country of origin and its weight. Shopify fills these in from your product details, and it uses the same fields to work out duties and import taxes at checkout if you charge them up front. A missing or wrong value can mean a parcel held at the border, duties charged to your customer on delivery, or a return to sender. Since the United States ended its de minimis exemption in August 2025, that applies to low-value parcels too.
Short answer: enter the HS code and country of origin in each product's Shipping section, or many at once with the bulk editor. The hard part in a big catalog is finding which variants are still missing them.
Add an HS code to one product
- Go to Products and open the product.
- In the Shipping section, make sure Physical product is on.
- Choose the Country of origin and enter the Harmonized System (HS) code.
- Save. Check the weight while you're there: customs forms and carriers use it too.
Add HS codes to many products at once
- Go to Products, tick the products you want to change, and click Bulk edit.
- Click Columns, and under Shipping add Harmonized system code and Country of origin.
- Fill in the values and click Save.
For a very large catalog, Shopify also has a CSV for this: Settings > Taxes and duties, then Manage next to Duties and import taxes, and Update with CSV. The details are in Shopify's guide to HS codes.
The part that takes the time
Shopify shows these fields one variant at a time, and the product list can't filter for a missing HS code or country of origin. In a catalog of a few hundred variants, finding the gaps means opening products one by one or scanning a long bulk-edit sheet. Codes that are too short (anything under 6 digits) slip through the same way.
Finding the right code
The first 6 digits of an HS code are the same in every country. Your destination country's tariff lookup gives the full code: for example the US Harmonized Tariff Schedule or the UK Trade Tariff. If you're unsure, your courier or a customs broker can confirm a code for your main product types.
Do it automatically with Worklea Customs Ready
Customs Ready scans every variant that ships and counts the ones with a missing HS code, an HS code that isn't 6 to 10 digits, no country of origin, or no weight. Filter the list by issue, collection, vendor or product type, enter the right value once, preview how many variants will change and apply it to all of them. Every change is logged and a whole batch can be undone. It doesn't guess codes for you: you choose the values.
Scans are free and unlimited. The free plan includes 25 bulk fixes a month; Pro ($9.99 every 30 days) makes them unlimited.
Questions
Is the HS code per product or per variant?
Per variant. Variants of one product usually share a code, but a set or a different material can need its own. Customs Ready checks every variant separately.
Do I need HS codes if I only ship in my own country?
No. They matter for parcels that cross a border, and for duties shown at checkout for international customers.