# How to upload json annotation file format for Instance Segmentation

**URL:** <https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611>\
**Category:** 🤝  Community Help\
**Tags:** bugs, feature-request, segmentation, formats, convert\
**Created:** [March 6, 2023, 11:48am UTC](https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611 "2023-03-06T11:48:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamad\_Younis](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/hamad_younis/32/1353_2.png) [@Hamad\_Younis](https://discuss.roboflow.com/u/Hamad_Younis)\
**Post date:** [March 6, 2023, 11:48am UTC](https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611/1 "2023-03-06T11:48:35Z")

</div>

I have the image dataset which is basically the annotation is in json format when I am trying to upload on Roboflow app it does not annotate the Data  
I want to apply Instance Segmentation using on the data  
Can anybody help me with this.

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [March 7, 2023, 1:39am UTC](https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611/2 "2023-03-07T01:39:07Z")

</div>

You will need to confirm your dataset has the proper COCO JSON format: [What is the COCO JSON Annotation Format?](https://roboflow.com/formats/coco-json) – click “Examples” to view the example structure

Add your annotation files alongside your actual images when doing the upload - this will match the annotation files to the images.

> **[Adding Data](https://docs.roboflow.com/adding-data)**
>
> Getting your images -- or videos! -- into Roboflow.

> **[Quick Start](https://docs.roboflow.com/quick-start)**
>
> A jump-start guide to getting going with Roboflow.

---

<div class="post-metadata">

**Author:** ![Hamad\_Younis](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/hamad_younis/32/1353_2.png) [@Hamad\_Younis](https://discuss.roboflow.com/u/Hamad_Younis)\
**Post date:** [March 7, 2023, 4:32am UTC](https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611/3 "2023-03-07T04:32:58Z")

</div>

@Mohamed its not working, when i upload json file with images it stops and does not show any annotation

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [March 7, 2023, 4:41am UTC](https://discuss.roboflow.com/t/how-to-upload-json-annotation-file-format-for-instance-segmentation/1611/4 "2023-03-07T04:41:00Z")

</div>

Drop in the JSON file first, and then all of the associated images.

After all of the files match (the loading bar completes), select the option to save and upload the images —\> assign images to a teammate (invite and assign one, is another option), or assign to yourself —\> because the images are labeled, the images with matched annotations will be available in the [Dataset column](https://docs.roboflow.com/annotate/collaborative-workflow). Leaving you ready to generate and train a model: [Train - Roboflow](https://docs.roboflow.com/train)

Also, be sure your COCO JSON files match the formatting in the page linked in my earlier comment. Double-check the file extensions, and image paths, for the references to the images are all correct, too.
