dasel
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/dasel/
A command-line tool for unified querying and converting structured data.
Script Preview
Review this script before executing in your terminal.

dasel is a command-line tool for querying, modifying and converting structured data.
It uses the same selector syntax across JSON, YAML, TOML, CSV and other formats. Queries traverse nested objects or search for values matching a condition, and separate input and output formats enable composability uses in shell pipelines, CI/CD builds and in scripting use-cases for automation.
dasel goes further than jq by having a built-in environment that allows for testing multiple dataset formats with a rapid feedback and response loop in the live preview in the query. Assignments in dasel change selected values, including values derived from each item in a collection.
This tool is very useful towards developers, data engineers and system administrators who already use jq for JSON but need an alternative that supports multiple formats including JSON but also handle YAML or TOML, CSV and more for scripting and automation.




