# html-loader — card for AI agents

Webpack loader for processing HTML files, extracting assets and enabling HTML as module imports.

Category: Build tools and bundlers · npm package `html-loader` · latest version 5.1.0 (checked 2026-11-01)
Install: `npm install html-loader`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Warnings
- The repository is archived: no more updates.

## Numbers (AgentGid data)
- Gid Score: 45.9 (#2444 of all tools, 124 of 185 in its category)
- Used in 6 public projects set up for AI coding agents (0.1%)
- Downloads last week: 1,960,473 (as of 2026-11-24), +33.5% over 4 weeks
- GitHub stars: 1,159 (as of 2026-11-24)
- Last push: 2026-08-27

## Often used with
webpack 92.3%, webpack CLI 84.6%, html-webpack-plugin 76.9%, webpack-dev-server 76.9%, Babel Loader 69.2%, css-loader 69.2%

## Links
- AgentGid page: https://agentgid.com/tools/html-loader/
- Homepage: https://github.com/webpack-contrib/html-loader
- Repository: https://github.com/webpack-contrib/html-loader

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
