YAML & JSON Patcher

Query and patch YAML, JSON, TOML, and XML configs while preserving comments.

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.

  • 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
chayprabs/yaml-json-patcherFull source code, issues, and releasesOpen →

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.