Java Template engine

Open-source Java projects categorized as Template engine

Top 18 Java Template engine Projects

  • Blade

    :rocket: Lightning fast and elegant mvc framework for Java8

  • Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

    Project mention: Spring Boot Thymeleaf File Upload example | | 2023-08-30
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

    Project mention: A new F# compiler feature: graph-based type-checking | | 2023-11-05


    Java has what looks like SQLx on steroids with the manifold project coming down the pike.


    Logic-less and semantic Mustache templates with Java

    Project mention: Full Time | | 2023-06-16

    The blog is just hugo so it's 100% static files over nginx.

    The search engine is serverside-rendered mustache templates via handlebars[1], via served via spark[2]. It's basically all vanilla Java. I do raw SQL queries instead of ORM, which makes it quite a bit snappier than most Java applications. The sheer size of the database also mandates that basically every query is a primary key lookup. The code is written around that constraint.

    Although the search engine is a bit on the slow side since it's routed through cloudflare and I think I'm relatively far away from the closest datacenter so it adds like 100ms to the load times.



  • Pebble

    Java Template Engine (by PebbleTemplates)

  • stringtemplate4

    StringTemplate 4

  • FreeMarker

    Apache Freemarker

    Project mention: Using FreeMarker template engine in Sitecore Personalize | | 2023-08-28

    FreeMarker is a template engine, it allows to generate text output based on templates and dynamic data. It is similar to Mustache, Handlebars, Thymeleaf and other template engines. Templates are written in the FreeMarker Template Language (FTL) that supports conditional blocks, iterations, formatting, and many other capabilities.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • j2html

    Java to HTML generator. Enjoy typesafe HTML generation.

  • Rocker

    Java 8 optimized, memory efficient, speedy template engine producing statically typed, plain java objects (by fizzed)

  • oh-my-email

    📪 可能是最小的 Java 邮件发送库了,支持抄送、附件、模板等功能。

  • jte

    Secure and speedy templates for Java and Kotlin.

    Project mention: Announcing jte 3 - The Java Template Engine | /r/java | 2023-06-21

    Thanks for the hints! I created an issue for this:

  • Apache Velocity

    Mirror of Apache Velocity Engine

  • Kilo

    Lightweight REST for Java (by HTTP-RPC)

  • microconfig

    Modern tool for microservice configuration management

  • jstachio

    Java type safe statically compiled mustache

    Project mention: Full stack web development in a single Java file: An intro to Javalin and htmx | /r/java | 2023-07-12

    Anyway it was one of the reasons we (my company) went with Mustache and why I wrote JStachio.

  • jamal

    Jamal is document maintenance automation

  • Josson & Jossons

    A complete query and transformation language for JSON and a template engine to generate text output.

  • JsonBatch

    An Engine to run batch request with JSON based REST APIs

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-05.

Java Template engine related posts


What are some of the best open-source Template engine projects in Java? This list will help you:

Project Stars
1 Blade 5,817
2 Thymeleaf 2,650
3 manifold 2,044
4 1,406
5 Pebble 1,038
6 stringtemplate4 901
7 FreeMarker 898
8 j2html 726
9 Rocker 702
10 oh-my-email 695
11 jte 622
12 Apache Velocity 341
13 Kilo 321
14 microconfig 289
15 jstachio 156
16 jamal 51
17 Josson & Jossons 27
18 JsonBatch 11
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives