Data Transformation Libraries: jq, yq, Miller, and csvkit Compared
Transform data at the command line with jq for JSON, yq for YAML, Miller for CSV/TSV, and csvkit for spreadsheet-style operations on structured files.
Published:
Tags: data, cli, tools
Data Transformation Libraries: jq, yq, Miller, and csvkit Compared Every developer has a different data transformation tool they reach for first. Some reach for , some for , some for a spreadsheet. The problem is that each tool has a domain where it's genuinely better than the alternatives — and using the wrong tool for the job means fighting its limitations. This guide covers five CLI data transformation tools, shows you what each one is best at, and gives you the concrete examples to decide. ---|----------|-----------------| | jq | JSON transformation, filtering, reshaping | Non-JSON data; complex programming logic | | yq | YAML transformation; YAML↔JSON/XML conversion | Heavy computation; TOML support is partial | | Miller (mlr) | CSV/TSV/JSON mixed pipelines; stats | Not available in…
All articles · theproductguy.in