Dataset Profiler
Profile CSV, Parquet and JSON datasets (types, nulls, distributions) and detect schema and value drift between two files.
Install
irm https://raw.githubusercontent.com/chayprabs/localtools/main/dataset-profiler/install.ps1 | iexlocaltools-dataset-profiler updatelocaltools-dataset-profiler uninstall
curl -fsSL https://raw.githubusercontent.com/chayprabs/localtools/main/dataset-profiler/install.sh | bashlocaltools-dataset-profiler updatelocaltools-dataset-profiler uninstall
brew install chayprabs/localtools/localtools-dataset-profilerbrew upgrade localtools-dataset-profilerbrew uninstall localtools-dataset-profiler
scoop bucket add localtools https://github.com/chayprabs/homebrew-localtools; scoop install localtools-dataset-profilerscoop update localtools-dataset-profilerscoop uninstall localtools-dataset-profiler
winget install localtools.DatasetProfilerwinget upgrade localtools.DatasetProfilerwinget uninstall localtools.DatasetProfiler
Opens at http://127.0.0.1:47107 in your browser. Run localtools-dataset-profiler --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.
Direct download
| Platform | File | Size |
|---|---|---|
| Windows x64 | dataset-profiler-1.0.3-windows-x64.zip | 16.7 MB |
| macOS Apple Silicon | dataset-profiler-1.0.3-macos-arm64.zip | 20.4 MB |
| macOS Intel | dataset-profiler-1.0.3-macos-x64.zip | 22.3 MB |
| Linux x64 | dataset-profiler-1.0.3-linux-x64.zip | 24.7 MB |
| Linux ARM64 | dataset-profiler-1.0.3-linux-arm64.zip | 22.5 MB |
SHA-256 checksums are in the release notes; the install scripts verify them for you.
See it
How to use
- Run localtools-dataset-profiler (or open Dataset Profiler from your app menu); it opens in your browser.
- Drop a CSV, TSV, JSON/JSONL or Parquet file. Optionally drop a second file to compare against.
- Press Profile datasets. Each column shows its inferred type, exact null and distinct counts, min/max/mean/stddev, approximate quartiles, top values, a histogram (numbers) or patterns and formats (text), plus sample rows.
- With two files, the drift table lists added, removed and type-changed columns, a total-variation score per column and the change in null share.
- Download the report as JSON, Markdown, HTML or a CSV table. From a terminal: localtools-dataset-profiler profile data.csv --json, or localtools-dataset-profiler drift before.csv after.parquet --html > drift.html.
FAQ
Which numbers are exact?
Row, null and distinct counts, top-value counts, min/max and format matches are exact over the whole file. Quartiles come from DuckDB SUMMARIZE and are approximate; mean, standard deviation and drift scores use floating point. Large integers are sent as strings, so 9007199254740993 stays exact.
How big can a file be?
Up to 64 MiB, 2 million rows and 256 columns per file, with a 120-second deadline per profile. Larger or deeper inputs are refused with a clear message instead of hanging.
What does the drift score mean?
Total variation distance between the two value-frequency distributions of a column, including nulls: 0 means identical frequencies, 1 means no value in common. It measures how much the distribution moved, not statistical significance, and does not match rows by key.
Does my data leave my computer?
No. Files are profiled by a bundled DuckDB that is locked to a per-request temporary folder with network access and extension loading disabled; the folder is deleted after each profile.
How are patterns and formats detected?
Text values are reduced to shapes (A for upper case, a for lower case, 9 for digits) and the five most common shapes are listed. Values that fully match email, URL, UUID, ISO date, IPv4, integer or decimal patterns are counted exactly.