Is it free to convert CreateML JSON to Pascal VOC XML?
Yes! It is free to convert CreateML JSON data into the Pascal VOC XML format on the Roboflow platform.
Convert annotation formats
In this guide, we show you how to convert data between the CreateML and VOC formats for free. You can use your converted data to train YOLOX models and other models that support the VOC format.
Yes! It is free to convert CreateML JSON data into the Pascal VOC XML format on the Roboflow platform.
Apple's CreateML and Turi Create tools need a special JSON format for object detection tasks.
Below, learn the structure of CreateML JSON.
[
{
"image": "0001.jpg",
"annotations": [
{
"label": "helmet",
"coordinates": {
"x": 162.5,
"y": 45,
"width": 79,
"height": 88
}
},
{
"label": "person",
"coordinates": {
"x": 145.5,
"y": 176,
"width": 251,
"height": 350
}
}
]
}
]Pascal VOC is a common XML annotation format that is human readable but doesn't work with any known object detection models.
Below, learn the structure of Pascal VOC XML.
<annotation>
<folder></folder>
<filename>000001.jpg</filename>
<path>000001.jpg</path>
<source>
<database>roboflow.ai</database>
</source>
<size>
<width>500</width>
<height>375</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>helmet</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<occluded>0</occluded>
<bndbox>
<xmin>179</xmin>
<xmax>231</xmax>
<ymin>85</ymin>
<ymax>144</ymax>
</bndbox>
</object>
<object>
<name>helmet</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<occluded>0</occluded>
<bndbox>
<xmin>112</xmin>
<xmax>135</xmax>
<ymin>145</ymin>
<ymax>175</ymax>
</bndbox>
</object>
</annotation>Roboflow is a universal conversion tool for computer vision annotation formats. The Public plan is the best way for those exploring personal projects, class assignments, and other experiments to try Roboflow. To convert your dataset, start by creating a free workspace on the Public plan.
Once your account has been created, click Create New Project.

Upload your data to Roboflow by dragging and dropping your CreateML JSON images and annotations into the upload space.

Next, click "Generate New Version" to generate a new version of your dataset:

You can then apply any preprocessing or augmentation steps to your dataset:

After generating, you will be prompted to Export your dataset. You can choose to receive your dataset as a .zip file or a curl download link. Choose Pascal VOC XML when asked in what format you want to export your data. You will see a dropdown with various options like this:

Congratulations, you have successfully converted your dataset from CreateML JSON format to Pascal VOC XML format!
Yes! It is free to convert CreateML JSON data into the Pascal VOC XML format on the Roboflow platform.
If you have between a few and a few thousand images, converting data between these formats will be quick. But, the time it takes to convert between data formats increases with the more images you have.
Our team will help you start solving business problems on the first call.
Over 16,000 organizations build with Roboflow.