← All Tools

🥸 Mustache Template Tester

Render logic-less Mustache templates against JSON context. Supports {{var}}, {{{raw}}}, {{#section}}, {{^inverted}}, {{>partial}}, and dot notation.

Template

Partials (optional JSON map: { "header": "...", "row": "..." })

Context (JSON)

Rendered output


  
Syntax reference
{{name}} HTML-escaped variable · {{{name}}} or {{&name}} unescaped · {{#items}}…{{/items}} section (iterates arrays, renders on truthy) · {{^items}}…{{/items}} inverted (renders on empty/falsy) · {{.}} current value in array loop · {{a.b.c}} dot notation · {{! comment }} comments · {{>partialName}} partial lookup · {{=<% %>=}} set delimiters.