Remove duplicates

Input
Output

Remove Duplicates from JSON

Drop repeated items from arrays, keeping the first one. Items count as duplicates when they're identical, or when they share the key you name, like id or sku.

How do I use the Remove duplicates?

  1. Paste JSON.
  2. Optionally name a key, like id.
  3. Copy the de-duplicated JSON.

What does the Remove duplicates do?

  • Identical items or same key
  • Every array or top level only
  • Keeps the first occurrence

Frequently asked questions

Does order change?
No. The remaining items stay in their original order.
Is my data uploaded?
No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.

More JSON tools

Bracely has 108 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram