#4343rd of 50 in Data and scraping for AI

json2yolo

Scripts that convert COCO and LabelMe JSON annotations to YOLO labels

Stars
1.2k
License
AGPL-3.0
Last commit
Oct 2026
Last release
May 2019
Language
Python
Stars, last 29 weeks+51
21 Apr 2026: 1,189 stars28 Apr 2026: 1,193 stars5 May 2026: 1,197 stars12 May 2026: 1,199 stars19 May 2026: 1,203 stars26 May 2026: 1,203 stars2 Jun 2026: 1,207 stars9 Jun 2026: 1,208 stars16 Jun 2026: 1,210 stars23 Jun 2026: 1,211 stars30 Jun 2026: 1,213 stars7 Jul 2026: 1,216 stars14 Jul 2026: 1,216 stars21 Jul 2026: 1,218 stars28 Jul 2026: 1,220 stars4 Aug 2026: 1,220 stars11 Aug 2026: 1,222 stars18 Aug 2026: 1,225 stars25 Aug 2026: 1,229 stars1 Sept 2026: 1,231 stars8 Sept 2026: 1,234 stars15 Sept 2026: 1,234 stars22 Sept 2026: 1,236 stars29 Sept 2026: 1,236 stars6 Oct 2026: 1,237 stars13 Oct 2026: 1,237 stars20 Oct 2026: 1,237 stars27 Oct 2026: 1,237 stars3 Nov 2026: 1,239 stars10 Nov 2026: 1,240 stars

1,189 on 21 Apr 20261,240 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Ultralytics is hiring: 14 open roles

Overview

JSON2YOLO is a set of Python scripts that convert COCO detection, segmentation and keypoint annotations, plus LabelMe JSON, into the Ultralytics YOLO dataset layout (images/, labels/, YAML of class names). The README states the standalone scripts are no longer actively updated and points to convert_coco() in the ultralytics package instead.

Who it is for: ML engineers preparing COCO or LabelMe datasets for YOLO training

Strengths

  • Handles COCO boxes, segments and keypoints via --use-segments and --use-keypoints flags
  • Also reads LabelMe polygon, rectangle, circle, linestrip and mask annotations
  • Runs on Linux, macOS and Windows with Python 3.8+ and a requirements.txt
  • Maintained equivalent exists as convert_coco() in the ultralytics package

Weaknesses

  • Standalone scripts are no longer actively updated, per the README
  • --save-dir is deleted and recreated on every run
  • Labelbox mask-only objects are skipped with a warning
  • AGPL-3.0 license; commercial use needs a separate enterprise license

What it needs

  • no GPU
  • Needs Python 3.8+, ultralytics (for convert_coco)
  • Models: COCO JSON, LabelMe JSON, Labelbox JSON, YOLO format

Quick answers

Is json2yolo open source?

Yes. Its code is on GitHub under the AGPL-3.0 license.

Does json2yolo need a GPU?

No, it runs without one.

Also in Data and scraping for AI

See all 50
Also in Data and scraping for AI
RankProjectScore
1doclingPython library that converts PDFs, Office files and more into structured text70.4k stars+1,818 (+2.6%) in 30 daysMIT92 out of 100
2mineruParses PDFs, images and Office files into Markdown and structured JSON Live demo ↗ (opens in a new tab)83.5k stars+2,196 (+2.7%) in 30 dayscustom license91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.3k stars+728 (+2.5%) in 30 daysApache-2.090 out of 100
#4agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms111.1k starsMIT88 out of 100
#5markitdownPython library and CLI that converts office files, PDFs and audio to Markdown194.9k stars+5,738 (+3.0%) in 30 daysMIT87 out of 100