Image Annotation Editor
Draw rectangles and polygons on images, tag labels, and export to COCO / YOLO format.
The visual editor and JSON editor stay in real-time sync — every change is instantly reflected in both.
Tips
Drawing Rectangles
Select the Rectangle tool, then click and drag on the canvas. The bounding box snaps to image boundaries automatically.
Drawing Polygons
Select the Polygon tool and click to place vertices. Press Enter or double-click the first point to close the shape. Escape cancels.
Editing Shapes
In Select mode, click a shape to select it. Drag corner handles to resize rectangles, or drag vertex handles to reshape polygons. Drag inside the shape to move it.
Keyboard Shortcuts
Ctrl+Z / Ctrl+Shift+Z for undo/redo. Delete or Backspace to remove selected. Escape to deselect. Enter to finish polygon.
Zoom & Pan
Mouse wheel to zoom in/out. Middle-click drag or hold Space and drag to pan. Use Fit to auto-fit the image, Reset to return to 1:1.
Labels & Notes
Select an annotation and edit its Label and Note in the sidebar. Labels are used as category names in COCO and YOLO exports. Unlabeled annotations export as "unlabeled".
Native JSON Format
The native JSON preserves all data (labels, notes, colors, exact coordinates) and can be re-imported later. Use this to save and resume your work.
COCO JSON Format
COCO JSON is the standard for object detection datasets (used by Detectron2, MMDetection, etc.). Rectangles export as both bbox and polygon segmentation. Ideal for training and evaluation.
YOLO BBox Format
YOLO BBox outputs one text file with normalized center-x, center-y, width, height per line, plus a classes.txt. Used by YOLOv5/v8/v9 for object detection training.
YOLO Segmentation Format
YOLO Segmentation outputs normalized polygon vertices per line, plus a classes.txt. Used by YOLOv8-seg and later for instance segmentation training.
Real-Time JSON Sync
The visual editor and the JSON editor below stay in sync. Edit coordinates or labels in either place — changes reflect instantly in both directions.
File Naming Convention
Exported files are named after the source image: {name}_annotations.json, {name}_coco.json, {name}_yolo_bbox.txt, {name}_yolo_seg.txt, with matching _classes.txt files.