Guides ·

How to convert FBX to GLB and keep the textures

Game tools and asset stores hand out FBX files, while websites, AR viewers and online shops load GLB. The conversion itself is quick; keeping the textures is where it usually goes wrong. This post shows where an FBX keeps its textures, how to convert it, and how to check that the GLB really carries them.

Drop your .fbx and its textures into the free FBX to GLB converter and download one GLB with the images inside.Try it on your own file
The FBX to GLB converter showing Blender's monkey head and a floor covered in a colourful A1 to H8 grid texture, with the size 4.005 × 1.74 × 3.943 m and a Download GLB button
monkey_embedded_texture.fbx in the FBX to GLB converter, embedded texture showing. File: three.js examples (MIT).

Why convert FBX to GLB

FBX is Autodesk's exchange format for 3D programs and game engines. GLB is the binary form of glTF 2.0, the Khronos Group's format for showing 3D on screens. A GLB is one file holding the meshes (the surfaces, made of triangles), the materials and the texture images, so a web page or a phone can load it in one go.

The two formats also measure differently. FBX files are usually in centimetres; glTF is always in metres. A good converter rescales the model so it keeps its real size.

Where an FBX keeps its textures

A texture is an image painted onto a surface, like a label on a bottle. An FBX can carry it in two ways. Embedded: the image bytes sit inside the .fbx. Linked: the .fbx only stores a file name, and the image lives next to it, often in a folder.

A linked FBX sent on its own arrives without its textures, and no converter can bring them back. Either send the images along, or export with them embedded. In Blender's FBX exporter, that means Path Mode set to Copy with the Embed Textures button switched on.

Diagram: an FBX texture is either embedded inside the FBX or a separate image file; the GLB packs it inside one file either way
Embedded or linked: either way the GLB should end up with the image inside.

Convert it, step by step

Open the FBX to GLB converter and drop the .fbx. If its textures are separate images, select them together with it. The model appears in a few seconds, textures included; turn it with the mouse to look it over.

Check the size in the panel. FBX is usually in centimetres; if the model looks 100 times too big or too small, change Units under Details.

Press Download GLB. The file is made in your browser and saved straight to your computer.

What changes on the way

Materials are rewritten as glTF's standard physically based materials: a base colour or texture, plus how metallic and how rough the surface is. Special shaders from Maya or 3ds Max become this simpler kind, so the look can shift a little. Shiny highlights in particular may come out more matte.

The converter's page lists what it drops: animation, skeletons, cameras and lights.

Check the GLB before you publish it

Open the new GLB in a GLB viewer and look at it from a few sides. You want the same colours and images you saw in the FBX. The converter's preview shows the FBX, not the file you downloaded, so always open the GLB itself before you publish it.

To be sure the images went in, open the GLB in a text editor: its first lines are readable JSON, and an "images" entry there means a picture is packed inside.

The converted GLB in the GLB viewer: the monkey and floor with the A1 to H8 grid texture, size 4.005 × 1.74 × 3.943 m, 970 triangles, 1 part
The downloaded GLB, opened in the GLB viewer: the texture came through. File: three.js examples (MIT).

If a GLB comes out white

A flat white model usually still has its texture, hidden by a glow. glTF materials have an emissive colour: light the surface gives off by itself, and full white emissive washes out everything under it.

Files from Blender 4.0 and later often carry a white emission colour with a strength of 0, which glows nowhere in Blender. A tool that keeps the colour and ignores the zero strength turns the model white. If another program does this to your files, set Emission Color to black in Blender before you export.

A worked example: Blender's monkey with an embedded texture

  1. monkey_embedded_texture.fbx comes from the three.js examples: a binary FBX of 320 KB, written by Blender 4.4.3 according to its header.
  2. Inside it: one mesh holding Suzanne, Blender's monkey head, and a floor plane, 970 triangles in all; one material; and an embedded PNG of 1024 × 1024 pixels, a colourful grid labelled A1 to H8. The material has the white emission colour at strength 0 described above.
  3. Dropped on the FBX to GLB converter, the grid showed on the monkey and the floor straight away.
  4. Size: 4.005 × 1.74 × 3.943 m, a scene about 4 m wide, as built in Blender.
  5. Download GLB: monkey_embedded_texture.glb, 406,020 bytes, against 319,516 bytes for the FBX.
  6. Opened in the GLB viewer: the same grid on the monkey and floor, 4.005 × 1.74 × 3.943 m, 970 triangles, 1 part.
  7. Inside the GLB: one 311 KB PNG used as the base colour texture, the part name Suzanne kept, and no emissive glow. The strength-0 emission did not turn it white.
  8. Next to the converter's preview, the GLB looks a little more matte: the shiny highlights on the monkey are gone, because the material became a fully rough one. The texture and colours are the same.

Common mistakes

Questions

Are textures kept when converting FBX to GLB?

Yes, when the FBX embeds them or you open the image files with it. They are packed inside the GLB; open it in a GLB viewer to check.

Why is my converted GLB white?

Usually a full-white emissive colour covers the texture. Set the emission colour to black in the source file and convert again.

Does the GLB keep the parts' names?

Yes. In the example, the monkey's object kept its name, Suzanne, in the GLB.

Can I keep the animation?

Not with this converter. The GLB holds the meshes and materials in their resting pose.

Sample file: monkey_embedded_texture.fbx · three.js examples (MIT repository); credit three.js examples

Sources

Drop your .fbx and its textures into the free FBX to GLB converter and download one GLB with the images inside.Try it on your own file