Download / Maven

Apache FreeMarker is a template engine: a Java library to generate text output (HTML web pages, e-mails, configuration files, source code, etc.) based on templates and changing data.

Dependencies: FreeMarker has no required dependencies, except Java (Standard Edition) itself, with the minimum version indicated for each download below.

Backward compatibility: Before 2.3.0 (2004), releases with different second version numbers (like 2.2.x and 2.3.x) aren't fully compatible. The 2.3.x series is quite conservative about backward compatibility; you should be able to replace the FreeMarker binary (freemarker.jar) under your application with a newer one without breaking anything (obviously, assuming that only public FreeMarker API-s were used).

Change log (version history): See in the Manual...

Verifying downloads: When downloading from a mirror please check the checksum and verify the OpenPGP compatible signature specified next to the download link (MD5, SHA256 and ASC files, all must come from the domain). The public keys used for signing are here: KEYS (also must come from More about how to verify releases... Note that such verification is only possible since 2.3.24.

Latest stable release: 2.3.33

Released on 2024-06-01. Requires Java 8 or higher.

See what's new...

Download the latest FreeMarker™ version here:

For Maven:


Until about 2007 the Maven group name was "freemarker" instead of "org.freemarker", which breaks version conflict resolution. If you run into a dependency that still pulls in a such old FreeMarker version, you need to exclude it in its dependency element: <exclusions><exclusion><groupId>freemarker<!-- Legacy org-less group --></groupId><artifactId>freemarker</artifactId> </exclusion></exclusions> into it.

There's also a separate Google App Engine compatible ("gae") variation. Download: FreeMarker™ GAE binary [SHA512] [ASC], FreeMarker™ GAE source [SHA512] [ASC]. Maven:


Old versions

Old 2.x versions starting from 2.3.24 RC01 (and higher) are available from the Apache archive:

Even older versions, which weren't yet coming from Apache: