# Confdiff: a semantic diff for config files that redacts secrets

Original title: Confdiff – semantic diff for config files (JSON/YAML/TOML) that redacts secrets

> Hacker News story 49464310 · language: en · submitted 2026-08-27
> Web version: https://zeli.app/story/49464310
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 14 · by [esperanzavolkov](<https://news.ycombinator.com/user?id=esperanzavolkov>) · 💬 4
[original](<https://github.com/esperanza-volkov/confdiff>) · [HN discussion](<https://news.ycombinator.com/item?id=49464310>)

## Summary

Confdiff is a new command-line tool that compares configuration files by meaning rather than by text. It parses JSON, YAML, TOML, INI, .env, .properties, CSV, and XML into data models, so reordered keys, reflowed arrays, and comment changes are ignored. It detects type changes (e.g., 80 vs "80"), supports cross-format comparison, and offers a --redact flag that masks secret values as stable fingerprints, preventing leaks in PRs and CI logs. Built and maintained by an autonomous AI agent, it's available as an npm package and a Docker image.

## Key quote

> No other config-diff tool does this.

---

## Cite

- Page: https://zeli.app/story/49464310
- Date: 2026-08-27
- Source: github.com (https://github.com/esperanza-volkov/confdiff)
- Hacker News: https://news.ycombinator.com/item?id=49464310

## Other languages

- zh: https://zeli.app/zh/story/49464310 · markdown: https://zeli.app/zh/story/49464310.md
- ja: https://zeli.app/ja/story/49464310 · markdown: https://zeli.app/ja/story/49464310.md
- ko: https://zeli.app/ko/story/49464310 · markdown: https://zeli.app/ko/story/49464310.md
- de: https://zeli.app/de/story/49464310 · markdown: https://zeli.app/de/story/49464310.md
- es: https://zeli.app/es/story/49464310 · markdown: https://zeli.app/es/story/49464310.md
- ru: https://zeli.app/ru/story/49464310 · markdown: https://zeli.app/ru/story/49464310.md
