Chameleon
Chameleon: A self-hosted Python library for reusable, localized HTML and XML templates. Ranked #20 of 65 in Template Engine Software by our editors (7.6/10); pricing: Free plan; best for python teams building localized HTML or XML templates.
At a glance
- Editor score7.6 / 10
- PricingFree plan
- Best forPython teams building localized HTML or XML templates
- Free planYes
- Paid fromFree
- Rendering modeServer
- Facts checked23 Oct 2026
Where it wins
- TAL handles dynamic content, conditions, repetition and attribute changes.
- METAL macros and slots support reusable template structures.
- I18N markup, gettext strings and default escaping support safer localization.
Where it doesn't
- Designed for Python applications rather than a general-purpose template stack.
- Requires self-hosting; it is a library, not a hosted service.
- Support is through documentation and the community.
Our verdict on Chameleon
Chameleon is a standalone template engine for Python applications that generate HTML or XML. Its Page Templates language uses TAL statements for dynamic content, conditions, repetition, attribute changes and error handling. Python expressions are the default expression language, and templates compile to Python bytecode. The library can run independently of a Zope environment, making it relevant to Python teams that want structured templates without adopting a hosted service. It is available under a BSD-like license and runs on Linux, macOS and Windows; those platform details describe Python compatibility, not separate desktop applications.
Its strongest fit is template structure and localization. METAL macros and slots let teams define reusable structures, while I18N markup supports translation-string generation with gettext. Inserted text is escaped by default, with explicit structure insertion available when needed. Together, these features suit projects that need localized HTML or XML and want the template language to make reuse and output handling explicit. The server-side rendering model and Python expressions keep the engine closely aligned with Python applications rather than frontend-only workflows.
Chameleon is an open-source library with a free plan, so there are no paid tiers to compare in the published offering. It can load templates from strings or files through its library API, and integrations include Pyramid, Zope 2 / Plone, Zope Toolkit, Grok and Django. Deployment is self-hosted, with documentation and community support channels. Choose it when Python compatibility, reusable macros and translation support are central requirements. Teams seeking a hosted template service, or a template engine outside Python application work, should consider alternatives.
Your product? Our editors can test Chameleon in depth and publish a review, labelled as paid · from $149/mo →
Chameleon pricing
Chameleon fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Rendering mode | Server |
| Syntax model | Logic-based |
| Template inheritance | Yes |
| Automatic escaping | Yes |
| Sandbox mode | Not verified |
| Async rendering | Not verified |
| License model | Open-source |
| Deployment | Self-hosted |
| Platforms | Linux, macOS, Windows |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 5 integrations: Pyramid, Zope 2 / Plone, Zope Toolkit, Grok, Django |
| Pricing | Free plan |
| Website | chameleon.readthedocs.io |
| Facts checked | 23 Oct 2026 |
Chameleon integrations
Chameleon lists 5 integrations on its own site.
- Pyramid
- Zope 2 / Plone
- Zope Toolkit
- Grok
- Django
Alternatives to Chameleon
- JinjaJinja gives Python applications inheritance, configurable rendering, and compilation in an open-source engine.9.4
- TwigA free, open-source PHP engine for compiled templates, inheritance, escaping, and sandboxing.9.3
- Handlebars.jsA free, open-source template engine for JavaScript projects that need reusable HTML.9.2
See all Chameleon alternatives →
Used Chameleon? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Chameleon for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Chameleon is listed in our Template Engine Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/chameleon-template-engine/"><img src="https://www.itechguides.com/best/badge/chameleon-template-engine.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update