Shopify guides · Updated 2026-11-07

Free size chart generator for Shopify

Build a size chart, switch it between cm and inches, and copy clean HTML table code you can paste into a Shopify product description or page. It's free, needs no sign-up, and runs entirely in your browser. Nothing you type is uploaded.

How to use it

  1. Start from a template or paste rows straight from Excel or Google Sheets (copy the cells, paste into the box, click Import).
  2. Edit the table. Click any cell to change it. Add or remove rows and columns with the buttons.
  3. Pick which columns are measurements. Tick convert on columns like Chest or Waist. Size labels (S, US 8, EU 40) are left alone.
  4. Toggle cm / inches. Values are converted at 2.54 cm per inch, and ranges such as 86-90 stay ranges. Switching back restores your original numbers exactly.
  5. Copy the HTML. In Shopify, open the product or page, click Show HTML (the code button) in the editor, paste, and save.

Want this on every product without pasting? Oak Glen Size Charts shows your chart as a size guide pop-up on product pages, assigns it by collection, product type or tag, and lets shoppers toggle cm/inches themselves.

Try Size Charts free
Units
Tick convert for measurement columns. Units in headers like "(cm)" switch automatically.
Paste from Excel or Google Sheets

Copy the cells including the header row, paste below, then click Import. Units are read from headers like "Chest (cm)" or "Chest (in)", otherwise from the unit selected above.

Style options

Preview

HTML code

Where to paste the code in Shopify

The code uses only a <table> with inline styles inside a scrolling wrapper, because Shopify's rich text editor can strip <style> tags and wide tables need to scroll on phones.

Need numbers to start from? See the clothing size chart templates and the shoe size conversion chart. Remember that standard values are only a guide. Measure your own garments before publishing.

FAQ

Is this size chart generator free?

Yes. It runs in your browser with no account, and the HTML it produces is yours to use on any store.

How does the cm to inch conversion work?

Each number in a ticked column is divided by 2.54 (cm to inches) or multiplied by 2.54 (inches to cm), then rounded to the step you choose. Ranges like 86-90 convert both ends. Switching back restores the values you typed, so there is no rounding drift.

Why doesn't my size column convert?

Only columns with convert ticked are changed, and only cells that contain a number or a number range. Labels like S, M or US 8 are never touched.

Can shoppers switch units on my store with this code?

No. The pasted table is static and shows the unit you exported. To include both, paste a cm table and an inch table, or use an app with a unit toggle.