STL / OBJ to GLB Converter

Convert STL or OBJ to a single GLB file. Include OBJ materials and textures, choose the source units and up axis, and preview the result in your browser.

Your files stay on this device.

Convert STL or OBJ to GLB

Choose an STL or OBJ, or try one of the sample models. For a textured OBJ, select the OBJ, its MTL material library, and its PNG, JPEG, or WebP textures together. The converter creates one binary glTF 2.0 file with the mesh, supported materials, and images embedded. Rotate the preview to check the result, then choose Download GLB. All conversion happens on your device.

Use GLB when you want a single file for a website, presentation, or 3D viewer. STL usually supplies triangles for 3D printing. OBJ can also carry named groups, texture coordinates, and references to materials. Those features carry over when the companion files are available.

Include OBJ materials and textures

Keep the original filenames referenced by the OBJ and MTL. Use Open folder when textures are in subfolders or share a filename. If you already opened the OBJ, use Add materials and textures to include the matching MTL and images. An OBJ with missing assets still converts with the materials that were found.

The converter preserves supported diffuse colors, opacity, and base-color textures. Complex legacy shader properties can look different in glTF viewers. Use the textured OBJ sample to see how the model, material file, and image become one GLB.

Match the model size and orientation

GLB uses meters and a Y-up axis. STL and OBJ do not define a standard length unit for their coordinates. Choose Source units to match the units in the program that exported the model. For example, a 50-unit-wide STL drawn in millimeters becomes 0.05 meters wide in the GLB. The defaults are millimeters and Z up for STL, and meters and Y up for OBJ.

Use Up axis if the source used a different upright axis. Open the downloaded file in the GLB / glTF Viewer to check it on its own. If you need to inspect or repair a print mesh first, use STL Mesh Repair.

Show more related tools