RegionKit RegionKit Open Editor →
Free · Browser-based · No install

Free COCO Annotation Editor — Browser-Based, No Upload

Create COCO JSON annotations directly in your browser. Draw bounding boxes and polygon segmentation masks, assign category labels, and export valid COCO format JSON. Free, no install, no account, no image upload.

Open RegionKit free

How to get started

  1. 1
    Open RegionKit
    Open editor.regionkit.app in your browser. No install or account required.
  2. 2
    Load your image
    Drag an image onto the canvas or use the file picker. The image is processed locally — nothing is uploaded.
  3. 3
    Draw regions
    Use the Polygon tool (P) for instance segmentation masks, or the Rectangle tool (R) for bounding box annotations. Both export to COCO format.
  4. 4
    Set category labels
    For each annotation, set its label in the Properties panel. The label becomes the COCO category name in the export.
  5. 5
    Export COCO JSON
    Click Export → COCO JSON. RegionKit outputs a valid COCO-format JSON with images[], annotations[], and categories[] arrays.
  6. 6
    Validate and use
    Load the COCO JSON into your framework (Detectron2, MMDetection, FiftyOne, etc.). The format is standard and compatible with all major CV libraries.

COCO JSON format

COCO (Common Objects in Context) is the most widely used annotation format in computer vision. A COCO JSON file has three top-level arrays: images, annotations, and categories.

Each annotation entry includes a bbox ([x, y, width, height] with top-left origin), a segmentation array of polygon coordinate lists, a computed area in pixels, and a category_id referencing the categories array.

RegionKit generates all three arrays from your scene. Rectangles become bbox entries; polygons become segmentation entries. Category IDs are assigned automatically based on the unique labels in your scene.

Framework compatibility

The COCO JSON exported from RegionKit is compatible with all major CV frameworks:

COCO vs YOLO: which to use?

COCO JSON is a single file covering all images — better for rich metadata, ecosystem breadth (Detectron2, MMDet, FiftyOne), and instance segmentation tasks.

YOLO TXT uses one file per image — better for Ultralytics-based training pipelines where the file-per-image layout is expected.

Both formats are first-class exports in RegionKit. If your downstream framework supports both, prefer COCO JSON for richer metadata and easier dataset management.

Common COCO mistakes to avoid

Category ID indexing — COCO convention uses 1-based category IDs (not 0-based). RegionKit follows this convention. Check your framework's expectation if you see off-by-one errors.

bbox format — COCO uses [x, y, width, height] (top-left + dimensions), not [x1, y1, x2, y2] (two corners). Converting incorrectly shifts all annotations.

Read the complete format reference in the COCO format guide on the RegionKit blog.

Open the COCO annotation editor →

Try RegionKit — it's free

Browser-based ROI editor. No install, no account, no data upload.

Open the Editor