Miller is a command-line tool designed for working with text-formatted data files in multiple formats including CSV, TSV, JSON, and JSON Lines. Whether you're dealing with legacy CSV files or modern JSON data, Miller provides the functionality to manipulate and transform your data efficiently.
The tool serves multiple purposes across different workflows:
Miller offers two approaches to data transformation. For simple operations, use compact verbs like sort, head, and cut that work with named fields across multiple lines. For more complex logic, the put verb lets you write programming-language expressions to create calculated fields and apply custom transformations.
The tool is widely used across data analysis, software engineering, DevOps, scientific research, and journalism. At its core, Miller recognizes that most structured data—whether CSV, JSON, or tabular formats—represents lists of key-value pairs, and it leverages this common theme to provide unified handling across different file formats.
★ 5.8k · v1.26.1 · rust
★ 3.0k · v0.15.0 · rust