# Templ

Build HTML in Go.

Source: [Console review](<https://console.dev/tools/templ>)

Website: [https://templ.guide/](<https://templ.guide/>)

Profile updated: 2026-10-16

Category: [Frontend frameworks](<https://console.dev/tools/categories/developer-tools-frontend-framework>)

## Supported tech stack

Research checked: 2026-10-11

### Integrates with

- Docker (Integration)
- Go (Language)
- HTML (Language)

Source: [Research source](<https://templ.guide/>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

Go HTML component compiler produces Go code and supports Docker deployment.

## Console’s review — 2024-12-05

Reviewed: 2024-12-05

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/templ#review_bdf59d5a441ad333646bd8655551ecaef60a9f850014922fa9f5a93c69931638>)

### What we like

Create HTML components rendered in Go with all the power of loops, conditionals, etc. Server-side rendering so the browser only receives HTML. Go is fast. Doesn’t require JS, but can easily be combined with something like htmx for interactivity. Includes injection attack mitigation by default. Use the IDE integration to get proper highlighting, formatting, etc.

### Tradeoffs

Unsure whether it’s a good thing to be embedding HTML inside Go. It requires a generate step which codegens the Go that actually renders the HTML.

This review reflects Console’s assessment at publication on 2024-12-05. Features and limitations may have changed since the review date.

## Is Templ a fit?

Based on [Console’s review published on 2024-12-05](<https://console.dev/tools/templ#review_bdf59d5a441ad333646bd8655551ecaef60a9f850014922fa9f5a93c69931638>).

Summary updated: 2026-10-16

### Who it’s for

Developers using Go for server-side rendering

### Why consider it

Enables server-side rendering of HTML components with the power of loops and conditionals

### Keep in mind

Requires a generate step which codegens the Go that actually renders the HTML

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
