# How to convert .OBJ to .JS file

**URL:** <https://discourse.threejs.org/t/how-to-convert-obj-to-js-file/1138>\
**Category:** Questions\
**Tags:** patrol-js\
**Created:** [November 3, 2017, 7:28am UTC](https://discourse.threejs.org/t/how-to-convert-obj-to-js-file/1138 "2017-11-03T07:28:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandipnd31](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sandipnd31/32/612_2.png) [@sandipnd31](https://discourse.threejs.org/u/sandipnd31)\
**Post date:** [November 3, 2017, 7:28am UTC](https://discourse.threejs.org/t/how-to-convert-obj-to-js-file/1138/1 "2017-11-03T07:28:20Z")

</div>

For patrolJS , I need .js file, How to convert .obj to .js file

---

<div class="post-metadata">

**Author:** ![FrankSilvaHM](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/franksilvahm/32/117_2.png) [@FrankSilvaHM](https://discourse.threejs.org/u/FrankSilvaHM)\
**Post date:** [November 3, 2017, 12:49pm UTC](https://discourse.threejs.org/t/how-to-convert-obj-to-js-file/1138/2 "2017-11-03T12:49:39Z")

</div>

Make sure the three.js JSON exporter is installed in Blender, then open your OBJ in Blender and export JSON.

You did mean JSON right? JS is javascript.
