Shopify Schema Generator

Build a valid {% schema %} block for your section: pick settings, get clean JSON.

  • Free
  • No sign-up
  • Instant results

Your section

Settings
  • ID heading
  • ID image
  • ID button_label
  • ID button_link
sections/hero-banner.liquid
{% schema %}
{
  "name": "Hero banner",
  "settings": [
    { "type": "text", "id": "heading", "label": "Heading" },
    { "type": "image_picker", "id": "image", "label": "Image" },
    { "type": "text", "id": "button_label", "label": "Button label" },
    { "type": "url", "id": "button_link", "label": "Button link" }
  ],
  "presets": [{ "name": "Hero banner" }]
}
{% endschema %}

How it works

Section settings without the syntax

  1. 1

    Name your section

    This is the name merchants see in the theme editor.

  2. 2

    Add settings

    Pick a type for each one: text, image, link, colour and more.

  3. 3

    Copy the schema

    Paste the block at the end of your section’s Liquid file.

How it works

Every Shopify 2.0 section declares its editor settings in a {% schema %} JSON block. This tool builds that block for you: pick setting types, label them, and it writes valid JSON with sensible ids and defaults, ready to paste at the bottom of your section file.

Skip the schema, generate the whole section

A schema is only half a section; the Liquid markup that renders those settings is the other half. Clyro generates complete sections, markup, styles and schema together, from a plain-English description, so you describe the section instead of hand-assembling it.

Questions

What setting types are supported?

Text, textarea, rich text, image picker, URL, color, range, select, checkbox, product and collection: the types that cover the vast majority of real sections.

Where do I paste the output?

At the bottom of your section file (sections/your-section.liquid), replacing any existing {% schema %} block. The settings then appear in Shopify's theme editor.

Does it validate against Shopify's rules?

The output follows Shopify's schema format: unique snake_case ids, labels, defaults, and a preset so the section appears in the editor's section picker. Edge cases beyond these types may need manual additions.

More free tools

All free tools