IFC to glTF Converter: .gltf Output Is Broken, Use GLB
Right now this page cannot give you a working .gltf, because the file arrives without the .bin buffers that hold its geometry. Use IFC to GLB instead, which packs the same mesh into one file, and rotate the model 90 degrees because it opens lying on its back.
Download Started!
How would you rate your experience with MiConvert?
IFC files in Google Drive?
Drive cannot preview IFC files. Open one from Drive with MiConvert to turn the model in your browser, or convert it and save the result next to the original. MiConvert for Google Drive →
IFC to glTF: what works today and what does not
IFC is the open BIM exchange schema maintained by buildingSMART, and Revit, ArchiCAD and Tekla all export it. An IFC file stores typed elements such as walls, slabs and doors, along with their placements, properties and relationships. Their shapes are often described as extrusions and boolean cuts rather than triangles. Web engines like three.js and Babylon.js cannot draw that; they need a triangle mesh, which is why people look for an IFC to glTF step.
On MiConvert this runs on our servers with IfcOpenShell 0.8.5. Every product that has geometry is triangulated in world coordinates, and shared vertices are welded. All elements are then combined into one mesh measured in meters, and the trimesh library writes the output file.
That last step is where the .gltf route breaks today. trimesh saves the JSON file plus buffer files under names our packaging step does not collect. The download therefore holds only the .gltf, without the geometry it points to, and no viewer can display it. Until this is fixed, the IFC to GLB page gives you the identical mesh in a single binary file with nothing missing. This page will be updated once the .gltf download works.
The GLB is a geometry-only snapshot. It has no materials or colors and no element names or properties. The building is Z-up inside a Y-up format, so it opens lying on its back. Rooms (IfcSpace) and opening elements (IfcOpeningElement) come out as solid blocks. Any element that cannot be triangulated is skipped without a warning.
It suits web developers who want to place a building in a three.js or Babylon.js scene, and anyone who needs a shareable 3D preview of a BIM model without a BIM program. If you were searching GitHub for a script, IfcConvert from the IfcOpenShell project, the same project our engine comes from, can write GLB on your own machine.
How to get a usable glTF-family file from IFC today
- Export the model from your BIM tool as IFC2X3, IFC4 or IFC4X3. IFC2X2 files are not read.
- If you compress the model, keep the .ifczip extension. A zipped IFC renamed to .ifc fails with a KeyError.
- If you do not want rooms drawn as solid blocks over the floors, turn off room or space export in your BIM tool's IFC settings.
- Upload the file on the IFC to GLB page rather than this one. Files up to 50 MB work without an account; larger models need an account, and the cap is up to 1 GB on Pro.
- Download the .glb within 4 hours, load it in three.js, Babylon.js or a glTF viewer, and rotate it -90 degrees around the X axis so the building stands upright.
- If your pipeline needs separate .gltf and .bin files, unpack the GLB yourself. Two ways: run gltf-transform copy model.glb model.gltf, or use Blender's glTF Separate export.
What the IFC engine does (shared with the GLB route)
- Opens IFC2X3, IFC4 and IFC4X3 models, plus .ifczip archives that keep their extension.
- Triangulates every product with geometry using IfcOpenShell 0.8.5, in world coordinates, so walls, slabs and beams sit where the model places them.
- Writes coordinates in meters whatever unit the IFC uses, which matches the meter scale that glTF and GLB viewers expect.
- Welds shared vertices and merges all elements into one mesh, so the result loads as a single object.
- Reports "No geometry found in IFC file" when nothing can be triangulated, instead of delivering an empty model.
Video Tutorial
Convert IFC to GLTF online instantly. Transform BIM building information model format to open standard for 3D scenes for web browsers and WebGL applications. Free, fast, no installation. 📌 Convert I
IFC to glTF questions
Why won't the .gltf from this page open?
Because the geometry is not in it. A .gltf is a JSON file that points to separate .bin buffer files, and our converter currently delivers only the JSON part. This is a known bug that is not fixed yet. For now, convert the same IFC on our IFC to GLB page.
Is GLB a real substitute for glTF?
For nearly every use, yes. GLB is the binary container of the same glTF 2.0 format: it holds the JSON and the buffers in one file. three.js, Babylon.js, model-viewer and most game engines load it directly. Only tools that require loose files need the GLB unpacked, and gltf-transform or Blender can do that.
Why is the building lying on its back?
IFC uses Z as up, glTF uses Y, and the converter does not swap the axes. The size is correct, because the numbers are in meters, but the model is tipped 90 degrees. Rotate it -90 degrees around X in your scene or viewer.
Are materials, colors, element names and IFC properties kept?
No. Every element is merged into one uncolored mesh, so walls, doors and furniture cannot be selected or styled separately, and property sets and types are left behind. If your viewer needs per-element data, use an IFC-aware web viewer library that loads the IFC itself.
Why do rooms look like solid boxes and windows look filled in?
Spaces (IfcSpace) and opening elements (IfcOpeningElement) are not filtered out, so each one is exported as a solid volume. Turn off space export in your BIM tool to remove the room blocks. If an element seems to be missing, it may have failed to triangulate, because such elements are skipped silently.
My IFC failed with a KeyError or "No schema loaded". What can I do?
A KeyError appears for IFC2X2 files and for zipped IFC files renamed to .ifc. Re-export as IFC2X3 or IFC4, or restore the .ifczip extension. We have also seen "No schema loaded" on some uploads and have not confirmed its cause yet. Re-exporting from the authoring tool is worth trying, but it is not a guaranteed fix.
Can you convert IFC to Revit, DWG or STEP instead?
No. We do not write RVT, DWG or STEP files from IFC. Revit can open or link IFC files itself. Our IFC to DXF page produces a single 3D mesh entity, which is neither a 2D floor plan nor editable CAD solids.
Who can see my IFC model, and for how long?
The file travels over HTTPS to our servers, where it is converted, and the uploaded IFC is removed when the job ends. The result can be downloaded for about 4 hours and is then deleted automatically. Treat the download link like a password: it cannot be guessed, but it works for anyone who has it until it expires. File names and basic job details such as size and format are logged, and signed-in accounts keep a history row with the first file name.