{"uid":"cap_GSpiILWYseRa78iNHngAz","slug":"html-to-shopify-liquid-section-converter-abbc4933","name":"HTML to Shopify Liquid Section Converter","description":"HTML → Shopify section converter. POST static HTML; get back a drop-in theme section: headings, paragraphs, images, links, and buttons are lifted into {{ section.settings.* }} references and a matching {% schema %} is generated with your original content as the defaults — immediately editable in the Shopify theme editor. Deterministic transform, no AI; output is self-linted before it's returned.","url":"https://api.webbersites.com/api/liquid/section","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["html"],"properties":{"html":{"type":"string","description":"Static HTML to convert (fragment or full page), max 256 KB"},"name":{"type":"string","description":"Section name for the schema (default: first heading)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lint":{"type":"object","description":"self-lint of the generated Liquid"},"name":{"type":"string"},"notes":{"type":"array"},"liquid":{"type":"string","description":"the finished section file — markup + generated {% schema %}"},"replacements":{"type":"array"},"settings_count":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"lint":{"verdict":"clean"},"name":"Summer Sale","liquid":"<section class=\"hero\"><h1>{{ section.settings.heading }}</h1>…{% schema %}{…}{% endschema %}","replacements":[{"from":"Summer Sale","type":"text","element":"h1","setting":"heading"}],"settings_count":4}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tQPgflQCrCiK32FysDg9J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts static HTML into a drop-in Shopify theme section with Liquid {{ section.settings.* }} references and a matching {% schema %} block, with original content as editable defaults.","exampleAgentPrompt":"Take this HTML snippet for my product hero section and convert it into a Shopify Liquid section file — name it 'Hero Banner' — so I can drop it into my theme and edit the text and images in the theme editor.","exampleUseCases":[{"title":"Migrate legacy landing page to Shopify","prompt":"I have an old HTML landing page with a banner, features list, and call-to-action buttons. Convert it into a Shopify section so our marketing team can update the copy and images without touching code."},{"title":"Turn email template into editable theme section","prompt":"We've got an HTML email template for our seasonal campaigns. Can you convert it to a Shopify Liquid section so we can reuse it as a customizable page block in our store?"},{"title":"Build bulk sections from multiple HTML files","prompt":"I'm migrating my entire website to Shopify and have about twenty HTML page components. Transform all of them into drop-in Liquid sections with schemas so I can assemble them in the theme editor."}],"resultDescription":"A complete Shopify Liquid section file with all headings, paragraphs, images, links, and buttons replaced by {{ section.settings.* }} Liquid references, plus a fully generated {% schema %} block with the original HTML content pre-populated as default values — ready to paste into a Shopify theme and immediately editable in the theme editor.","failureModes":["HTML exceeds 256 KB limit — request rejected","Malformed or unparseable HTML — transform may produce incomplete output","Missing required 'html' field in POST body — validation error returned","Network timeout on large HTML payloads","Self-lint detects invalid Liquid output — error returned before delivery"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, rule-based conversion of static HTML into a Shopify-compatible Liquid section — no AI hallucination risk, output is linted before delivery. Ideal for Shopify theme developers, migration workflows, or any pipeline that needs to make static content editable in the Shopify theme editor without manual Liquid templating.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:25.100Z","isFirstParty":false}