casid/jte

Secure and speedy templates for Java and Kotlin.

Java

1,147

1,247 commits

updated Oct 13, 2026

See the code

README

jte: Java Template Engine

jtejte (Java Template Engine) is a secure and lightweight template engine for Java and Kotlin. jte is designed to introduce as few new keywords as possible and builds upon existing language features, making it straightforward to reason about what a template does. The IntelliJ plugin offers full completion and refactoring support for Java parts and jte keywords.

Build Status Coverage Status License Maven Central

🚀 jte 3 is here! Check out the release notes for exciting new features, improved performance, and streamlined dependencies.

Features

  • Intuitive and easy syntax, you'll rarely need to check the documentation
  • Write plain Java or Kotlin for expressions. You don't need to learn yet another expression language
  • Context-sensitive HTML escaping at compile time
  • IntelliJ plugin with completion and refactoring support
  • Hot reloading of templates during development
  • Blazing fast execution (see benchmarks)

tl;dr

jte gives you the same productive, typesafe experience you're used to from writing Java or Kotlin. Here is a quick demo of the IntelliJ jte plugin:

jte plugin in IntelliJ

Documentation

Documentation lives in the jte website.

Framework integration

Websites rendered with jte

html
intellij
java
kotlin
server-side-rendering
template-engine

casid/jte

Secure and speedy templates for Java and Kotlin.

Java

1,147

1,247 commits

updated Oct 13, 2026

See the code

README

jte: Java Template Engine

jtejte (Java Template Engine) is a secure and lightweight template engine for Java and Kotlin. jte is designed to introduce as few new keywords as possible and builds upon existing language features, making it straightforward to reason about what a template does. The IntelliJ plugin offers full completion and refactoring support for Java parts and jte keywords.

Build Status Coverage Status License Maven Central

🚀 jte 3 is here! Check out the release notes for exciting new features, improved performance, and streamlined dependencies.

Features

  • Intuitive and easy syntax, you'll rarely need to check the documentation
  • Write plain Java or Kotlin for expressions. You don't need to learn yet another expression language
  • Context-sensitive HTML escaping at compile time
  • IntelliJ plugin with completion and refactoring support
  • Hot reloading of templates during development
  • Blazing fast execution (see benchmarks)

tl;dr

jte gives you the same productive, typesafe experience you're used to from writing Java or Kotlin. Here is a quick demo of the IntelliJ jte plugin:

jte plugin in IntelliJ

Documentation

Documentation lives in the jte website.

Framework integration

Websites rendered with jte

html
intellij
java
kotlin
server-side-rendering
template-engine

Project health

Overall

5.6/10

Maintained

10/10

Code review

3/10
OpenSSF Scorecard

Latest release

3.2.4 · Apr 29, 2026

Releases this year

3

Significant stargazers

Michael Dowling

934 followers · starred Sep 2020

Adam

42 followers · starred May 2022

Andreas Røsdal

8 followers · starred Mar 2026

Daiki Nishikawa

97 followers · starred Nov 2025