# How to convert json to yolov4 format(.txt)?

**URL:** <https://discuss.roboflow.com/t/how-to-convert-json-to-yolov4-format-txt/961>\
**Category:** 🤝  Community Help\
**Tags:** feature-request, formats, convert, research\
**Created:** [October 5, 2022, 10:05am UTC](https://discuss.roboflow.com/t/how-to-convert-json-to-yolov4-format-txt/961 "2022-10-05T10:05:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragavan\_rs](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/ragavan_rs/32/795_2.png) [@ragavan\_rs](https://discuss.roboflow.com/u/ragavan_rs)\
**Post date:** [October 5, 2022, 10:05am UTC](https://discuss.roboflow.com/t/how-to-convert-json-to-yolov4-format-txt/961/1 "2022-10-05T10:05:45Z")

</div>

i have 66k json file. how to convert that into yolo format.

---

<div class="post-metadata">

**Author:** ![trevorhlynn](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/trevorhlynn/32/1690_2.png) [@trevorhlynn](https://discuss.roboflow.com/u/trevorhlynn)\
**Post date:** [October 12, 2022, 9:32pm UTC](https://discuss.roboflow.com/t/how-to-convert-json-to-yolov4-format-txt/961/2 "2022-10-12T21:32:26Z")

</div>

You’re able to convert a COCO JSON file to Scaled-YOLOv4 or YOLOv4 PyTorch using Roboflow [COCO JSON Annotation Format](https://roboflow.com/formats/coco-json)

Here’s the guide for doing that inside your Roboflow account [Exporting Data - Roboflow](https://docs.roboflow.com/exporting-data)
