A powerful Java Template Engine, great for building HTML or XML docs. Chunk can handle many other needs and situations as well. In-tag filters & default values, multiple snippets per file, layered themes, macros, conditional includes, localization & more.


  • GAE and Android support
  • Self-contained: one small jar provides most common functionality.
  • Nestable loops and conditionals (if-elseIf-else).
  • Macros, Includes and Conditional Includes.
  • Curly-brace {$tags} pop nicely in docs already full of <AngleBrackets>.
  • Natural templates - can still validate as xml/xhtml.
  • Flexible null-handling; template designer may specify default tag values.
  • Built-in library of powerful in-tag filters a la {$tag|trim}, including regex, sprintf.
  • Localization framework.
  • Easy MVC: Glue a model to a template view with a single line of code.
  • Support for theme layers.
  • Define multiple snippets per template file.
  • Highly optimized codebase.
  • Hooks for extending; define your own tag filters.
  • Eclipse Template Editor plugin available with syntax highlighting & more.

Project Activity

See All Activity >

Follow Chunk, an HTML Template Engine for Java

Chunk, an HTML Template Engine for Java Web Site

Other Useful Business Software

Find out what (or who) is slowing down your network Find out what (or who) is slowing down your network Icon
Find out what (or who) is slowing down your network Icon

Get comprehensive network bandwidth analysis and performance monitoring with SolarWinds® Bandwidth Analyzer Pack.

Network slow, but you don't know the cause? Use Bandwidth Analyzer Pack (BAP) to monitor and analyze network bandwidth performance and traffic patterns. With BAP, you can identify which users, applications, and protocols are consuming the most bandwidth. You can also monitor Wireless LAN Controller traffic to see what applications and clients are using your wireless network. Try it free for 30 days!

Rate This Project

Login To Rate This Project

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Easy to get started with but the killer is having to implement the DataCapsule class in order to loop through a list of Objects on a page. I want to be able to use my classes as-is, not have to revamp them just to support exporting to CSV. Unfortunately, this is a deal-breaker and I'm having to switch over to Velocity as a result.

  • Way cleaner than jsp. Can set up simple templates or try out some of the advanced features. Tag filters make presentation easy. The other reviewer is mistaken, since 2.1 you no longer need to box objects in DataCapsule class. Any non-private POJO or Bean object attribute is exposed to the template even within loops.

Read more reviews >

Additional Project Details

Intended Audience


User Interface


Programming Language