---
id: pylint-json2html
version: "0.5.0"
license: MPL-2.0
license_treatment: copyleft
maintenance: dormant
---
# pylint-json2html — Pylint JSON report to HTML
License: copyleft · Maintenance: dormant · Downloads: 221.0K/mo
## What it is and what it does
pylint-json2html is a command-line tool and optional pylint plugin that transforms pylint's JSON output into readable HTML reports. Pylint removed its native HTML output format in version 1.7, so this tool fills that gap by accepting JSON reports (either the standard format or an extended format with metrics) and rendering them as HTML documents using Jinja2 templates.
The tool works in a pipeline: you run pylint with JSON output, pipe or save that JSON, then pass it to pylint-json2html to generate an HTML file. It supports custom templates for report styling, output encoding control, and both basic and extended pylint JSON formats. The extended format requires loading pylint-json2html as a pylint plugin to unlock additional metrics like code scores and dependency analysis.
Use it for:
- Generate shareable HTML code-quality reports from pylint JSON output for team review and CI/CD pipelines
- Create custom-styled HTML reports by providing your own Jinja2 template to match your organization's branding
- Convert extended pylint reports with metrics and scores to HTML when using the jsonextended format
- Integrate pylint quality checks into documentation or dashboards by converting JSON reports to HTML
- Handle encoding-specific output requirements when generating reports in non-default locales
## Worth the install?
AI-flagged interpretation of the facts above — verify before relying.
Converts pylint JSON reports into formatted HTML documents, optionally using custom Jinja2 templates and supporting both standard and extended pylint JSON formats.
Yes, if you need HTML reports from pylint. The package is stable, has low install friction, and no known vulnerabilities. However, maintenance is dormant (last update 2023-11-11), so verify compatibility with your current pylint and Python versions before relying on it in production. The MPL-2.0 copyleft license is permissive for internal use but requires disclosure if you modify and redistribute.
## Install
pip install pylint-json2html
uv add pylint-json2html
poetry add pylint-json2html
## Installing pylint-json2html
Before you install: Low install friction with only two runtime dependencies (pylint and Jinja2). Maintenance is dormant—last commit was 2023-11-11—but the repository remains unarchived, suggesting the package is stable rather than abandoned.
License in practice: Licensed under MPL-2.0 (copyleft). You must disclose source code modifications and distribute under the same license if you modify and redistribute the package; proprietary use of unmodified binaries is permitted.
Quickstart:
pip install pylint-json2html
# Generate pylint JSON report and convert to HTML
pylint your_package --output-format=json | pylint-json2html -o report.html
# Or convert an existing JSON file
pylint-json2html -o report.html pylint.json
Verify before relying:
- Whether the package works correctly with pylint versions released after 2023-11-11
- Current compatibility with Python 3.12 or later (classifiers list only up to 3.11)
## Package facts
- License: MPL-2.0 (copyleft)
- Python support: unspecified
- Install friction: low
- Maintenance: dormant
- Downloads: 221.0K/month (top 15,000 on PyPI)
- Known vulnerabilities: none known
## Tags
pylint json to html, pylint report html conversion, pylint html output, code quality report html, pylint report generator, json report formatter, pylint visualization, code-quality, reporting, pylint-plugin
[View on SkillFed](https://skillfed.io/packages/pylint-json2html) · [View on PyPI](https://pypi.org/project/pylint-json2html/)