DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

COCO Split ID Checker

Compare two COCO annotation JSON files for category ID changes, reused image or annotation IDs, and broken references before a merge.

Loading tool...

How to compare IDs in two COCO annotation exports

  1. Choose two JSON files

    Use annotation exports with images, annotations and categories arrays, such as train and val. Do not include the images themselves.

  2. Read the two kinds of mapping mismatch

    If ID 1 means car in train and truck in val, that is a same-ID conflict. If car moves from ID 1 to ID 2, that is the same label with a different ID.

  3. Separate a merge risk from a broken reference

    ID 1 can be reused safely in isolated splits; check your importer before concatenating them. Review missing references inside each split and download a counts-only handoff report if needed.

Use cases

  • Compare independently exported training and validation label maps.
  • Check whether raw concatenation would reuse image or annotation IDs.
  • Find missing category or image references without sharing dataset labels or file paths.

Limits and privacy

  • COCO annotation JSON only; not COCO result arrays or YAML. Up to 24 MiB per file because each JSON document must be fully parsed.
  • Uses exact, case-sensitive labels and browser-safe integer IDs. Conflicting IDs inside one file are excluded from mapping examples.
  • Does not inspect boxes, masks, segmentation, image bytes or split leakage, and never rewrites or merges the files.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

How do I see changes outside the COCO IDs?

The COCO checker focuses on mappings and references. Use JSON Structure Diff to compare other fields in two JSON documents.

Is a repeated image ID across train and val an error?

Not when separate readers keep the files isolated. It is a risk if you append both image arrays without remapping IDs, and it does not show that the two images are identical.

Does it remap my training labels?

No. The checker identifies the conflicting or moved IDs so you can confirm the desired mapping in your training or merge pipeline.

What goes into the downloadable report?

Only summary counts. Names, filenames, dataset IDs, boxes and image paths are excluded. The selected files stay on your device.

Related tools