Miller

Miller 6.22.0

Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

  • By John Kerl
  • Open Source
  • Updated Sep 25, 2026
Download for Windows

About Miller

Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON. You get to work with your data using named fields, without needing to count positional column indices.

This is something the Unix toolkit always could have done, and arguably always should have done. It operates on key-value-pair data while the familiar Unix tools operate on integer-indexed fields: if the natural data structure for the latter is the array, then Miller’s natural data structure is the insertion-ordered hash map. This encompasses a variety of data formats, including but not limited to the familiar CSV, TSV, and JSON. (Miller can handle positionally-indexed data as a special case.)

Features

  • Miller is multi-purpose: it’s useful for data cleaning, data reduction, statistical reporting, devops, system administration, log-file processing, format conversion, and database-query post-processing.
  • You can use Miller to snarf and munge log-file data, including selecting out relevant substreams, then produce CSV format and load that into all-in-memory/data-frame utilities for further statistical and/or graphical processing.
  • Miller complements data-analysis tools such as R, pandas, etc.: you can use Miller to clean and prepare your data. While you can do basic statistics entirely in Miller, its streaming-data feature and single-pass algorithms enable you to reduce very large data sets.
  • Miller complements SQL databases: you can slice, dice, and reformat data on the client side on its way into or out of a database. (Examples here and here). You can also reap some of the benefits of databases for quick, setup-free one-off tasks when you just need to query some data in disk files in a hurry.
  • Miller also goes beyond the classic Unix tools by stepping fully into our modern, no-SQL world: its essential record-heterogeneity property allows Miller to operate on data where records with different schema (field names) are interleaved.
  • Miller is streaming: most operations need only a single record in memory at a time, rather than ingesting all input before producing any output. For those operations which require deeper retention (sort, tac, stats1), Miller retains only as much data as needed. This means that whenever functionally possible, you can operate on files which are larger than your system’s available RAM, and you can use Miller in tail -f contexts.
  • Miller is pipe-friendly and interoperates with the Unix toolkit
  • Miller’s I/O formats include tabular pretty-printing, positionally indexed (Unix-toolkit style), CSV, JSON, and others
  • Miller does conversion between formats
  • Miller’s processing is format-aware: e.g. CSV sort and tac keep header lines first
  • Miller has high-throughput performance on par with the Unix toolkit
  • Not unlike jq (for JSON), Miller is written in portable, modern C, with zero runtime dependencies. You can download or compile a single binary, scp it to a faraway machine, and expect it to work.

What's new in 6.22.0

What's Changed

Features

  • Add datediff DSL function by @johnkerl in #2221
  • Support XDG Base Directory spec for location of .mlrrc by @johnkerl in #2215
  • Batch-stream mlr seqgen output for head-friendliness by @johnkerl in #2230
  • reshape:add -S/-n to sort new wide-field keys in long-to-wide (#1646) by @ChrisJr404 in #2235
  • Support Unicode-boxed I/O format:tabular with UTF-8 markers by @johnkerl in #2253

Fixes

  • Fix I/O flag clash by @johnkerl in #2254

Build, CI & tooling

  • Add scoped make gosec target for security scanning by @johnkerl in #2223
  • Go 1.25 -> 1.26 in .github/workflows/golangci-lint.yml by @johnkerl in #2245
  • Fix CI Go versions by @johnkerl in #2246

Docs

  • docs:fix dead links in README by @1t1sCooL in #2238

Dependency updates

  • Bump the codeql-action group with 3 updates by @dependabot[bot] in #2234, #2237, #2239, #2251, #2252
  • Bump github.com/stretchr/testify from 1.11.1 to 1.12.0 by @dependabot[bot] in #2232
  • Bump github.com/stretchr/testify from 1.12.0 to 1.12.1 by @dependabot[bot] in #2236
  • Bump golang.org/x/text from 0.40.0 to 0.41.0 by @dependabot[bot] in #2233
  • Bump golang.org/x/text from 0.41.0 to 0.42.0 by @dependabot[bot] in #2249
  • Bump github.com/klauspost/compress from 1.19.2 to 1.20.0 by @dependabot[bot] in #2243
  • Bump golang.org/x/sys from 0.47.0 to 0.48.0 by @dependabot[bot] in #2244
  • Bump golang.org/x/term from 0.45.0 to 0.46.0 by @dependabot[bot] in #2250
  • Bump github.com/modelcontextprotocol/go-sdk from 1.7.0 to 1.8.0 by @dependabot[bot] in #2248

New Contributors

  • @ChrisJr404 made their first contribution in #2235
  • @1t1sCooL made their first contribution in #2238

Full Changelog:https://github.com/johnkerl/miller/compare/v6.21.0...v6.22.0

Full release notes »

Technical details

PublisherJohn Kerl
Version6.22.0
Release date2026-09-25
LicenseBSD-2-Clause
Installer typezip
Architecturex86, x64, arm64
Package IDMiller.Miller

Links & install command

Install Miller from the command line with Windows Package Manager (winget):

winget install --id=Miller.Miller -e

csvcsv-formatdata-cleaningdata-processingdata-reductiondata-regressiondevopsdevops-toolsjsonjson-datastatistical-analysisstatisticsstreaming-algorithmsstreaming-datatabular-datatsv

Older versions

  • 6.21.0
  • 6.20.2
  • 6.13.0
  • 6.12.0
  • 6.11.0
  • 6.10.0
  • 6.9.0