OBJ file

An OBJ file is a simple, widely supported 3D format, originally from Wavefront Technologies, that stores a model's geometry and UV coordinates in plain text. Materials live in a separate .mtl file and textures in image files, and OBJ can't hold animation, so it suits static models and 3D scans.

Also known as: .obj, Wavefront OBJ, .mtl

3D hoodie from rOS's activation at New York Fashion Week, 2021.

How it works

Keep the .obj, .mtl and texture images together, import into Blender, check the materials, then export as GLB, which packs everything into one file.

OBJ vs FBX vs GLB

Which format to use, and when to convert.

OBJFBXGLB
File typePlain textBinary (or text); format not publishedBinary: glTF in one file
TexturesSeparate image files, listed in a .mtl fileUsually separate files; can be embeddedPacked inside the file
Animation and rigsNoYesYes
OwnerOpen; from Wavefront TechnologiesAutodeskKhronos Group open standard
Best forStatic models and 3D scansAnimated characters moving between 3D appsWeb and browser AR
Same hoodie mesh (illust test)7.1 MB540 KBAbout 1.2 MB
Sources: Library of Congress, Autodesk, Khronos Group. File sizes from an illust test with a 38,655-vertex mesh and no textures.

How it works in illust

Convert OBJ to .glb before uploading to illust. Keep the .obj, .mtl and texture images in one folder when you import, so the materials come through, and decimate scans and resize their textures first so the GLB stays under 30MB.

Explore AR Studio

Key facts

  • OBJ was first used by Wavefront Technologies around 1990, and its specification was published around 1992 (Library of Congress).
  • An OBJ file stores vertices, texture coordinates, vertex normals and polygon faces, and names its material file in an mtllib line (Library of Congress).
  • OBJ does not support animation sequences or skeletons (Library of Congress).
  • OBJ writes every number out as text, so files run large. In an illust test, the same 38,655-vertex hoodie mesh without textures was 7.1 MB as OBJ, about 1.2 MB as GLB and 540 KB as FBX (illust).

FAQ

FBX or OBJ?

OBJ for static models and scans; FBX when you need rigs or animation. For AR, convert either to GLB.

Why does my OBJ look grey?

The .mtl file or textures weren't found. Keep them in the same folder as the .obj when importing.

How do I convert OBJ to GLB?

In Blender, choose File > Import > Wavefront (.obj) with the .mtl and textures in the same folder, check the materials, then choose File > Export > glTF 2.0 and pick glTF Binary (.glb).

Related terms

More in this topic

Adobe Aero

Adobe Aero was Adobe’s free AR authoring app for iOS, Android and desktop, launched at Adobe MAX 2019 so designers could build interactive AR scenes.

AR art (augmented reality art)

AR art is artwork made to be experienced through augmented reality: digital sculptures, animations, sound and video that appear in real places, on physical artworks or on people, seen through a phone or glasses.

AR art exhibition

An AR art exhibition presents artworks in augmented reality, placed in a gallery, park, street or across a city, which visitors view through their phones.