Query and patch YAML, JSON, TOML, and XML configs while preserving comments.
About this tool
Edit structured config files surgically. Apply jq, JSONPath, JMESPath, and JSON Patch operations to YAML, JSON, TOML, and XML — while preserving comments, anchors, and key order. Make precise, reviewable changes without reformatting the whole file.
What it does
- Patch configs with jq, JSONPath, JMESPath, and JSON Patch
- Preserves comments, anchors, and key order
- Supports YAML, JSON, TOML, and XML
- Surgical edits without reformatting the document
- Runs entirely in the browser
Repository
chayprabs/yaml-json-patcher
Source code, issues, and releases
Spotted a bug or have an idea?
This tool is built in the open and shaped by feedback. If something feels off — or you want a feature — I read every message.
Related tools