A curated list of template engines across all programming languages with repository activity stats.
Summary of (8 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| DotLiquid | A .Net port of the popular Liquid templating language written in Ruby | 1094β | 289π΄ | 2025-03-25 | v2.2.508 (2021-08-05) | π΄ |
| Fluid | An open-source .NET template engine based on the Liquid template language | 1744β | 190π΄ | 2026-04-30 | v2.31.0 (2025-11-07) | π’ |
| Handlebars.Net | A port of Handlebars.js to .NET that compiles templates directly to IL bytecode | 1449β | 239π΄ | 2024-04-03 | 2.1.6 (2024-04-03) | π΄ |
| MJML.Net | A fast port of MJML 4 to .NET 6 & 7 | 256β | 21π΄ | 2026-04-17 | N/A | π’ |
| RazorLight | Template engine for building templates from Files outside of ASP.NET MVC | 1656β | 269π΄ | 2024-07-06 | v2.3.1 (2023-01-16) | π΄ |
| Scriban | Fast and lightweight scripting language for .NET with liquid compatibility mode | 3897β | 406π΄ | 2026-05-30 | 7.2.3 (2026-05-30) | π’ |
| Spark | View engine for ASP.NET MVC with syntax inspired by Jade/Haml | 254β | 84π΄ | 2025-09-11 | v1.8.1.0 (2015-06-10) | π’ |
| Stubble | Trimmed down {{mustache}} templates in .NET | 446β | 61π΄ | 2022-09-23 | v1.10.8 (2022-08-29) | π΄ |
Summary of (4 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Inja | Template engine inspired by Jinja for modern C++ | 1944β | 247π΄ | 2026-03-25 | v3.5.0 (2025-10-18) | π’ |
| Jinja2Cpp | C++ implementation of Python Jinja2 template engine | 591β | 113π΄ | 2026-03-10 | 1.3.2 (2024-06-23) | π’ |
| mstch | Complete implementation of mustache templates in C++ | 596β | 89π΄ | 2016-02-13 | 1.0.2 (2016-02-01) | π΄ |
| Qentem | Lightweight template engine for C++/C/Java projects and WASM | 13β | 4π΄ | 2026-02-27 | 2.6.0 (2026-01-02) | π’ |
Summary of (1 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| DocPad | Streamlined web development using CoffeeScript | 3050β | 234π΄ | 2023-12-19 | v6.83.2 (2020-09-08) | π΄ |
Summary of (13 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Ace | HTML template engine inspired by Slim and Jade | 838β | 50π΄ | 2018-06-17 | v0.0.5 (2017-03-07) | π΄ |
| Amber | Template engine inspired from HAML and Jade | 922β | 62π΄ | 2017-10-10 | N/A | π΄ |
| Ego | ERB style templating language that transpiles to Go | 590β | 39π΄ | 2021-07-14 | v0.4.3 (2021-07-14) | π΄ |
| GoRazor | Go port of the Razor view engine | 884β | 88π΄ | 2026-06-01 | v1.2.2 (2019-11-14) | π’ |
| Hero | Fast template engine that pre-compiles to Go code | 1566β | 92π΄ | 2020-01-09 | v0.0.2 (2019-08-18) | π΄ |
| Jade | Implementation of Jade/Pug templates in Go | 364β | 34π΄ | 2023-08-09 | v1.1.3 (2022-02-06) | π΄ |
| Jet | Fast and dynamic template engine with Django-like syntax | 1398β | 117π΄ | 2026-03-16 | v6.3.2 (2026-03-16) | π’ |
| Liquid | Go implementation of Shopify Liquid templates | 349β | 70π΄ | 2026-02-27 | v1.8.1 (2026-02-27) | π’ |
| Mustache.go | Go implementation of Mustache templates | 1118β | 230π΄ | 2016-08-04 | go.r60 (2012-03-18) | π΄ |
| Pongo2 | Django-syntax templating for Go | 3068β | 284π΄ | 2026-03-13 | v6.1.0 (2026-05-02) | π’ |
| QuickTemplate | Fast template engine inspired by Mako | 3321β | 145π΄ | 2024-07-04 | v20160617 (2016-06-10) | π΄ |
| Raymond | Go port of Handlebars.js | 643β | 117π΄ | 2025-06-19 | v2.0.2 (2018-03-22) | π’ |
| Soy | Go implementation of Google Closure Templates | 177β | 40π΄ | 2024-03-19 | N/A | π΄ |
Summary of (1 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Jenkins Templating Engine | A plugin enabling Jenkins pipeline templating and governance, bringing Template Method Design Pattern to pipelines | 178β | 63π΄ | 2025-04-12 | 2.5.4 (2025-04-02) | π΄ |
Summary of (17 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Apache FreeMarker | A Java template engine that can be used to generate text output based on templates | 1099β | 280π΄ | 2026-05-16 | v2.3.34 (2024-12-08) | π’ |
| Apache Velocity | A Java based template engine | 411β | 135π΄ | 2026-05-20 | velocity-engine-parent-2.0.0 (2016-11-05) | π’ |
| Blade | A simple open source web framework that helps quickly build web applications | 5880β | 1159π΄ | 2026-05-15 | 2.1.2.RELEASE (2022-05-09) | π’ |
| Closure-Templates | A client and server-side templating system for dynamically building reusable HTML and UI elements | 693β | 193π΄ | 2026-05-31 | release-20160721 (2016-07-21) | π’ |
| Handlebars.java | A Java port of the Handlebars template engine following Mustache template | 1551β | 387π΄ | 2026-05-05 | v4.5.1 (2026-05-05) | π’ |
| HtmlFlow | A Java DSL to write typesafe HTML in a fluent style | 173β | 32π΄ | 2026-03-28 | htmlflow-4.3 (2024-01-15) | π’ |
| JinJava | Java-based template engine based on django template syntax, adapted to render jinja templates | 778β | 175π΄ | 2026-05-07 | jinjava-2.8.3 (2026-02-02) | π’ |
| JMustache | A Java implementation of Mustache specification template engine | 879β | 132π΄ | 2025-07-29 | jmustache-1.16 (2023-11-30) | π’ |
| JStachio | A Mustache compatible type-safe Java templating engine | 330β | 14π΄ | 2025-04-15 | v1.3.7 (2025-03-10) | π΄ |
| JTE | Lightweight template engine for Java and Kotlin with productive and typesafe experience | 1111β | 89π΄ | 2026-05-03 | 3.2.4 (2026-04-29) | π’ |
| ManTL | A lightweight & type-safe template engine integrated with the Java compiler using Manifold | 2742β | 134π΄ | 2026-05-24 | v2026.1.6 (2026-03-07) | π’ |
| Mustache.java | A derivative template engine of mustache.js with its own parser written in Java | 1948β | 284π΄ | 2024-09-19 | mustache.java-jdk5-0.8.10 (2013-03-02) | π΄ |
| Pebble | A template engine inspired from Twig with syntax similar to Jinja featuring template inheritance | 1187β | 175π΄ | 2026-05-29 | 4.1.2 (2026-05-29) | π’ |
| Pug4J | A Java implementation of the Pug templating language | 73β | 13π΄ | 2025-11-14 | pug4j-2.4.0 (2025-10-10) | π’ |
| Rocker | An intuitive, tagless syntax template engine with standard Java expressions | 780β | 91π΄ | 2025-11-06 | v2.4.0 (2025-11-06) | π’ |
| Thymeleaf | A server-side Java template engine for both web and standalone environments | 2966β | 516π΄ | 2026-04-29 | thymeleaf-3.1.5.RELEASE (2026-04-21) | π’ |
| Trimou | A Mustache spec implementation with helpers inspired from Handlebars.js | 88β | 18π΄ | 2023-07-10 | 2.5.0.Final (2018-05-31) | π΄ |
Summary of (21 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| .Dom | A template engine replicating re-usable component and virtual DOM within 512 bytes | 809β | 45π΄ | 2019-10-30 | v0.3.1 (2019-08-22) | π΄ |
| Art-template | A fast templating engine that optimizes template rendering speed by scope pre-declared technique | 9862β | 2650π΄ | 2024-12-07 | v4.13.2 (2018-11-13) | π΄ |
| Carbone | A mustache-like template engine and open source document generator | 2031β | 255π΄ | 2026-04-07 | carbone@2.0.0-beta.4 (2020-05-24) | π’ |
| Consolidate.js | A library that consolidates most known template engines implemented in JS | 3469β | 346π΄ | 2022-03-14 | v0.16.0 (2020-09-08) | π΄ |
| doT | A fastest JavaScript templating function with emphasis on performance under V8 and nodejs | 5047β | 1009π΄ | 2020-07-26 | v1.1.3 (2020-07-25) | π΄ |
| DustJS | An asynchronous Javascript templating engine developed by LinkedIn | 2908β | 462π΄ | 2023-07-12 | v3.0.1 (2021-12-29) | π΄ |
| ECT | Performance focused JavaScript template engine with embedded CoffeeScript syntax | 617β | 68π΄ | 2014-06-08 | v0.5.9 (2016-04-14) | π΄ |
| EJS | Embedded JavaScript templates designed to be flexible and easy-to-write | 8110β | 848π΄ | 2026-05-26 | v6.0.1 (2026-05-26) | π’ |
| Handlebars.js | A template engine extending Mustache templating with additional features | 18639β | 2049π΄ | 2026-04-21 | v4.7.9 (2026-03-26) | π’ |
| Hogan.js | A compiler for the Mustache templating language with separate scanning, parsing and code generation phases | 5125β | 427π΄ | 2021-12-13 | v3.0.2 (2014-06-17) | π΄ |
| jTDAL | Small template engine based on Zope TAL, using data attributes | 2β | 0π΄ | 2026-02-19 | v5.0.2 (2026-01-24) | π’ |
| Lodash | A utility library for working with arrays, numbers, objects, strings, and creating composite functions | 61241β | 7160π΄ | 2026-05-08 | 4.18.1 (2026-04-01) | π’ |
| Marko | HTML reimagined as a language for building dynamic and reactive user interfaces | 14373β | 662π΄ | 2026-05-21 | @marko/runtime-tags@6.1.2 (2026-05-21) | π’ |
| MJML | A markup language designed to reduce the pain of coding responsive email | 18083β | 987π΄ | 2026-05-27 | v5.3.0 (2026-05-27) | π’ |
| Nunjucks | A templating engine heavily inspired from Jinja2 with template inheritance & asynchronous control | 8963β | 656π΄ | 2025-12-01 | v3.2.4 (2023-04-19) | π’ |
| Mustache.js | A JavaScript implementation of the mustache logic-less templates | 16717β | 2351π΄ | 2023-01-21 | v4.2.0 (2021-03-28) | π΄ |
| Pug | A high-performance template engine influenced by Haml for Node.js and browsers | 21853β | 1933π΄ | 2026-03-13 | pug@3.0.4 (2026-03-13) | π’ |
| Rivets | A lightweight data binding and template engine specializing in building data-driven views | 3227β | 303π΄ | 2026-02-21 | v0.9.6 (2016-10-22) | π’ |
| Swig | A simple, Django/Jinja-like template engine for node.js | 3098β | 431π΄ | 2016-08-05 | v1.4.2 (2014-08-04) | π΄ |
| Twig.js | A pure JavaScript implementation of the Twig PHP templating language | 1927β | 279π΄ | 2026-05-15 | v3.0.0 (2026-03-26) | π’ |
| Velocity.js | A port of Apache velocity template engine in JavaScript using Jison library parser | 612β | 148π΄ | 2026-05-10 | v2.1.6 (2026-05-06) | π’ |
Summary of (1 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Barber | A type safe Kotlin JVM library for building up templates | 190β | 22π΄ | 2024-04-03 | v2024.04.03.174754-97b01fc (2024-04-03) | π΄ |
Summary of (2 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Lua Resty Template | A compiling template engine for Lua and OpenResty | 924β | 205π΄ | 2023-03-23 | v2.0 (2020-02-24) | π΄ |
| Lustache | Lua implementation of Mustache template engine | 258β | 33π΄ | 2021-01-15 | v1.3.1-0 (2015-11-30) | π΄ |
Summary of (15 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Blade | The simple yet powerful templating engine provided with Laravel | 34737β | 11896π΄ | 2026-05-31 | v13.12.0 (2026-05-26) | π’ |
| Blade One | A standalone version of Laravel's Blade templating engine for use outside of Laravel | 824β | 123π΄ | 2025-09-03 | 4.19.1 (2025-09-03) | π’ |
| Dwoo | A PHP5/PHP7 template engine which follows Smarty's footsteps | 168β | 57π΄ | 2018-07-25 | 1.3.7 (2018-04-18) | π΄ |
| Fenom | A fast template engine for PHP with syntax similar to Smarty | 443β | 106π΄ | 2026-04-26 | v3.1.0 (2026-04-23) | π’ |
| Laravel Blade | The official Blade templating engine integrated with Laravel framework | 0β | 0π΄ | N/A | N/A | N/A |
| Latte | A secure template engine for PHP with protection against vulnerabilities | 1282β | 111π΄ | 2026-05-11 | v3.1.4 (2026-04-23) | π’ |
| Mustache.php | A Mustache implementation in PHP | 3282β | 436π΄ | 2026-05-23 | v3.2.0 (2026-05-10) | π’ |
| PHP Text Template | A simple template engine for text output in PHP applications | 7434β | 30π΄ | 2026-05-29 | 6.0.0 (2026-02-06) | π’ |
| Plates | A native PHP template system inspired by Twig | 1525β | 184π΄ | 2026-01-10 | v3.6.0 (2024-11-02) | π’ |
| RainTPL 3 | An easy template engine for PHP that loads HTML templates | 253β | 54π΄ | 2019-10-04 | v.3.beta (2012-05-03) | π΄ |
| Savant | A powerful but lightweight object-oriented template system for PHP | 18β | 13π΄ | 2014-01-07 | N/A | π΄ |
| Smarty | A template engine for PHP using variables, modifiers, functions and comments | 2349β | 708π΄ | 2026-05-15 | v5.8.0 (2026-02-15) | π’ |
| TinyButStrong | A PHP template engine enabling W3C compliant templates | 66β | 18π΄ | 2026-04-22 | v3.15.3 (2026-04-22) | π’ |
| Twig | A flexible, fast, and secure template language for PHP inspired by Django and Jinja | 8361β | 1285π΄ | 2026-05-30 | v3.27.1 (2026-05-30) | π’ |
| Volt | An ultra-fast and designer-friendly templating engine written in C for PHP | 12β | 4π΄ | 2026-05-23 | N/A | π’ |
Summary of (10 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Chameleon | An HTML/XML template engine generation library in Python | 184β | 68π΄ | 2026-03-12 | 4.6.0 (2024-12-31) | π’ |
| Cheetah3 | A template engine for Python that allows full integration with existing Python code | 146β | 42π΄ | 2025-11-29 | 3.4.0.post5 (2025-11-29) | π’ |
| Chevron | A fast Python implementation of Mustache template engine | 552β | 61π΄ | 2021-03-21 | 0.13.1 (2018-10-03) | π΄ |
| Genshi | A Python template engine that provides XML-based template language | 98β | 39π΄ | 2026-05-17 | 0.7.11 (2026-05-17) | π’ |
| Jinja | A fast, expressive, extensible templating engine with Python-like syntax | 11648β | 1745π΄ | 2025-06-14 | 3.1.6 (2025-03-05) | π’ |
| Jsonnet | A configuration language for app and tool developers | 7516β | 474π΄ | 2026-03-30 | v0.22.0 (2026-03-24) | π’ |
| Kajiki | A fast Python template engine with XML/HTML output inspired by Genshi | 51β | 17π΄ | 2025-05-05 | v1.0.1 (2025-05-04) | π΄ |
| Mako | A template library written in Python inspired by Django, Jinja2, Cheetah, and Genshi | 435β | 73π΄ | 2026-04-28 | rel_1_3_12 (2026-04-28) | π’ |
| Pystache | A Python implementation of Mustache template engine | 1315β | 306π΄ | 2014-09-30 | v0.5.4 (2014-05-12) | π΄ |
| Unprompted | A powerful templating language for Stable Diffusion workflows | 810β | 73π΄ | 2024-07-29 | N/A | π΄ |
Summary of (1 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Whisker | A Mustache implementation in R confirming to its specification | 225β | 18π΄ | 2022-11-07 | N/A | π΄ |
Summary of (7 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| ERB | A built-in Ruby templating engine that allows embedding Ruby code in documents | 0β | 0π΄ | N/A | N/A | N/A |
| Haml | A templating engine designed for elegant HTML document generation | 3833β | 584π΄ | 2026-01-13 | v7.2.0 (2026-01-13) | π’ |
| Hamlit | A high performance implementation of Haml | 979β | 61π΄ | 2026-01-13 | v4.0.0 (2025-10-28) | π’ |
| Jb | A simpler and faster alternative to JBuilder | 1315β | 42π΄ | 2026-01-20 | v0.8.2 (2023-11-04) | π’ |
| JBuilder | A DSL for declaring JSON structures in Ruby | 4413β | 452π΄ | 2026-05-26 | v2.15.1 (2026-05-26) | π’ |
| Liquid | A secure, non-evaluating template engine with separate compile and render steps | 11802β | 1524π΄ | 2026-05-20 | v5.12.0 (2026-03-18) | π’ |
| Mustache | A framework-agnostic way to render logic-free views in Ruby | 3075β | 275π΄ | 2026-02-24 | v1.0.2 (2015-06-24) | π’ |
Summary of (6 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Handlebars-rust | A Rust port of Handlebars template engine | 1474β | 155π΄ | 2026-05-22 | v6.4.0 (2026-01-02) | π’ |
| Liquid-rust | A port of Liquid templating engine in Rust | 575β | 84π΄ | 2026-06-01 | v0.16.0 (2018-10-04) | π’ |
| Maud | An HTML template engine implemented as a Rust macro | 2583β | 171π΄ | 2026-05-25 | v0.27.0 (2025-02-02) | π’ |
| Rust-Mustache | A Rust implementation of Mustache specification | 224β | 68π΄ | 2021-06-22 | v0.9.0 (2018-02-12) | π΄ |
| SailFish | A simple template engine with EJS-like syntax and built-in filters | 979β | 63π΄ | 2026-05-08 | v0.11.1 (2026-05-05) | π’ |
| Tera | A template engine inspired by Jinja2 and Django template language | 4213β | 321π΄ | 2026-05-06 | v1.20.1 (2025-10-30) | π’ |
Summary of (7 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Beard | A logic-less templating engine inspired by Mustache using ANTLR for parsing | 122β | 28π΄ | 2023-11-13 | 0.3.1 (2020-03-25) | π΄ |
| Handlebars.scala | A Scala implementation of Handlebars template engine | 112β | 38π΄ | 2016-08-26 | v0.0.4 (2013-02-06) | π΄ |
| Hepek | A Scala-based tool for generating typesafe and flexible HTML | 112β | 10π΄ | 2025-11-05 | v0.33.0 (2025-05-14) | π’ |
| ScalaTags | A small and fast XML/HTML/CSS construction library for Scala | 772β | 117π΄ | 2025-07-11 | v0.6.0 (2016-07-16) | π’ |
| Scalate | A template engine supporting multiple syntax styles including HAML, Mustache, and JSP | 611β | 103π΄ | 2026-05-18 | v1.11.0 (2026-05-16) | π’ |
| Thera | A template engine for building static websites in Scala | 51β | 3π΄ | 2020-11-26 | 0.2.0-M3 (2020-11-14) | π΄ |
| Twirl | A Scala-based template engine inspired by ASP.NET Razor | 559β | 118π΄ | 2026-05-20 | 2.0.9 (2025-06-30) | π’ |
Summary of (2 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| GRMustache.swift | An extended implementation of Mustache templates with additional functions | 628β | 154π΄ | 2025-09-02 | 7.0.0 (2025-09-02) | π’ |
| Stencil | A simple template language with Django and Mustache-like syntax | 2414β | 219π΄ | 2024-12-22 | 0.15.1 (2022-07-31) | π΄ |
Summary of (3 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Eta | A lightweight templating engine for Node and Deno with small bundle size | 1722β | 87π΄ | 2026-04-25 | v4.6.0 (2026-04-25) | π’ |
| LiquidJS | A port of Shopify Liquid template engine compatible with Github Pages | 1827β | 273π΄ | 2026-05-15 | v10.27.0 (2026-05-15) | π’ |
| Squirrelly | A modern template engine with Nunjucks-like power and EJS-like simplicity | 673β | 82π΄ | 2025-11-13 | v9.1.0 (2024-07-02) | π’ |
The benchmarks.md file contains template-engine benchmarks in popular programming languages.
Feel free to submit a PR to add or update template engine information!
- The template engine is open source.
- Provide the GitHub repository URL and include a brief description.
- Ensure to add in alphabetical order in
gen/template-engines.yamlfile. - Ensure to add in the correct language category.
Stats
- Last update column shows the last commit date in the default branch.
- Green(π’) if the repository is active and has default branch commit in last 12 months, red(π΄) otherwise.
- Last updated: 2026-06-01