# BlazeHtml

> Fast HTML combinator library that embeds HTML templates in Haskell code

Source: https://talira.ai/catalog/blazehtml-z809xyj0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / templating](https://talira.ai/categories/libraries/templating), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^2][^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Jasper Van der Jeugt](https://talira.ai/orgs/jasper-van-der-jeugt.md)

BlazeHtml (the blaze-html package) generates HTML from Haskell: templates are written as a lightweight DSL embedded in Haskell code, so they compose like ordinary functions and are checked by the compiler. It aims to be the fastest way to produce HTML in Haskell, supports HTML 4 Strict and HTML 5 with efficient Unicode handling, includes a tool that turns an HTML file into BlazeHtml code, and works with every Haskell web framework.

## Links

- Website: https://jaspervdj.be/blaze/
- GitHub: https://github.com/jaspervdj/blaze-html
- Docs: https://jaspervdj.be/blaze/tutorial.html

## Problems it solves

- generate HTML from Haskell code with compile-time checking
- write HTML templates for a Haskell web app without a separate template language
- render HTML fast in a Haskell web server

## Features

- HTML templates as a DSL embedded in Haskell
- HTML 4 Strict and HTML 5 combinators
- efficient Unicode support
- a tool that converts an HTML file into BlazeHtml code
- works with any Haskell web framework

## Limitations

- Its makers call the API stable but the implementation still experimental.[^1]

## Trust

Overall: 0.38 out of 1.
Signals: maintenance 0.46, adoption 0.48, momentum 0.11, community 0.65, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- 252 GitHub stars
- 41 contributors
- backed by Jasper Van der Jeugt

## Sources

[^1]: https://jaspervdj.be/blaze/ (checked 28 Nov 2026)
[^2]: https://github.com/jaspervdj/blaze-html/blob/master/LICENSE (checked 28 Nov 2026)
[^3]: https://github.com/jaspervdj/blaze-html/blob/master/blaze-html.cabal (checked 28 Nov 2026)
