Do you want to know Who is using Thymeleaf? have a look if you want to learn about cool people using the coolest template engine!
And if your company or public project uses Thymeleaf and would like to be listed there, just drop us a line!

11 August 2014: Thymeleaf 2.0.21 has been released. This is a bufixing release that works as a drop-in replacement for previous 2.0.x versions. Have a look at the release notes at the thymeleaf forums for more info.

13 May 2014: Thymeleaf 2.1.3 has been released. This is a bufixing release that works as a drop-in replacement for previous 2.1.x versions. Note that new versions of the thymeleaf-testing and thymeleaf-extras-conditionalcomments libraries have also been released. Have a look at the release notes at the thymeleaf forums for more info.

What is Thymeleaf?

Thymeleaf is a Java library. It is an XML / XHTML / HTML5 template engine (extensible to other formats) that can work both in web and non-web environments. It is better suited for serving XHTML/HTML5 at the view layer of web applications, but it can process any XML file even in offline environments.

It provides an optional module for integration with Spring MVC, so that you can use it as a complete substitute of JSP in your applications made with this technology, even with HTML5.

The main goal of Thymeleaf is to provide an elegant and well-formed way of creating templates. Its Standard and SpringStandard dialects allow you to create powerful natural templates, that can be correctly displayed by browsers and therefore work also as static prototypes. You can also extend Thymeleaf by developing your own dialects.

For more detail, have a look at the complete list of features.

What does it look like?

It looks like this:

A quick look at this piece of code reveals internationalization expressions (#{...}), variable/model-attribute evaluation expressions (${...}) and even utility functions (#numbers.formatDecimal(...)). It also shows that this fragment of (X)HTML code can be perfectly displayed by a browser as a prototype, without being executed at all —something called a natural template.

But there's so much more: full (optional) Spring MVC integration - including form binding, property editors and validation messages -, XML validation artifacts, text/javascript inlining and an intelligent template cache system.

Again, for more detail have a look at the complete list of features.

How is it distributed?

Thymeleaf is Open Source Software, and it is distributed under the terms of the Apache License 2.0.

Where can I start learning about it?

You should start by reading the tutorials at the documentation page.

How can I keep updated about Thymeleaf?

One of the best ways to do it is to follow us on twitter, but you can also subscribe to our News and Announcements Forum.

Who is using this thing?

Have a look at our 'Who is using Thymeleaf?' page for some download figures and interesting user experiences.

Project Status

Thymeleaf is production-ready. Current stable version is 2.1.3.RELEASE.

Have a question?

Post it at our User Forum.