You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dasel (short for Data-Select) is a command-line tool and library for querying, modifying, and transforming data structures such as JSON, YAML, TOML, XML, and CSV.
It provides a consistent, powerful syntax to traverse and update data — making it useful for developers, DevOps, and data wrangling tasks.
Features
Multi-format support: JSON, YAML, TOML, XML, CSV, HCL, INI.
Unified query syntax: Access data in any format with the same selectors.
Query & search: Extract values, lists, or structures with intuitive syntax.
Modify in place: Update, insert, or delete values directly in structured files.
Convert between formats: Seamlessly transform data from JSON → YAML, TOML → JSON, etc.
Script-friendly: Simple CLI integration for shell scripts and pipelines.
Library support: Import and use in Go projects.
Installation
Homebrew (macOS/Linux)
brew install dasel
Go Install
go install github.com/tomwright/dasel/v3/cmd/dasel@master
Prebuilt Binaries
Prebuilt binaries are available on the Releases page for Linux, macOS, and Windows.