Thymeleaf

30 July 2023: Thymeleaf 3.1.2.RELEASE has been published.
See what's new in Thymeleaf 3.1 and how to migrate.

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

Thymeleaf's main goal is to bring elegant natural templates to your development workflow — HTML that can be correctly displayed in browsers and also work as static prototypes, allowing for stronger collaboration in development teams.

With modules for Spring Framework, a host of integrations with your favourite tools, and the ability to plug in your own functionality, Thymeleaf is ideal for modern-day HTML5 JVM web development — although there is much more it can do.

Natural templates

HTML templates written in Thymeleaf still look and work like HTML, letting the actual templates that are run in your application keep working as useful design artifacts.

Integrations galore

Eclipse, IntelliJ IDEA, Spring, Play, even the up-and-coming Model-View-Controller API for Java EE 8. Write Thymeleaf in your favourite tools, using your favourite web-development framework.

Check out our Ecosystem to see more integrations, including community-written plugins to speed-up your development with Thymeleaf.

Let's go!

Looking to get started? Check out our Download section for getting Thymeleaf, then go to our Docs pages for several tutorials to slowly ease you into using Thymeleaf.

Found a bug, or itching to contribute? Then find the GitHub repo for it on our issue tracking page.

Who's using Thymeleaf?

Lots of people are :) But here are a few who have been kind enough to provide us with testimonials on how they came to Thymeleaf and the ways they are using it. Click through to read what they have to say.