Miller is a command-line tool for working with tabular data such as CSV, TSV and JSON. It lets you refer to columns by name instead of by position, in the way awk, sed, cut, join and sort work on plain text. It is aimed at people who clean, reshape or summarise data files, sysadmins who process logs, and anyone who needs to convert between formats.
Miller stores each record as an insertion-ordered map of key-value pairs, so it can handle positionally indexed data as a special case. It is useful for data cleaning, reduction, statistical reporting and format conversion, and its output can be fed into tools such as R or pandas. The source is published under the BSD-2-Clause license and the tool runs on Windows.
Alternatives to Miller
Products that do a similar job in Developer Tools.
fx
Interactive terminal viewer and processor for JSON data
yq
command-line processor for YAML, JSON, XML, CSV and TOML files
gron
Command-line tool that flattens JSON into greppable lines
q
Command-line tool for running SQL queries on CSV and delimited text files
jc
Converts shell command output and strings into JSON, YAML or dictionaries
dasel
command-line tool for querying and editing JSON, YAML, TOML and XML
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts