prettydiff/prettydiff
Beautifier and language aware code comparison tool for many languages. It also minifies and a few other things. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5680
- days_rel: n/a
- days_push: 1115
- n_releases_24m: 0
Adoption not part of the score
1770 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pretty Diff is a language-aware code beautifier and comparison tool written in TypeScript that supports many languages including HTML, JavaScript, TypeScript, CSS, XML, and Java. It can also minify code and perform other formatting-related transformations.
Use cases
- beautify and format html css and javascript code
- compare two versions of code with language-aware diffing
- minify javascript css and markup files
- format typescript and less files consistently
- diff minified code against source code
- clean up inconsistent indentation in xml and markup files
When to choose
- you need a single tool that both formats and diffs code across many languages
- you want language-aware diffs rather than plain line-based diffs
- you need minification alongside beautification in one library
- you work primarily with web languages like html css javascript and typescript
When to avoid
- you need actively maintained tooling with frequent updates and community support
- you prefer modern formatters like prettier with a large plugin ecosystem
- you need formatting for languages outside its supported set
- you require a permissively documented standard license for enterprise compliance
Facets
library · maturity maintenance
formatter developer-tools parser cli developer-tools web-development files cross-platform cli beautifier code-diff minification language-aware typescript command-line nodejs web-server
2 sources
- readme: https://github.com/prettydiff/prettydiff · fetched 2026-08-28 · 01fc0737ddf7
- homepage: http://prettydiff.com/ · fetched 2026-08-29 · 6e26007395f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prettydiff/prettydiff | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="prettydiff/prettydiff")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem