← Back to tools
View AGENTS.md for diff2html-cli
diff2html-cli
Parse git diffs as JSON and generate pretty HTML
Description
diff2html-cli is a command-line tool that parses git diffs and generates pretty HTML output. It can produce side-by-side or line-by-line diff views, making code reviews and diff visualization much more readable.
AI Summary
Converts git diffs into pretty HTML output with side-by-side or line-by-line views for easier code review.
Capabilities
- + Parse git diffs and output as HTML
- + Generate side-by-side diff views
- + Output diffs as JSON for programmatic use
- + Support for line-by-line and side-by-side views
- + Open generated HTML directly in browser
Use When
- → User wants to visualize git diffs as HTML
- → User needs to share readable diffs with non-technical people
- → User wants pretty diff output for documentation
Avoid When
- x User only needs terminal-based diff viewing
- x User already has a GUI git client