# shenwei356/csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang

Repository: https://github.com/shenwei356/csvtk
Canonical: https://ross.abutalabs.com/products/csvtk
Homepage: http://bioinf.shenwei.me/csvtk
Language: Go
License: MIT
License Family: permissive
Topics: csv, tsv, cross-platform, golang, toolkit, bioinformatics, command-line, tool
Last push: 2026-07-29T04:52:44+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 66, longevity 100
- inputs: {"age_days": 3804, "days_push": 35, "days_rel": 147, "gap_med": 79, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1169, forks 96 (observed 2026-08-28T04:03:51.187225+00:00)

## What it is
csvtk is a cross-platform command-line toolkit written in Go for manipulating CSV/TSV tabular data. It provides many subcommands for filtering, selecting, joining, and transforming tables, supporting gzipped and other compressed input and Unix pipes.

## Use cases
- manipulate csv files from the command line
- select columns by name in a tsv file
- filter and join csv tables in a shell pipeline
- replace excel click-work with automatable csv commands
- inspect and summarize large csv/tsv datasets quickly
- process gzipped csv files without decompressing
- clean up malformed quoted csv files

## When to choose
- you need fast, dependency-free CSV/TSV manipulation in shell scripts or pipelines
- you want column selection by name without writing Python/R scripts
- you work with compressed or streamed tabular data on Linux, macOS, or Windows

## When to avoid
- you need heavy spreadsheet-style GUI editing or pivot tables
- your data is not tabular (e.g., JSON, XML, or binary formats)
- you need complex statistical analysis better suited to pandas or R

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, csv, parser, developer-tools, data-science
- domain: data-science, bioinformatics, files, developer-tools
- platform: windows, cross-platform, cli, go
- tags: csv, tsv, tabular-data, data-wrangling, unix-pipes, single-binary, bioinformatics, command-line, linux, macos

## Member repositories
- shenwei356/csvtk (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.187225+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:43.667904+00:00, confidence not recorded.
  - readme: https://github.com/shenwei356/csvtk (fetched 2026-08-28T04:03:51.187225+00:00, sha 3f632d07e8ff)
  - homepage: http://bioinf.shenwei.me/csvtk (fetched 2026-08-29T12:34:35.391530+00:00, sha 3d3dbd89a790)
  - site_page: https://bioinf.shenwei.me/csvtk/faq (fetched 2026-08-29T12:34:35.401206+00:00, sha 44fe36dff41d)
  - site_page: http://bioinf.shenwei.me/csvtk/faq (fetched 2026-08-29T12:34:35.403166+00:00, sha 44fe36dff41d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
