Thymeleaf 3.1.3.RELEASE is the latest version. It requires Java SE 8 or newer.
- Release date: 9 December 2024
- See what's new in Thymeleaf 3.1 and how to migrate.
Maven/Gradle
The easiest way to include Thymeleaf in your project is to use a build system like Maven or Gradle and make use of the Thymeleaf artifacts living in the Central Repository. All you need to do is add the Thymeleaf dependencies you need to your project:
Module | Group ID | Artifact ID |
---|---|---|
Core library | org.thymeleaf |
thymeleaf |
Spring 5 integration | org.thymeleaf |
thymeleaf-spring5 |
Spring 6 integration | org.thymeleaf |
thymeleaf-spring6 |
Spring Security 5 integration | org.thymeleaf.extras |
thymeleaf-extras-springsecurity5 |
Spring Security 6 integration | org.thymeleaf.extras |
thymeleaf-extras-springsecurity6 |
Testing library | org.thymeleaf.testing |
thymeleaf-testing |
Testing library - Spring 5 integration | org.thymeleaf.testing |
thymeleaf-testing-spring5 |
Testing library - Spring 6 integration | org.thymeleaf.testing |
thymeleaf-testing-spring6 |
An example:
Distribution packages
In case you don't use a build tool such as Maven or Gradle, we also offer a complete distribution package containing binaries, source, javadoc and dependencies in the form of a convenient .zip file, which you can download from our GitHub's releases distribution.
Sources
Thymeleaf's source code is available on GitHub at https://github.com/thymeleaf/thymeleaf
Artwork
If you need to use the Thymeleaf logo, you can just copy the one below, or have a look here and find several versions of it along with instructions on how to use it.
The Thymeleaf Artwork by The Thymeleaf Project is licensed under the Creative Commons CC BY-SA 3.0 License. Note that this license only applies to the Thymeleaf artwork, and specifically does not apply to software published by the Thymeleaf project nor to the names, logos or other artwork of companies or projects using Thymeleaf, even if displayed on this website.