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 | Status |
---|---|---|---|---|---|
DotLiquid | A .Net port of the popular Liquid templating language written in Ruby | 1066β | 296 | 2025-01-14 | π’ |
Fluid | An open-source .NET template engine based on the Liquid template language | 1500β | 181 | 2025-02-14 | π’ |
Handlebars.Net | A port of Handlebars.js to .NET that compiles templates directly to IL bytecode | 1298β | 222 | 2024-04-03 | π’ |
MJML.Net | A fast port of MJML 4 to .NET 6 & 7 | 168β | 15 | 2025-01-09 | π’ |
RazorLight | Template engine for building templates from Files outside of ASP.NET MVC | 1551β | 259 | 2024-07-06 | π’ |
Scriban | Fast and lightweight scripting language for .NET with liquid compatibility mode | 3336β | 362 | 2024-12-18 | π’ |
Spark | View engine for ASP.NET MVC with syntax inspired by Jade/Haml | 259β | 86 | 2025-01-03 | π’ |
Stubble | Trimmed down {{mustache}} templates in .NET | 417β | 59 | 2023-07-19 | π΄ |
Summary of (4 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Inja | Template engine inspired by Jinja for modern C++ | 1729β | 210 | 2025-02-11 | π’ |
Jinja2Cpp | C++ implementation of Python Jinja2 template engine | 525β | 90 | 2024-11-22 | π’ |
mstch | Complete implementation of mustache templates in C++ | 572β | 87 | 2021-08-19 | π΄ |
Qentem | Lightweight template engine for C++/C/Java projects and WASM | 9β | 4 | 2025-01-21 | π’ |
Summary of (1 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
DocPad | Streamlined web development using CoffeeScript | 3055β | 240 | 2024-02-11 | π΄ |
Summary of (12 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Ace | HTML template engine inspired by Slim and Jade | 836β | 49 | 2018-06-17 | π΄ |
Amber | Template engine inspired from HAML and Jade | 913β | 63 | 2020-10-13 | π΄ |
Ego | ERB style templating language that transpiles to Go | 582β | 41 | 2023-03-15 | π΄ |
GoRazor | Go port of the Razor view engine | 863β | 91 | 2024-11-04 | π’ |
Hero | Fast template engine that pre-compiles to Go code | 1567β | 94 | 2020-01-09 | π΄ |
Jade | Implementation of Jade/Pug templates in Go | 356β | 36 | 2023-12-25 | π΄ |
Jet | Fast and dynamic template engine with Django-like syntax | 1288β | 110 | 2024-12-16 | π’ |
Mustache.go | Go implementation of Mustache templates | 1106β | 226 | 2024-04-28 | π’ |
Pongo2 | Django-syntax templating for Go | 2913β | 275 | 2024-08-14 | π’ |
QuickTemplate | Fast template engine inspired by Mako | 3169β | 149 | 2024-07-21 | π’ |
Raymond | Go port of Handlebars.js | 616β | 105 | 2024-08-10 | π’ |
Soy | Go implementation of Google Closure Templates | 173β | 41 | 2024-03-19 | π’ |
Summary of (1 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Jenkins Templating Engine | A plugin enabling Jenkins pipeline templating and governance, bringing Template Method Design Pattern to pipelines | 170β | 60 | 2024-02-12 | π΄ |
Summary of (17 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Apache FreeMarker | A Java template engine that can be used to generate text output based on templates | 1008β | 271 | 2025-01-14 | π’ |
Apache Velocity | A Java based template engine | 382β | 131 | 2024-11-04 | π’ |
Blade | A simple open source web framework that helps quickly build web applications | 5857β | 1173 | 2025-02-11 | π’ |
Closure-Templates | A client and server-side templating system for dynamically building reusable HTML and UI elements | 651β | 194 | 2025-02-22 | π’ |
Handlebars.java | A Java port of the Handlebars template engine following Mustache template | 1487β | 385 | 2024-09-30 | π’ |
HtmlFlow | A Java DSL to write typesafe HTML in a fluent style | 162β | 28 | 2025-01-27 | π’ |
JinJava | Java-based template engine based on django template syntax, adapted to render jinja templates | 715β | 171 | 2025-01-15 | π’ |
JMustache | A Java implementation of Mustache specification template engine | 849β | 128 | 2024-06-03 | π’ |
JStachio | A Mustache compatible type-safe Java templating engine | 280β | 10 | 2024-12-19 | π’ |
JTE | Lightweight template engine for Java and Kotlin with productive and typesafe experience | 905β | 69 | 2025-01-13 | π’ |
ManTL | A lightweight & type-safe template engine integrated with the Java compiler using Manifold | 2477β | 125 | 2025-02-13 | π’ |
Mustache.java | A derivative template engine of mustache.js with its own parser written in Java | 1909β | 285 | 2024-09-19 | π’ |
Pebble | A template engine inspired from Twig with syntax similar to Jinja featuring template inheritance | 1124β | 168 | 2025-02-04 | π’ |
Pug4J | A Java implementation of the Pug templating language | 63β | 14 | 2025-01-28 | π’ |
Rocker | An intuitive, tagless syntax template engine with standard Java expressions | 759β | 90 | 2025-01-23 | π’ |
Thymeleaf | A server-side Java template engine for both web and standalone environments | 2845β | 507 | 2024-12-16 | π’ |
Trimou | A Mustache spec implementation with helpers inspired from Handlebars.js | 81β | 17 | 2023-10-10 | π΄ |
Summary of (20 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
.Dom | A template engine replicating re-usable component and virtual DOM within 512 bytes | 808β | 45 | 2021-09-23 | π΄ |
Art-template | A fast templating engine that optimizes template rendering speed by scope pre-declared technique | 9867β | 2677 | 2024-12-07 | π’ |
Carbone | A mustache-like template engine and open source document generator | 1392β | 198 | 2025-02-19 | π’ |
Consolidate.js | A library that consolidates most known template engines implemented in JS | 3480β | 354 | 2024-12-21 | π’ |
doT | A fastest JavaScript templating function with emphasis on performance under V8 and nodejs | 5025β | 1017 | 2023-11-02 | π΄ |
DustJS | An asynchronous Javascript templating engine developed by LinkedIn | 2912β | 479 | 2023-10-24 | π΄ |
ECT | Performance focused JavaScript template engine with embedded CoffeeScript syntax | 622β | 69 | 2016-09-26 | π΄ |
EJS | Embedded JavaScript templates designed to be flexible and easy-to-write | 7852β | 846 | 2024-08-06 | π’ |
Handlebars.js | A template engine extending Mustache templating with additional features | 18132β | 2044 | 2024-09-03 | π’ |
Hogan.js | A compiler for the Mustache templating language with separate scanning, parsing and code generation phases | 5140β | 427 | 2023-04-10 | π΄ |
Lodash | A utility library for working with arrays, numbers, objects, strings, and creating composite functions | 60171β | 7057 | 2024-12-12 | π’ |
Marko | HTML reimagined as a language for building dynamic and reactive user interfaces | 13518β | 648 | 2025-02-22 | π’ |
MJML | A markup language designed to reduce the pain of coding responsive email | 17262β | 968 | 2025-02-20 | π’ |
Nunjucks | A templating engine heavily inspired from Jinja2 with template inheritance & asynchronous control | 8635β | 643 | 2024-07-08 | π’ |
Mustache.js | A JavaScript implementation of the mustache logic-less templates | 16571β | 2384 | 2024-06-14 | π’ |
Pug | A high-performance template engine influenced by Haml for Node.js and browsers | 21764β | 1953 | 2024-07-10 | π’ |
Rivets | A lightweight data binding and template engine specializing in building data-driven views | 3222β | 310 | 2020-04-06 | π΄ |
Swig | A simple, Django/Jinja-like template engine for node.js | 3109β | 440 | 2017-06-13 | π΄ |
Twig.js | A pure JavaScript implementation of the Twig PHP templating language | 1898β | 275 | 2025-02-18 | π’ |
Velocity.js | A port of Apache velocity template engine in JavaScript using Jison library parser | 606β | 143 | 2024-06-18 | π’ |
Summary of (1 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Barber | A type safe Kotlin JVM library for building up templates | 171β | 22 | 2024-04-03 | π’ |
Summary of (2 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Lua Resty Template | A compiling template engine for Lua and OpenResty | 915β | 205 | 2023-07-21 | π΄ |
Lustache | Lua implementation of Mustache template engine | 241β | 32 | 2022-08-16 | π΄ |
Summary of (15 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Blade | The simple yet powerful templating engine provided with Laravel | 33166β | 11224 | 2025-02-21 | π’ |
Blade One | A standalone version of Laravel's Blade templating engine for use outside of Laravel | 786β | 121 | 2025-02-22 | π’ |
Dwoo | A PHP5/PHP7 template engine which follows Smarty's footsteps | 166β | 58 | 2019-10-11 | π΄ |
Fenom | A fast template engine for PHP with syntax similar to Smarty | 446β | 108 | 2024-09-08 | π’ |
Laravel Blade | The official Blade templating engine integrated with Laravel framework | 0β | 0 | N/A | π΄ |
Latte | A secure template engine for PHP with protection against vulnerabilities | 1166β | 110 | 2025-01-16 | π’ |
Mustache.php | A Mustache implementation in PHP | 3245β | 426 | 2024-08-13 | π’ |
PHP Text Template | A simple template engine for text output in PHP applications | 7393β | 30 | 2025-02-07 | π’ |
Plates | A native PHP template system inspired by Twig | 1493β | 180 | 2024-11-04 | π’ |
RainTPL 3 | An easy template engine for PHP that loads HTML templates | 258β | 57 | 2022-12-26 | π΄ |
Savant | A powerful but lightweight object-oriented template system for PHP | 18β | 15 | 2016-11-30 | π΄ |
Smarty | A template engine for PHP using variables, modifiers, functions and comments | 2292β | 718 | 2025-02-13 | π’ |
TinyButStrong | A PHP template engine enabling W3C compliant templates | 61β | 18 | 2024-05-08 | π’ |
Twig | A flexible, fast, and secure template language for PHP inspired by Django and Jinja | 8255β | 1265 | 2025-02-22 | π’ |
Volt | An ultra-fast and designer-friendly templating engine written in C for PHP | 10β | 2 | 2025-02-17 | π’ |
Summary of (10 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Chameleon | An HTML/XML template engine generation library in Python | 179β | 64 | 2025-01-10 | π’ |
Cheetah3 | A template engine for Python that allows full integration with existing Python code | 145β | 37 | 2025-01-13 | π’ |
Chevron | A fast Python implementation of Mustache template engine | 516β | 55 | 2023-08-24 | π΄ |
Genshi | A Python template engine that provides XML-based template language | 90β | 36 | 2024-11-16 | π’ |
Jinja | A fast, expressive, extensible templating engine with Python-like syntax | 10608β | 1634 | 2025-01-14 | π’ |
Jsonnet | A configuration language for app and tool developers | 7118β | 447 | 2025-02-22 | π’ |
Kajiki | A fast Python template engine with XML/HTML output inspired by Genshi | 47β | 16 | 2025-02-15 | π’ |
Mako | A template library written in Python inspired by Django, Jinja2, Cheetah, and Genshi | 382β | 63 | 2025-02-04 | π’ |
Pystache | A Python implementation of Mustache template engine | 1308β | 309 | 2021-09-30 | π΄ |
Unprompted | A powerful templating language for Stable Diffusion workflows | 795β | 70 | 2024-07-29 | π’ |
Summary of (1 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Whisker | A Mustache implementation in R confirming to its specification | 212β | 19 | 2022-11-09 | π΄ |
Summary of (7 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
ERB | A built-in Ruby templating engine that allows embedding Ruby code in documents | 0β | 0 | N/A | π΄ |
Haml | A templating engine designed for elegant HTML document generation | 3771β | 575 | 2024-12-28 | π’ |
Hamlit | A high performance implementation of Haml | 981β | 59 | 2023-08-02 | π΄ |
Jb | A simpler and faster alternative to JBuilder | 1295β | 42 | 2025-01-16 | π’ |
JBuilder | A DSL for declaring JSON structures in Ruby | 4360β | 440 | 2024-09-15 | π’ |
Liquid | A secure, non-evaluating template engine with separate compile and render steps | 11247β | 1423 | 2025-02-20 | π’ |
Mustache | A framework-agnostic way to render logic-free views in Ruby | 3043β | 267 | 2024-07-09 | π’ |
Summary of (6 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Handlebars-rust | A Rust port of Handlebars template engine | 1337β | 144 | 2025-02-09 | π’ |
Liquid-rust | A port of Liquid templating engine in Rust | 492β | 79 | 2025-02-20 | π’ |
Maud | An HTML template engine implemented as a Rust macro | 2260β | 159 | 2025-02-04 | π’ |
Rust-Mustache | A Rust implementation of Mustache specification | 207β | 63 | 2023-11-26 | π΄ |
SailFish | A simple template engine with EJS-like syntax and built-in filters | 856β | 55 | 2025-02-13 | π’ |
Tera | A template engine inspired by Jinja2 and Django template language | 3701β | 300 | 2024-07-25 | π’ |
Summary of (7 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Beard | A logic-less templating engine inspired by Mustache using ANTLR for parsing | 120β | 28 | 2023-11-13 | π΄ |
Handlebars.scala | A Scala implementation of Handlebars template engine | 111β | 40 | 2023-11-20 | π΄ |
Hepek | A Scala-based tool for generating typesafe and flexible HTML | 108β | 10 | 2024-10-09 | π’ |
ScalaTags | A small and fast XML/HTML/CSS construction library for Scala | 759β | 117 | 2025-01-14 | π’ |
Scalate | A template engine supporting multiple syntax styles including HAML, Mustache, and JSP | 607β | 105 | 2025-02-15 | π’ |
Thera | A template engine for building static websites in Scala | 52β | 3 | 2020-11-26 | π΄ |
Twirl | A Scala-based template engine inspired by ASP.NET Razor | 555β | 111 | 2025-02-22 | π’ |
Summary of (2 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
GRMustache.swift | An extended implementation of Mustache templates with additional functions | 613β | 155 | 2024-10-28 | π’ |
Stencil | A simple template language with Django and Mustache-like syntax | 2358β | 225 | 2024-12-22 | π’ |
Summary of (3 template engines)
Engine | Description | Stars | Forks | Last Update | Status |
---|---|---|---|---|---|
Eta | A lightweight templating engine for Node and Deno with small bundle size | 1460β | 65 | 2024-08-26 | π’ |
LiquidJS | A port of Shopify Liquid template engine compatible with Github Pages | 1597β | 237 | 2025-02-09 | π’ |
Squirrelly | A modern template engine with Nunjucks-like power and EJS-like simplicity | 651β | 83 | 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.yaml
file. - Ensure to add in the correct language category.
Stats
- Green(π’) if the repository is active and has commit in last 12 months, red(π΄) otherwise.
- Last updated: 2025-02-23