Formats

How To Convert VGG Image Annotator JSON to Pascal VOC XML

If your labeling tool exported annotations in the

VIA JSON

format, but you’re trying to use a

model that needs

VOC

annotations, we’ve got you covered. You can convert those in 3 clicks with Roboflow.

Step 1: Create a Free Roboflow Account

Roboflow is the universal conversion tool for computer vision annotation formats. It's completely free for your first 1,000 images. You'll need an account to convert your dataset.

Step 2: Upload your data into Roboflow

Once your account has been created, click Create Dataset.

Upload your data to Roboflow by dragging and dropping your
VGG Image Annotator JSON
images and annotations into the upload space.
Upload Data To Roboflow

Learn more about how to create these annotations for your object detection dataset in our VGG Image Annotator tutorial.

Step 3: Generate Dataset Version

Next, you can choose Preprocessing and Augmentation options for your dataset version and then click Generate.

Step 4: Export Dataset Version

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. You can also choose which format you would like to export. Choose

Pascal VOC XML

.

Congratulations, you have successfully converted your dataset from

VGG Image Annotator JSON

format to

Pascal VOC XML

format!

Next Steps

Ready to use your new

VOC

dataset?

To learn how to manually label your images in VOC XML format, see our CVAT tutorial.

Here are some compatible models:

Try an end-to-end computer vision tutorial, check out your dataset health check or experiment with some augmentations.