Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

JMTE: Java Minimal Template Language

Build Status

The Java project Minimal Template Engine is meant to fill the gap between simple string formatting with basic Java classes like String.format and complex template solutions like Velocity or StringTemplate.

It is complete but minimal in a sense that you can express everything you need in a template language including 'if' and 'foreach', but nothing else. Because of this it is small, easy to learn and clearly focused. It does not try to solve what Java can do better anyway.

It supports separation of model and view, runs without external dependencies, can be extended and configured in many ways and runs in almost all environments including Google App Engine.

Caution: JMTE is is in low maintenance mode: critical bugs will be fixed, but do not expect new features

Include using Maven



This project has been moved from, and there is some documentation still in their wiki pages: On github there just is basic documentation here. For more details see the tests that cover all variations of the scripting language and extensions to the engine:

Where is JMTE used