Miller

Miller

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

Category
Text
License
open source
Platforms
Windows macOS Linux
Released
2015
Path
c:\miller\mlr.exe
Benefits
Use named fields without needing to count positional indices, using familiar formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed. Then, on the fly, you can add new fields which are functions of existing fields, drop fields, sort, aggregate statistically, pretty-print, and more.
Version
Latest known: 6.18.1 (2026-04-22)

Examples

1. Used to sanitize MLS TSV file. Some agent got clever and entered ZIP+4 and it caused a problem with our auomated bulk import process.

mlr.exe --itsv --otsv put '$PostalCode = substr($PostalCode, 0,4)' d:\MLS-ZipPlus4.txt >d:\MLS-clean.txt

Try it

Agree to terms to run demos.