Remove Duplicates from JSON Array
Remove duplicate items from a JSON array, comparing whole objects or keys like email or user.id. Key order doesn't matter. Free, private and in your browser.
Runs in your browser. Nothing is uploaded.
About Remove Duplicates from JSON Array
This tool removes duplicate items from a JSON array. With no key, two items are duplicates when they hold the same data, even if their keys are in a different order. Enter a key such as email, or a nested path such as user.id, to keep one item per unique value.
Choose to keep the first or last occurrence, and optionally ignore case so Aisha@example.com matches aisha@example.com. The original order of the kept items is preserved.
How to use Remove Duplicates from JSON Array
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
Does key order matter?
No. {"a":1,"b":2} and {"b":2,"a":1} count as duplicates.
Can I use nested keys?
Yes. Use dot paths like customer.email.
Is Remove Duplicates from JSON Array free and private?
Yes. Remove Duplicates from JSON Array is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.