# ansi2html — card for AI agents

Convert ANSI color codes to HTML or LaTeX for terminal output display.

Category: Utilities · PyPI package `ansi2html` · latest version 1.9.5 (checked 2026-11-01)
Install: `pip install ansi2html`
License: LGPL-3.0-or-later (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 30.7 (#4001 of all tools, 395 of 408 in its category)
- Downloads last week: 409,648 (as of 2026-11-24), +8.7% over 4 weeks
- GitHub stars: 426 (as of 2026-11-24)
- Last push: 2026-11-02

## Often used with
charset-normalizer 100.0%, Click 100.0%, itsdangerous 100.0%, Jinja2 100.0%, MarkupSafe 100.0%, packaging 100.0%

## Links
- AgentGid page: https://agentgid.com/tools/ansi2html/
- Homepage: https://github.com/pycontribs/ansi2html
- Repository: https://github.com/pycontribs/ansi2html

---
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.
