Dasel: A Universal CLI Tool for Data Selection and Transformation
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Dasel is a powerful command-line tool and Go library designed for querying, modifying, and transforming data across various formats like JSON, YAML, TOML, XML, and CSV. It provides a consistent syntax, making it an invaluable asset for developers, DevOps professionals, and anyone involved in data wrangling tasks. Its ability to convert between formats and integrate into scripts further enhances its utility.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Dasel, short for Data-Select, is a versatile command-line tool and Go library that simplifies querying, modifying, and transforming structured data. It supports a wide array of formats including JSON, YAML, TOML, XML, and CSV, offering a unified and powerful syntax for interacting with your data. Whether you need to extract specific values, update configurations, or convert data between different formats, Dasel provides an efficient solution.
Installation
Getting started with Dasel is straightforward. You can install it using popular package managers or directly from source.
Homebrew (macOS/Linux)
brew install dasel
Go Install
go install github.com/tomwright/dasel/v3/cmd/dasel@master
For more installation options, including prebuilt binaries, please refer to the official documentation.
Examples
Dasel's intuitive syntax makes common data manipulation tasks simple. Here are a few examples:
Selecting Values
echo '{"foo": {"bar": "baz"}}' | dasel -i json 'foo.bar'
# Output: "baz"
Modifying Values
echo '{"foo": {"bar": "baz"}}' | dasel -i json --root 'foo.bar = "bong"'
# Output:
{
"foo": {
"bar": "bong"
}
}
Format Conversion
cat data.json | dasel -i json -o yaml
Recursive Descent (..)
echo '{"foo": {"bar": "baz"}}' | dasel -i json '..bar'
# Output:
[
"baz"
]
Search (search)
echo '{"foo": {"bar": "baz"}}' | dasel -i json 'search(bar == "baz")'
# Output:
[
{
"bar": "baz"
}
]
Why Use Dasel?
Dasel stands out due to its comprehensive feature set and ease of use. Its multi-format support means you only need one tool for various data types, simplifying your workflow. The unified query syntax ensures consistency, reducing the learning curve. It's highly script-friendly, making it ideal for automation in shell scripts and CI/CD pipelines. Furthermore, its availability as a Go package allows developers to integrate its powerful capabilities directly into their Go applications.
Links
Find more information and contribute to Dasel:
Related repositories
Similar repositories that may be relevant next.

IPSpot: A Python Library for IP and Geolocation Data Retrieval
June 13, 2026
IPSpot is a powerful Python library designed to retrieve both public and private IPv4 and IPv6 addresses. It also provides detailed geolocation data, such as region, longitude, and latitude, using a reliable fallback mechanism across multiple API providers. This makes it an essential tool for network monitoring and location-based lookups directly from your system.

Feynman: The Open Source AI Research Agent
June 2, 2026
Feynman is an open-source AI research agent designed to automate and streamline complex research tasks. Built with TypeScript, it leverages multiple agents and tools to conduct in-depth investigations, literature reviews, and even experiment replications, providing source-grounded outputs.
Digler: A Powerful Tool for Forensic Disk Analysis and File Recovery
May 14, 2026
Digler is an open-source tool built in Go, designed for comprehensive forensic disk analysis and file recovery. It empowers users to unearth lost or deleted data from various disk images and raw devices. Offering both a powerful command-line interface and a user-friendly desktop application, Digler provides a flexible and efficient solution for digital forensics, leveraging a plugin-based architecture for extensibility.

LightClaw: A Fast, Local-First AI Assistant in Rust
April 5, 2026
LightClaw is a fast, local-first AI assistant built in Rust, packaged as a single binary for minimal overhead. Inspired by OpenClaw and Nanobot, it provides agentic tooling, memory, and seamless integration with platforms like Telegram and Discord. This project offers a high-performance, low-footprint solution for an AI assistant without a heavy runtime environment.
Source repository
Open the original repository on GitHub.
6 counted GitHub visits