Shopify Metafields CSV Builder
Turn plain columns into Shopify's metafield CSV header format, with type checking.
How it works
Shopify reads metafield values from columns named like Material (product.metafields.custom.material). Most spreadsheets don't have headers in that format, so this tool builds them for you.
- 01
Upload a sheet with a Handle column
Plus one plain column per metafield, named however you like ("Material", "Warranty years"...).
- 02
Describe each metafield
One line per metafield:
Column name = namespace.key : type, for exampleMaterial = custom.material : single_line_text_field. - 03
Download the result
Each matched column is renamed to Shopify's format, and every value is checked against its type.
| Type | Valid values |
|---|---|
| boolean | true or false, exactly |
| number_integer | A whole number, like 12 |
| number_decimal | A number, like 12.5 |
| date | 2026-09-30 (ISO 8601) |
| date_time | 2026-09-30T14:30:00 |
| url | Starts with https://, http://, mailto:, sms: or tel: |
| json | Valid JSON |
| list.* | Several values, saved as a JSON array |
Importing the result
Every metafield must already exist under Settings → Custom data → Products before you import values for it. Shopify won't create a new metafield definition from a CSV column alone.
Import the file at Products → Import with "Overwrite products with matching handles" checked, since the file only carries Handle and your metafield columns.
Questions people ask
What if I don't know the metafield's type?
Check Settings → Custom data → Products in your Shopify admin. Each metafield definition lists its type.
How do list metafields work?
Enter values separated by commas or semicolons in the sheet; the tool converts them into the JSON array Shopify expects, like ["S","M","L"].
Can I build more than one metafield at once?
Yes, add one line per metafield in the box. Each becomes its own output column.
What happens to blank cells?
They're left blank in the output and skipped by the type check, so existing values won't be touched for products missing that data.
Related tools
Last reviewed 30 September 2026.
Sources: Shopify Help Center: Using CSV files to import and export products · Shopify dev docs: metafield data types
