Hacker ApprovedDepartments

The best template engines, according to hackers

6 template engines were recommended on Hacker News between November 2025 and November 2026. We rank them by how many separate people recommend each one, and 1 earns the Hacker Approved badge.

Top pick

The most recommended template engine with the badge. Each figure is one person. RecommendsCriticizes One comment

  1. Jinja

    14 recommend, 7 criticize, 67% approval

    Ranked 1 of 6 by recommenders

    Better developer experience and debuggability

    Python template engine that separates HTML from code, paired with Django or Flask. Critics note sandboxing is hard to add later and dislike the syntax.

All 6 template engines, ranked

Select a column heading to sort. Approval share is recommenders out of everyone who gave an opinion; the tick on each bar marks the 2 to 1 line the badge needs. Months counts the months, out of 13, in which someone recommended it.

Template engines ranked by the number of people who recommend them
Rank
1Jinja14767%7—Approved
2Templ9375%4——
3ASP.NET Razor8189%5——
Tied 4Pug template engine5271%4——
Tied 4Gsxui50100%2——
Tied 4Liquid templating language5271%2——

How we rank

Rank is the number of separate people who recommend a product in a Hacker News comment over the past year. Someone who praises the same template engine in five threads counts once.

The badge goes to template engines that at least 10 people recommend, with recommenders outnumbering critics at least 2 to 1, recommended in at least 4 of the 13 months.

Rankings are never for sale. We may earn a commission when you buy through our links. It never changes the order.