doT

doT

Concise and fast JavaScript template engine that compiles compact templates to render functions, with interpolation, conditionals, array iteration and partials, designed for small bundles and server or browser rendering.

doT.js at github.com/olado/doT is a free MIT concise fast JS template engine, npm dot 1.1.3, compact delimiters interpolate values, conditionals branch, array iteration and partials, compiler turns template string into render function taking data and returning string, small core and fast compile and render, browser bundles or server without large dependency tree, terse syntax, advanced flow through embedded JS expressions, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is doT free?

doT: doT.js is free open-source software released under the MIT License; the dot package latest 1.1.3 on npm declares Node 0.2.6 or above in its engines field. Templates use compact delimiters to interpolate values, branch with conditionals, iterate over arrays and include partials, and the compiler turns a template string into a render function that takes data and returns a string. The design emphasizes a small core and fast compile and render, so it can ship in browser bundles or run on the server without pulling in a large dependency tree. The syntax stays terse compared with full-featured engines, and advanced control flow is handled through the embedded JavaScript expressions the tags expose. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is doT free?

The code is free to self-host, but a hosted plan from the vendor may not be. doT publishes its source, so cost depends on where you run it.

How much does doT cost?

doT.js is free open-source software released under the MIT License; the dot package latest 1.1.3 on npm declares Node 0.2.6 or above in its engines field. Templates use compact delimiters to interpolate values, branch with conditionals, iterate over arrays and include partials, and the compiler turns a template string into a render function that takes data and returns a string. The design emphasizes a small core and fast compile and render, so it can ship in browser bundles or run on the server without pulling in a large dependency tree. The syntax stays terse compared with full-featured engines, and advanced control flow is handled through the embedded JavaScript expressions the tags expose. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check doT's current pricing?

On doT's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is doT.js?

Compact tags interpolate values and run conditionals or loops, partials share snippets, and the compiler emits a small render function that works in browser bundles and on the server with minimal dependencies.

How does pricing work?

The engine installs free under MIT with no seat license; usage in server or browser bundles carries no per-seat fee, and commercial support would be outside the open-source project.

How does doT compare with other tools in Dev Workflow & Productivity?

doT is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
doTOpen sourcedoT.js is free open-source software released under the MIT License; the dot package latest 1.1.3 on npm declares Node 0.2.6 or above in its engines field. Templates use compact delimiters to interpolate values, branch with conditionals, iterate over arrays and include partials, and the compiler turns a template string into a render function that takes data and returns a string. The design emphasizes a small core and fast compile and render, so it can ship in browser bundles or run on the server without pulling in a large dependency tree. The syntax stays terse compared with full-featured engines, and advanced control flow is handled through the embedded JavaScript expressions the tags expose. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
MustacheOpen sourceMustache is free open-source software released under the MIT License; the mustache package latest 4.2.0 on npm is published without an explicit Node engine field. The logic-less model means templates contain tags and sections rather than imperative statements: variable tags inject values, section tags repeat or conditionally render blocks based on arrays or objects, inverted sections show content when a value is empty, partials share repeated markup, and lambdas let the data side supply custom rendering. The same tag spec has implementations across JavaScript and many other languages, which keeps template syntax portable between front-end and server contexts. The trade-off is that non-trivial logic lives in the data preparation layer rather than the template. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
EtaOpen sourceEta is free open-source software released under the MIT License; the eta package latest 4.6.0 on npm requires Node 20 or above. Templates embed JavaScript in delimiters alongside HTML: interpolation tags print values, script tags handle conditionals and loops, partials include shared templates, and async callbacks support asynchronous data during render. The engine targets a small compiled footprint and fast rendering, ships TypeScript types, and can render in Node or the browser, which suits server responses, browser-side templating and static page generation. It positions itself as a leaner alternative to heavier embedded-JS engines while keeping familiar JavaScript control flow in the view. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

doT's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: doT.js is free open-source software released under the MIT License; the dot package latest 1.1.3 on npm declares Node 0.2.6 or above in its engines field. Templates use compact delimiters to interpolate values, branch with conditionals, iterate over arrays and include partials, and the compiler turns a template string into a render function that takes data and returns a string. The design emphasizes a small core and fast compile and render, so it can ship in browser bundles or run on the server without pulling in a large dependency tree. The syntax stays terse compared with full-featured engines, and advanced control flow is handled through the embedded JavaScript expressions the tags expose. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitegithub.com
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates