What is an OBJ file?

An OBJ file is a plain-text 3D model that lists the points, faces and texture coordinates of a mesh. Colours and textures are not in the OBJ itself but in a companion .mtl file and image files next to it.

File extension.obj (+ .mtl)
TypePolygon mesh
Developed byWavefront Technologies
First releasedlate 1980s
EncodingASCII text
Colour / materialsThrough a separate .mtl material file
UnitsNone
Exact CAD geometryNo
MIME typemodel/obj
Opens in 3dfilesYes – OBJ viewer

Open an OBJ fileOBJ to STL converter

About the OBJ format

OBJ was introduced by Wavefront Technologies for its Advanced Visualizer animation software and became one of the most widely supported 3D formats because it is simple: every line is a vertex, a texture coordinate, a normal or a face. Blender, Maya, 3ds Max, ZBrush, Cinema 4D, MeshLab and most game engines read it.

Unlike STL, OBJ can store quads and larger polygons, share vertices between faces and map textures with UV coordinates. It does not store animation, scene lights or units. When an OBJ arrives without its .mtl file and texture images, the shape is still fine – it just shows up grey.

What an OBJ file looks like inside

OBJ

mtllib model.mtl
v 0.0 0.0 0.0
v 1.0 0.0 0.0
v 1.0 1.0 0.0
vt 0.0 0.0
vn 0.0 0.0 1.0
usemtl wood
f 1/1/1 2/2/1 3/3/1

v lines are points, vt texture coordinates, vn normals and f faces that refer to them by number (counting from 1). mtllib names the material file and usemtl switches material.

How to open an OBJ file

  1. Open it in the 3D viewer. To keep textures, drop the .obj, .mtl and images together (or a ZIP of the folder).
  2. Blender: File → Import → Wavefront (.obj).
  3. For 3D printing convert it to STL or 3MF; for web and AR to GLB.

Convert OBJ files

Common problems

The model is grey / textures are missing

The .mtl file or the images were not copied along, or the .mtl uses absolute paths like C:\Users\…. Keep all files in one folder (or ZIP them) and check the paths inside the .mtl.

The model is rotated

OBJ has no fixed "up" axis. Programs from the animation world use Y-up, printing tools use Z-up; rotate 90° around X.

Questions about OBJ files

What is the .mtl file next to an OBJ?

The Material Template Library: a small text file with colours, shininess and the names of texture images. The OBJ refers to it by name.

Is OBJ good for 3D printing?

It works in most slicers, but STL or 3MF is more common. OBJ is mainly an exchange format between modelling programs.

OBJ or FBX?

OBJ is simpler and more universal but stores only static meshes. FBX also carries skeletons and animation. See FBX to OBJ or GLB.