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 | 1092β | 296π΄ | 2025-03-25 | v2.2.508 (2021-08-05) | π’ |
| Fluid | An open-source .NET template engine based on the Liquid template language | 1639β | 183π΄ | 2025-09-30 | v2.25.0 (2025-07-15) | π’ |
| Handlebars.Net | A port of Handlebars.js to .NET that compiles templates directly to IL bytecode | 1407β | 230π΄ | 2024-04-03 | 2.1.6 (2024-04-03) | π΄ |
| MJML.Net | A fast port of MJML 4 to .NET 6 & 7 | 223β | 19π΄ | 2025-08-20 | N/A | π’ |
| RazorLight | Template engine for building templates from Files outside of ASP.NET MVC | 1616β | 266π΄ | 2024-07-06 | v2.3.1 (2023-01-16) | π΄ |
| Scriban | Fast and lightweight scripting language for .NET with liquid compatibility mode | 3652β | 392π΄ | 2025-09-22 | 6.4.0 (2025-09-21) | π’ |
| Spark | View engine for ASP.NET MVC with syntax inspired by Jade/Haml | 253β | 86π΄ | 2025-09-11 | v1.8.1.0 (2015-06-10) | π’ |
| Stubble | Trimmed down {{mustache}} templates in .NET | 439β | 60π΄ | 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++ | 1868β | 231π΄ | 2025-10-18 | v3.5.0 (2025-10-18) | π’ |
| Jinja2Cpp | C++ implementation of Python Jinja2 template engine | 565β | 104π΄ | 2024-11-22 | 1.3.2 (2024-06-23) | π’ |
| mstch | Complete implementation of mustache templates in C++ | 585β | 88π΄ | 2016-02-13 | 1.0.2 (2016-02-01) | π΄ |
| Qentem | Lightweight template engine for C++/C/Java projects and WASM | 14β | 4π΄ | 2025-10-02 | 2.4.5 (2025-07-22) | π’ |
Summary of (1 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| DocPad | Streamlined web development using CoffeeScript | 3055β | 240π΄ | 2023-12-19 | v6.83.2 (2020-09-08) | π΄ |
Summary of (12 template engines)
| Engine | Description | Stars | Forks | Last Update | Latest Release | Status |
|---|---|---|---|---|---|---|
| Ace | HTML template engine inspired by Slim and Jade | 838β | 49π΄ | 2018-06-17 | v0.0.5 (2017-03-07) | π΄ |
| Amber | Template engine inspired from HAML and Jade | 921β | 62π΄ | 2017-10-10 | N/A | π΄ |
| Ego | ERB style templating language that transpiles to Go | 586β | 40π΄ | 2021-07-14 | v0.4.3 (2021-07-14) | π΄ |
| GoRazor | Go port of the Razor view engine | 877β | 92π΄ | 2025-09-09 | v1.2.2 (2019-11-14) | π’ |
| Hero | Fast template engine that pre-compiles to Go code | 1571β | 94π΄ | 2020-01-09 | v0.0.2 (2019-08-18) | π΄ |
| Jade | Implementation of Jade/Pug templates in Go | 360β | 35π΄ | 2023-08-09 | v1.1.3 (2022-02-06) | π΄ |
| Jet | Fast and dynamic template engine with Django-like syntax | 1360β | 116π΄ | 2025-03-23 | v6.3.1 (2025-02-24) | π’ |
| Mustache.go | Go implementation of Mustache templates | 1115β | 231π΄ | 2016-08-04 | go.r60 (2012-03-18) | π΄ |
| Pongo2 | Django-syntax templating for Go | 2990β | 279π΄ | 2023-04-11 | v6.0.0 (2022-06-24) | π΄ |
| QuickTemplate | Fast template engine inspired by Mako | 3274β | 149π΄ | 2024-07-04 | v20160617 (2016-06-10) | π΄ |
| Raymond | Go port of Handlebars.js | 642β | 118π΄ | 2025-06-19 | v2.0.2 (2018-03-22) | π’ |
| Soy | Go implementation of Google Closure Templates | 177β | 41π΄ | 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 | 176β | 62π΄ | 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 | 1061β | 270π΄ | 2025-06-22 | v2.3.34 (2024-12-08) | π’ |
| Apache Velocity | A Java based template engine | 398β | 135π΄ | 2025-07-18 | velocity-engine-parent-2.0.0 (2016-11-05) | π’ |
| Blade | A simple open source web framework that helps quickly build web applications | 5882β | 1165π΄ | 2025-02-11 | 2.1.2.RELEASE (2022-05-09) | π’ |
| Closure-Templates | A client and server-side templating system for dynamically building reusable HTML and UI elements | 669β | 194π΄ | 2025-10-17 | release-20160721 (2016-07-21) | π’ |
| Handlebars.java | A Java port of the Handlebars template engine following Mustache template | 1519β | 384π΄ | 2025-08-07 | v4.5.0 (2025-08-07) | π’ |
| HtmlFlow | A Java DSL to write typesafe HTML in a fluent style | 170β | 32π΄ | 2025-09-13 | htmlflow-4.3 (2024-01-15) | π’ |
| JinJava | Java-based template engine based on django template syntax, adapted to render jinja templates | 753β | 173π΄ | 2025-10-17 | jinjava-2.8.1 (2025-09-16) | π’ |
| JMustache | A Java implementation of Mustache specification template engine | 867β | 130π΄ | 2025-07-29 | jmustache-1.16 (2023-11-30) | π’ |
| JStachio | A Mustache compatible type-safe Java templating engine | 304β | 12π΄ | 2025-04-15 | v1.3.7 (2025-03-10) | π’ |
| JTE | Lightweight template engine for Java and Kotlin with productive and typesafe experience | 1015β | 76π΄ | 2025-10-06 | 3.2.1 (2025-04-25) | π’ |
| ManTL | A lightweight & type-safe template engine integrated with the Java compiler using Manifold | 2650β | 129π΄ | 2025-10-03 | v2025.1.27 (2025-09-15) | π’ |
| Mustache.java | A derivative template engine of mustache.js with its own parser written in Java | 1933β | 285π΄ | 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 | 1156β | 171π΄ | 2025-09-02 | 3.2.4 (2025-04-01) | π’ |
| Pug4J | A Java implementation of the Pug templating language | 69β | 14π΄ | 2025-10-17 | pug4j-2.4.0 (2025-10-10) | π’ |
| Rocker | An intuitive, tagless syntax template engine with standard Java expressions | 776β | 91π΄ | 2025-01-23 | v2.2.1 (2025-01-22) | π’ |
| Thymeleaf | A server-side Java template engine for both web and standalone environments | 2921β | 511π΄ | 2025-05-27 | thymeleaf-3.1.3.RELEASE (2024-12-09) | π’ |
| Trimou | A Mustache spec implementation with helpers inspired from Handlebars.js | 84β | 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 | 811β | 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 | 9876β | 2665π΄ | 2024-12-07 | v4.13.2 (2018-11-13) | π’ |
| Carbone | A mustache-like template engine and open source document generator | 1762β | 234π΄ | 2025-03-17 | ee-4.22.6 (2024-06-07) | π’ |
| Consolidate.js | A library that consolidates most known template engines implemented in JS | 3479β | 349π΄ | 2022-03-14 | v0.16.0 (2020-09-08) | π΄ |
| doT | A fastest JavaScript templating function with emphasis on performance under V8 and nodejs | 5044β | 1017π΄ | 2020-07-26 | v1.1.3 (2020-07-25) | π΄ |
| DustJS | An asynchronous Javascript templating engine developed by LinkedIn | 2915β | 471π΄ | 2023-07-12 | v3.0.1 (2021-12-29) | π΄ |
| ECT | Performance focused JavaScript template engine with embedded CoffeeScript syntax | 619β | 70π΄ | 2014-06-08 | v0.5.9 (2016-04-14) | π΄ |
| EJS | Embedded JavaScript templates designed to be flexible and easy-to-write | 8034β | 858π΄ | 2025-08-03 | v3.1.10 (2024-04-12) | π’ |
| Handlebars.js | A template engine extending Mustache templating with additional features | 18457β | 2054π΄ | 2025-08-19 | v4.7.8 (2023-08-01) | π’ |
| Hogan.js | A compiler for the Mustache templating language with separate scanning, parsing and code generation phases | 5137β | 431π΄ | 2021-12-13 | v3.0.2 (2014-06-17) | π΄ |
| jTDAL | Small template engine based on Zope TAL, using data attributes | 2β | 0π΄ | 2025-07-15 | v5.0.1 (2025-07-14) | π’ |
| Lodash | A utility library for working with arrays, numbers, objects, strings, and creating composite functions | 61284β | 7080π΄ | 2024-12-12 | 4.0.0 (2016-01-12) | π’ |
| Marko | HTML reimagined as a language for building dynamic and reactive user interfaces | 13751β | 656π΄ | 2025-10-17 | @marko/[email protected] (2025-10-17) | π’ |
| MJML | A markup language designed to reduce the pain of coding responsive email | 17700β | 978π΄ | 2025-10-15 | v4.16.1 (2025-09-18) | π’ |
| Nunjucks | A templating engine heavily inspired from Jinja2 with template inheritance & asynchronous control | 8799β | 647π΄ | 2025-06-18 | v3.2.4 (2023-04-19) | π’ |
| Mustache.js | A JavaScript implementation of the mustache logic-less templates | 16680β | 2379π΄ | 2023-01-21 | v4.2.0 (2021-03-28) | π΄ |
| Pug | A high-performance template engine influenced by Haml for Node.js and browsers | 21833β | 1946π΄ | 2024-05-24 | [email protected] (2024-05-24) | π΄ |
| Rivets | A lightweight data binding and template engine specializing in building data-driven views | 3229β | 307π΄ | 2016-10-22 | v0.9.6 (2016-10-22) | π΄ |
| Swig | A simple, Django/Jinja-like template engine for node.js | 3103β | 438π΄ | 2016-08-05 | v1.4.2 (2014-08-04) | π΄ |
| Twig.js | A pure JavaScript implementation of the Twig PHP templating language | 1911β | 273π΄ | 2025-07-08 | v1.17.1 (2023-11-16) | π’ |
| Velocity.js | A port of Apache velocity template engine in JavaScript using Jison library parser | 609β | 147π΄ | 2025-09-17 | v2.1.5 (2025-04-23) | π’ |
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 | 182β | 23π΄ | 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 | 922β | 207π΄ | 2023-03-23 | v2.0 (2020-02-24) | π΄ |
| Lustache | Lua implementation of Mustache template engine | 254β | 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 | 34191β | 11605π΄ | 2025-10-18 | v12.34.0 (2025-10-14) | π’ |
| Blade One | A standalone version of Laravel's Blade templating engine for use outside of Laravel | 812β | 122π΄ | 2025-09-03 | 4.19.1 (2025-09-03) | π’ |
| Dwoo | A PHP5/PHP7 template engine which follows Smarty's footsteps | 167β | 57π΄ | 2018-07-25 | 1.3.7 (2018-04-18) | π΄ |
| Fenom | A fast template engine for PHP with syntax similar to Smarty | 447β | 110π΄ | 2024-09-08 | v3.0.0 (2023-02-27) | π΄ |
| 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 | 1232β | 113π΄ | 2025-09-02 | v3.0.23 (2025-07-16) | π’ |
| Mustache.php | A Mustache implementation in PHP | 3276β | 439π΄ | 2025-06-28 | v3.0.0 (2025-06-28) | π’ |
| PHP Text Template | A simple template engine for text output in PHP applications | 7429β | 31π΄ | 2025-09-26 | 5.0.0 (2025-02-07) | π’ |
| Plates | A native PHP template system inspired by Twig | 1518β | 183π΄ | 2024-11-04 | v3.6.0 (2024-11-02) | π’ |
| RainTPL 3 | An easy template engine for PHP that loads HTML templates | 255β | 57π΄ | 2019-10-04 | v.3.beta (2012-05-03) | π΄ |
| Savant | A powerful but lightweight object-oriented template system for PHP | 18β | 15π΄ | 2014-01-07 | N/A | π΄ |
| Smarty | A template engine for PHP using variables, modifiers, functions and comments | 2337β | 715π΄ | 2025-10-17 | v5.6.0 (2025-10-03) | π’ |
| TinyButStrong | A PHP template engine enabling W3C compliant templates | 63β | 17π΄ | 2024-05-08 | v3.15.2 (2024-05-08) | π΄ |
| Twig | A flexible, fast, and secure template language for PHP inspired by Django and Jinja | 8320β | 1286π΄ | 2025-10-07 | v3.21.1 (2025-05-03) | π’ |
| Volt | An ultra-fast and designer-friendly templating engine written in C for PHP | 11β | 4π΄ | 2025-10-13 | 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 | 183β | 67π΄ | 2025-01-10 | 4.6.0 (2024-12-31) | π’ |
| Cheetah3 | A template engine for Python that allows full integration with existing Python code | 148β | 41π΄ | 2025-08-17 | 3.4.0 (2024-12-02) | π’ |
| Chevron | A fast Python implementation of Mustache template engine | 537β | 59π΄ | 2021-03-21 | 0.13.1 (2018-10-03) | π΄ |
| Genshi | A Python template engine that provides XML-based template language | 93β | 36π΄ | 2025-07-07 | 0.7.9 (2024-06-15) | π’ |
| Jinja | A fast, expressive, extensible templating engine with Python-like syntax | 11211β | 1672π΄ | 2025-06-14 | 3.1.6 (2025-03-05) | π’ |
| Jsonnet | A configuration language for app and tool developers | 7378β | 466π΄ | 2025-07-22 | v0.21.0 (2025-05-07) | π’ |
| Kajiki | A fast Python template engine with XML/HTML output inspired by Genshi | 50β | 17π΄ | 2025-05-05 | v1.0.1 (2025-05-04) | π’ |
| Mako | A template library written in Python inspired by Django, Jinja2, Cheetah, and Genshi | 414β | 64π΄ | 2025-08-16 | rel_1_3_10 (2025-04-10) | π’ |
| Pystache | A Python implementation of Mustache template engine | 1313β | 309π΄ | 2014-09-30 | v0.5.4 (2014-05-12) | π΄ |
| Unprompted | A powerful templating language for Stable Diffusion workflows | 805β | 72π΄ | 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 | 220β | 17π΄ | 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 | 3795β | 579π΄ | 2025-09-06 | v6.3.0 (2023-12-10) | π’ |
| Hamlit | A high performance implementation of Haml | 978β | 59π΄ | 2023-08-02 | v3.0.3 (2022-11-08) | π΄ |
| Jb | A simpler and faster alternative to JBuilder | 1312β | 42π΄ | 2025-09-29 | v0.8.2 (2023-11-04) | π’ |
| JBuilder | A DSL for declaring JSON structures in Ruby | 4400β | 444π΄ | 2025-08-12 | v2.14.1 (2025-08-12) | π’ |
| Liquid | A secure, non-evaluating template engine with separate compile and render steps | 11525β | 1478π΄ | 2025-10-15 | v5.8.7 (2025-06-09) | π’ |
| Mustache | A framework-agnostic way to render logic-free views in Ruby | 3069β | 272π΄ | 2022-09-17 | 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 | 1420β | 153π΄ | 2025-10-04 | v6.3.2 (2025-03-16) | π’ |
| Liquid-rust | A port of Liquid templating engine in Rust | 526β | 81π΄ | 2025-10-01 | v0.16.0 (2018-10-04) | π’ |
| Maud | An HTML template engine implemented as a Rust macro | 2460β | 165π΄ | 2025-06-03 | v0.27.0 (2025-02-02) | π’ |
| Rust-Mustache | A Rust implementation of Mustache specification | 217β | 65π΄ | 2021-06-22 | v0.9.0 (2018-02-12) | π΄ |
| SailFish | A simple template engine with EJS-like syntax and built-in filters | 924β | 60π΄ | 2025-08-14 | v0.10.0 (2025-08-14) | π’ |
| Tera | A template engine inspired by Jinja2 and Django template language | 3986β | 309π΄ | 2025-03-18 | v1.20.0 (2024-05-27) | π’ |
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 | 120β | 28π΄ | 2023-11-13 | 0.3.1 (2020-03-25) | π΄ |
| Handlebars.scala | A Scala implementation of Handlebars template engine | 111β | 38π΄ | 2016-08-26 | v0.0.4 (2013-02-06) | π΄ |
| Hepek | A Scala-based tool for generating typesafe and flexible HTML | 110β | 10π΄ | 2025-04-15 | v0.33.0 (2025-05-14) | π’ |
| ScalaTags | A small and fast XML/HTML/CSS construction library for Scala | 766β | 118π΄ | 2025-07-11 | v0.6.0 (2016-07-16) | π’ |
| Scalate | A template engine supporting multiple syntax styles including HAML, Mustache, and JSP | 606β | 103π΄ | 2025-10-09 | scalate-project-1.10.1 (2024-05-12) | π’ |
| 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 | 558β | 117π΄ | 2025-10-15 | 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 | 625β | 155π΄ | 2025-09-02 | 7.0.0 (2025-09-02) | π’ |
| Stencil | A simple template language with Django and Mustache-like syntax | 2401β | 223π΄ | 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 | 1606β | 77π΄ | 2025-09-17 | eta-v4.0.1 (2025-09-17) | π’ |
| LiquidJS | A port of Shopify Liquid template engine compatible with Github Pages | 1711β | 257π΄ | 2025-10-06 | v10.22.0 (2025-10-06) | π’ |
| Squirrelly | A modern template engine with Nunjucks-like power and EJS-like simplicity | 666β | 82π΄ | 2025-03-28 | 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: 2025-10-20