Skip to content
Free tool, no signup

Handlebars Template Tester

Test variables, loops, conditionals and helpers against your own JSON, rendered live.

Renders
HelpersformatCurrencyformatDateqrpageNumbertotalPages

How to test a Handlebars template

  1. 01Paste the templateHTML with Handlebars expressions like {{customer.name}}, {{#each items}} and {{#if paid}}.
  2. 02Paste your dataThe JSON your app would send. Errors show in plain words as you type.
  3. 03Read the outputSwitch between the rendered preview and the exact HTML it produced.

Handlebars questions

Which Handlebars features work?

Variables, #each, #if, #unless, #with, partials in a workspace, and the built-in helpers formatCurrency, formatDate, qr, pageNumber and totalPages.

Can I add my own helpers?

No. Templates run in a sandbox with a fixed set of helpers, so they can never run code on the server.

Why is a value blank?

The path in the template doesn’t match the JSON. In a workspace, a send with a missing required variable is rejected with a 422 that lists it.

Is this the same engine the API uses?

Yes. The tester renders with the same sandboxed Handlebars and helpers as every send.

Render this template from your app.

Save this template in a free workspace and call it from your backend with your data. Same HTML, no manual steps.

Start Free
curl -X POST https://templater.nestutils.com/v1/templates/order-confirmation/preview \
  -H "Authorization: Bearer $TEMPLATER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "data": { "order": { "id": "KF-20931" } } }'

More free tools

Compare Templater with Puppeteer · Browse the HTML templates