What JSON unique-value extraction is
Turn repeated field values into a distinct list
Unique-value extraction reads selected fields across an array of objects, compares the resulting JSON values, and retains one copy of each value. The default result follows stable first-seen order, with optional alphabetical or numeric sorting.
Data-cleaning workflows
Find the usable set behind repeated records
Collect distinct categories, identifiers, states, or nested labels while tracking how many duplicates were removed. Missing paths are omitted, while an explicit null is retained once.
Analytics preparation
Prepare dimensions and lookup values
Create a compact list for filters, validation rules, dashboard dimensions, spreadsheet checks, or downstream analysis. Export structured JSON or newline-separated text.
API inspection
Inspect response variety without writing a query
Review the distinct statuses, resource types, error codes, or nested response values present in a saved API payload. Deep comparison handles scalar and structured JSON values.
Examples
Select paths that answer a focused question
| Goal | Field | Sort |
|---|---|---|
| List service regions | region | Alphabetical |
| Collect distinct scores | score | Numeric |
| Inspect nested types | metadata.type | First seen |
Data Toolkit
Continue with related UtilityDock JSON workflows
FAQ
Questions about extracting distinct JSON values
Does UtilityDock upload or store my JSON?
No. Your files never leave your computer. Validation, extraction, deduplication, sorting, copying, and downloads all happen locally inside your browser.
What JSON shape can I use?
Version 1 accepts a non-empty array of JSON objects at the document root.
Can I select more than one field?
Yes. The extractor scans every selected top-level or nested path in source-record order and returns one distinct value list.
How are missing and null values handled?
Missing paths are omitted. Explicit null values are retained and appear once in the unique result.
How are objects and arrays compared?
Values use deep JSON equality. Objects with the same properties are treated as equal even when their key order differs; array order remains significant.
What ordering does the result use?
First-seen order is the default. You can instead sort by a stable text representation or sort ascending when every unique value is numeric.
Does this tool provide value frequencies?
No. Version 1 reports only the total scanned, unique count, and aggregate duplicate count. Per-value frequency analysis is outside this utility.