Skip to content
Format
JSON
Limit
1 MiB total
Runtime
Browser

Compare JSON arrays as unordered multisets

Ignore order while retaining duplicate-value counts on both sides.

Local processingNo sign-upNo presets or upload

Compare arrays as sets

Each document is capped at 512 KiB; combined input is capped at 1 MiB.

Tool Swim does not upload, fetch, save, log, or create presets from these values.

Multiset count report

The report states the algorithm, semantics, paths, counts, or conflicts used as proof.

What this tool proves

Explicit, bounded structural semantics

This route uses multiset semantics: object key order does not matter, array values nested inside an item still keep their order, and duplicates are counted rather than collapsed.

Unordered does not mean duplicate-free

This route uses multiset semantics: object key order does not matter, array values nested inside an item still keep their order, and duplicates are counted rather than collapsed.

Each document is capped at 512 KiB, combined input at 1 MiB, traversal at 100,000 values and 100 levels, reports at 10,000 entries, and output at 1 MiB. Source and results stay in the active browser tab.

Parsing and comparison semantics

Inputs use the browser's JSON parser. Duplicate object names therefore keep their last value, object member order is ignored, array order is preserved unless the selected tool explicitly says otherwise, and integers outside JavaScript's safe range are rejected instead of rounded silently.

Primary references

Questions and answers

Related Data Diff tools