junit2html
Generate HTML reports from Junit results
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for teams needing to convert JUnit XML results to HTML. The single jinja2 dependency keeps it lightweight. Suitable for CI/CD integration and local test workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Low friction install with a single runtime dependency (jinja2).
- Actively maintained as of 64 days ago with support for current Python versions (3.8+).
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-06-11 (64 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,283,985 downloads/mo, #3,164 on PyPI
Alternatives
Verify before relying
pip install junit2html
from junit2html import junit2html
junit2html.main(['--input', 'results.xml', '--output', 'report.html'])- Whether the package handles large XML files or has performance constraints.
- What styling and layout options are available in the generated HTML reports.
- Whether it supports custom templates or report customization beyond defaults.
What it is and what it does
junit2html reads JUnit or XUnit XML test result files—the standard format produced by most test runners—and generates a standalone HTML report that displays test outcomes, pass/fail status, and execution details in a browser-viewable format. It depends only on jinja2 for templating, making it lightweight and straightforward to integrate into CI/CD pipelines or local test workflows.
The package is actively maintained, requires Python 3.8 or later, and carries an MIT license. It sits in the top 5000 PyPI packages by download volume, suggesting it is a stable, widely-used tool for teams that need human-readable test reports without setting up complex reporting infrastructure.
Use it for
- Convert test results from pytest, unittest, or other test runners into shareable HTML reports for stakeholders.
- Generate test reports in CI/CD pipelines to archive or display alongside build artifacts.
- Create a single-file HTML report for offline viewing of test outcomes without external dependencies.
- Integrate test result visualization into custom reporting dashboards or documentation.
- Quickly inspect test failures and execution times in a formatted, clickable HTML interface.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for teams needing to convert JUnit XML results to HTML. The single jinja2 dependency keeps it lightweight. Suitable for CI/CD integration and local test workflows.
Install
junit2html on PyPI
Before you install
Low friction install with a single runtime dependency (jinja2). Actively maintained as of 64 days ago with support for current Python versions (3.8+).
Requires Python 3.8 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install junit2html
from junit2html import junit2html
junit2html.main(['--input', 'results.xml', '--output', 'report.html'])
Verify before relying
- Whether the package handles large XML files or has performance constraints.
- What styling and layout options are available in the generated HTML reports.
- Whether it supports custom templates or report customization beyond defaults.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagejinja2 |
| Maintenance | Actively maintained 64 days since the last release |
| First released | |
| Downloads | 2,283,985 / month, #3,164 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: junit2html-31.1.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “junit xml to html report”
- junit2htmlConverts JUnit or XUnit XML test result files into a single-file HTML…
- pylint-junitGenerates JUnit-formatted XML reports from pylint output for…
- flake8-formatter-junit-xmlFormats flake8 linting output as JUnit XML, enabling integration with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also junitparser · secscanner2junit · unittest-xml-reporting · junit-xml-2 · xunitparser · junit-xml · flake8-junit-report · lcov-cobertura · flake8-junit-report-basic · python-subunit