# thymeleaf/thymeleaf

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

Repository: https://github.com/thymeleaf/thymeleaf
Canonical: https://ross.abutalabs.com/products/thymeleaf
Homepage: http://www.thymeleaf.org
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, template-engine, server-side-rendering, thymeleaf, thymeleaf-template-engine, html, xml, javascript
Last push: 2026-06-22T22:09:16+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 48, longevity 100
- inputs: {"age_days": 5218, "days_push": 72, "days_rel": 134, "gap_med": 248.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2977, forks 515 (observed 2026-08-28T04:07:33.023347+00:00)

## What it is
Thymeleaf is a modern server-side Java template engine for web and standalone environments, built around natural templates that remain valid HTML usable as static prototypes. It integrates deeply with Spring and other JVM frameworks and supports custom dialects and processors.

## Use cases
- render server-side html pages in a spring boot app
- replace jsp and jstl templates in a java web application
- create html templates that work as static browser prototypes
- generate html or xml emails and documents from templates in java
- process templates in a standalone non-web java application

## When to choose
- you are building a server-rendered JVM web app, especially with Spring or Spring Boot
- you want templates that are valid HTML and viewable in browsers without a server
- you need a mature, production-ready, well-documented template engine for Java

## When to avoid
- you are building a single-page app with a client-side framework and only need an API backend
- you need client-side rendering or a JavaScript template engine
- you require commercial vendor support

## Facets
- artifact type: library
- maturity: stable
- function: templating, ssr, web-framework
- domain: web-development, backend, frontend
- platform: jvm
- tags: template-engine, html, xml, spring-integration, natural-templates, server-side-rendering, web-server

## Member repositories
- thymeleaf/thymeleaf (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:33.023347+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:31:34.142961+00:00, confidence not recorded.
  - readme: https://github.com/thymeleaf/thymeleaf (fetched 2026-08-28T04:07:33.023347+00:00, sha 3042b94a1add)
  - homepage: http://www.thymeleaf.org (fetched 2026-08-29T09:46:44.486155+00:00, sha 5bd19c4bc0ac)
  - site_page: https://www.thymeleaf.org/documentation.html (fetched 2026-08-29T09:46:44.488602+00:00, sha f349dc8d0e27)
  - site_page: https://www.thymeleaf.org/faq.html (fetched 2026-08-29T09:46:44.490414+00:00, sha 2a1e995fd4c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
