htmx

htmx

HTML extension that adds AJAX requests, CSS transitions, WebSockets and Server-Sent Events directly through markup attributes, letting server-rendered pages swap and update DOM fragments without writing JavaScript or a client-side framework, with a small dependency-free runtime usable from a script tag.

htmx at htmx.org is a free 0BSD HTML extension, npm htmx.org 2.0.11, attributes drive AJAX requests CSS transitions WebSockets and SSE from markup, server-rendered pages swap DOM fragments without a JS framework, small dependency-free script-tag runtime, server keeps state and rendering, 0BSD no attribution requirement, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is htmx free?

htmx: htmx is free open-source software under the Zero-Clause BSD (0BSD) license; the htmx.org package latest 2.0.11 on npm describes itself as high power tools for html. It extends HTML with attributes that issue AJAX requests on events, swap returned server markup into chosen DOM regions, apply CSS transitions between swaps, and open WebSocket or Server-Sent Event connections straight from markup. Authors keep page state and rendering on the server and update fragments rather than shipping a client-side SPA framework, and the small dependency-free runtime can be included with a script tag. 0BSD permits reuse with no attribution requirement; there is no paid commercial edition or per-seat license sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is htmx free?

It depends on the licence. htmx is released under the Zero-Clause BSD (0BSD) license.

How much does htmx cost?

htmx is free open-source software under the Zero-Clause BSD (0BSD) license; the htmx.org package latest 2.0.11 on npm describes itself as high power tools for html. It extends HTML with attributes that issue AJAX requests on events, swap returned server markup into chosen DOM regions, apply CSS transitions between swaps, and open WebSocket or Server-Sent Event connections straight from markup. Authors keep page state and rendering on the server and update fragments rather than shipping a client-side SPA framework, and the small dependency-free runtime can be included with a script tag. 0BSD permits reuse with no attribution requirement; there is no paid commercial edition or per-seat license sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check htmx's current pricing?

On htmx's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is htmx?

An attribute declares a trigger event and a request target, the server returns markup for a fragment, a swap directive replaces the chosen DOM region, and transitions or socket connections are wired in markup instead of client-side JavaScript; the runtime loads as a small standalone script.

How does pricing work?

The runtime installs free under 0BSD with no seat license and no attribution obligation; it can be loaded from npm or a CDN, and commercial support would be arranged outside the open-source project.

How does htmx compare with other tools in Dev Workflow & Productivity?

htmx is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
htmxOpen sourcehtmx is free open-source software under the Zero-Clause BSD (0BSD) license; the htmx.org package latest 2.0.11 on npm describes itself as high power tools for html. It extends HTML with attributes that issue AJAX requests on events, swap returned server markup into chosen DOM regions, apply CSS transitions between swaps, and open WebSocket or Server-Sent Event connections straight from markup. Authors keep page state and rendering on the server and update fragments rather than shipping a client-side SPA framework, and the small dependency-free runtime can be included with a script tag. 0BSD permits reuse with no attribution requirement; there is no paid commercial edition or per-seat license sold by the project (data as of Nov 22, 2026).Nov 22, 2026
Alpine.jsOpen sourceAlpine.js is free open-source software released under the MIT License; the alpinejs package latest 3.17.5 on npm is published without an explicit Node engine field. It provides a small set of declarative directives written directly in HTML attributes: a data attribute declares a component state object, show and bind directives react to that state, event listeners attach actions, and templates and refs expose elements to expressions. There is no required bundler or compilation step; the script can be included on a page and used alongside server-rendered markup, which keeps it close to jQuery-style progressive enhancement while adding reactive two-way bindings. The library focuses on small interactive widgets and page-level behavior rather than a full single-page application framework. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
AstroOpen sourceAstro is free open-source software released under the MIT License; the astro package latest 7.4.13 on npm requires Node 22.23.4 or above, npm 9.6.5 or above and pnpm 7.1.0 or above where that package manager is used. It is a content-first framework organized around an islands architecture: pages render to HTML on the server or at build time, static markup ships without JavaScript by default, and only isolated interactive components hydrate on the client. A project can mix components from React, Vue, Svelte and other frameworks in the same codebase, content collections and MDX organize markdown and structured content, and deployment adapters output to static hosts, Node servers or edge targets. Astro targets marketing sites, blogs and content-heavy pages where fast raw HTML and low client JavaScript are priorities. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

htmx: htmx is released under the Zero-Clause BSD (0BSD) license. Check the official site for any hosted plan.

Open source does not always mean every hosted version is free.

Key pricing: htmx is free open-source software under the Zero-Clause BSD (0BSD) license; the htmx.org package latest 2.0.11 on npm describes itself as high power tools for html. It extends HTML with attributes that issue AJAX requests on events, swap returned server markup into chosen DOM regions, apply CSS transitions between swaps, and open WebSocket or Server-Sent Event connections straight from markup. Authors keep page state and rendering on the server and update fragments rather than shipping a client-side SPA framework, and the small dependency-free runtime can be included with a script tag. 0BSD permits reuse with no attribution requirement; there is no paid commercial edition or per-seat license sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitehtmx.org
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates