Unique JSON Array

Deduplicate a JSON array.

Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.

What Unique JSON Array does

Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.

Practical limit for Unique JSON Array: JSON array only. That is why output can differ from heavy desktop Convert software. Read the tool-specific note again: Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.

How to use Unique JSON Array

  1. Keep this tab on Unique JSON Array (/convert/unique-json-array). Pasting into the wrong Convert tool (for example Sort JSON Array) changes the job.
  2. Paste or type the input Unique JSON Array expects. Path hint: convert · unique json array. Deduplicate a JSON array.
  3. Apply the Unique JSON Array action only. JSON Array Length is a different transform (Length of a JSON array.). Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.
  4. Copy the output of Unique JSON Array if you need it elsewhere. Size/complexity still follows: JSON array only.
  5. If the text job is actually Sort a JSON string array., leave Unique JSON Array and open Sort JSON Array.

When not to use Unique JSON Array

Skip Unique JSON Array when a neighbor tool matches better — start with Sort JSON Array or JSON Array Length — or when the description already warns the job will fail. In the tool’s own words: Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.

Questions about Unique JSON Array

What does Unique JSON Array do that other Convert pages on this site do not?
Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails. Short version: Deduplicate a JSON array.
Does Unique JSON Array upload my file or text to Tool-You servers?
No. Unique JSON Array runs in this browser tab. Files stay on the device. Limit note: JSON array only.
Should I use Sort JSON Array instead of Unique JSON Array?
Use Unique JSON Array when you need Deduplicate a JSON array. Use Sort JSON Array when you need Sort a JSON string array. They share a category (Convert) but not the same job.
What are the limits of Unique JSON Array?
JSON array only. Also: Keeps first occurrence of each JSON-equal item. Unlike Sort JSON Array this preserves order. Non-array fails.