By using Three.js you would be able to import 3D models from different formats such as OBJ, FBX and a few others. The file conversion is offline, meaning that you need to run a script that converts your 3D model into a JSON file containing geometry, material and other information about the model. Then you can use this JSON file in your WebGL code.
Please open the following link.
You need an HTML5/WebGL compatible Browser (IE does not work) Check WebGL.