# Convert OBJ and FBX models to JSON using Three.JS 1. Download and install [Node.js](https://nodejs.org/en/) 2. Download [three.js](https://github.com/mrdoob/three.js) 3. Open in a text editor the `/utils/converters/fbx2three.js` file 4. At the top of the file add the following line `import * as THREE from "../../build/three.module.js";` 5. Save and close. 6. Open PowerShell or your preferred command line tool. 7. Inside the command line go to the root three.js folder `cd ` 8. Install all the dependencies `npm install` 9. Install the esm package `npm install esm` 10. For OBJ file run `node -r esm utils/converters/obj2three.js model.obj` For FBX file run `node -r esm utils/converters/fbx2three.js model.fbx`