GLB, OBJ or SketchUp to STL: convert without scale errors

By Sina Esfahani, OmniTechs · Published 30 November 2026

Converting GLB, OBJ or SketchUp to STL is easy; getting a printable STL at the right size is where it goes wrong. STL stores only triangles: no unit, no colour, no materials. Your slicer reads every number in it as millimetres. So the size depends on the unit your source file used, and that unit differs per format. A GLB or glTF file is always in metres, because the glTF 2.0 specification says so. An OBJ has no unit at all. SketchUp writes the units of your model unless you choose millimetres at export.

Before you convert anything, write down one dimension you know, such as "the figure is 60 mm tall". After conversion you compare that number in your slicer. It is the fastest way to catch a scale error.

Convert it in this order:

  1. Note one known dimension in millimetres.

  2. Find the source unit: GLB and glTF are metres; SketchUp shows its unit in Window > Model Info > Units; for an OBJ, ask the source or compare your known dimension.

  3. Convert with the right factor: metres × 1,000, centimetres × 10, inches × 25.4. In Blender that is the Scale field of the STL export; in SketchUp it is STL Units: Millimeters.

  4. Check that the model is closed: in SketchUp, Entity Info must say Solid Group; in Blender, Select > Select All by Trait > Non Manifold must select nothing.

  5. Decide about colour: STL drops it. Keep a 3MF or a coloured OBJ when colour matters.

  6. Open the STL in your slicer, compare your known dimension and watch for an automatic scaling message.

Which unit each source format uses

Units of the formats you convert from

Khronos glTF 2.0 specification, Library of Congress OBJ description and SketchUp Help, read 30 November 2026.
SourceUnit in the fileFactor to millimetresWhere to check
GLB or glTFMetres, fixed by the glTF 2.0 specification× 1,000Nothing to check: always metres
OBJNone; the numbers the exporting program wrote× 1 for mm, × 10 for cm, × 1,000 for m, × 25.4 for inchesThe source, or a dimension you know
SketchUp exportThe model's units, unless you choose STL UnitsChoose Millimeters at exportWindow > Model Info > Units
STLNone; slicers read millimetresNot applicableCompare a known dimension

The glTF rule is strict: all linear distances are in metres, and after the node transforms are applied, vertex positions are metres. A 60 mm figure is stored as 0.06. Write those numbers into an STL unchanged and your slicer shows a figure 0.06 mm tall: 1,000 times too small.

OBJ is the opposite problem. The format declares no unit, so a 60 mm part may contain 60, 6, 0.06 or 2.36, depending on the program that wrote it. That is why the known dimension matters most for OBJ files. How the main formats differ in what they store is set out in 3D printing file formats compared.

What slicers and online converters do with the units

Slicers try to help, but only for some unit errors.

  • UltiMaker Cura opens GLB and glTF files directly through its Trimesh reader in the current source code; check that your installed version lists them under File > Open File(s). The preference Scale extremely small models (Preferences > Configure Cura... > General) is on by default. It acts only when the model is more than 100 times smaller than the build volume in every direction. It then multiplies by a power of ten and shows "Auto scaled model to 100000% of original size", or another percentage. A power of ten fixes metres, but never inches (× 25.4). A model in centimetres, ten times too small, is not caught at all.

  • PrusaSlicer looks at the volume on import. Below 0.001 mm³ it asks whether the dimensions "seem to be defined in meters", below 9 mm³ whether they are in inches, and offers to recalculate them. A larger model in metres, such as a 0.2 × 0.2 × 0.2 box, therefore gets the inch question: answer No. It has no question for centimetres.

So treat a scaling message as a warning that the units did not match, not as a fix. Measure the result. Cura's reader also loads each mesh without the file's node transforms, so a GLB built from separately scaled or moved parts can arrive jumbled. Convert such a file in Blender.

Online converters are fine for a quick single-colour file, but they disagree about units. One converts GLB from metres to millimetres; another claims a GLB has no real-world scale and sets it to 100 mm tall. The specification says metres, so measure whatever comes out. Read the privacy terms before uploading a model that is not yours: ImageToStl, for example, says it does not store the GLB and deletes the STL after 4 hours.

GLB or OBJ to STL in Blender

Blender is free and imports both formats. Menu names below are from the Blender 5.3 manual.

  1. Choose File > Import > glTF 2.0 (.glb/.gltf), or File > Import > Wavefront (.obj). Leave Scale at 1.0.

  2. Press N, open the Item tab and read Dimensions in the Transform panel: the bounding box of the object. Also check Properties > Scene > Units. A new scene uses Metric with Unit Scale 1.000; keep it that way for the steps below. A GLB then shows its real size in metres: your 60 mm figure reads 0.06 m. An OBJ comes in with its numbers unchanged, so an OBJ written in millimetres reads 60 m. Blender's importer converts glTF's Y-up axis to Blender's Z-up, so the model already stands upright.

  3. Merge split vertices. glTF stores separate vertices wherever normals or texture coordinates change, so an imported GLB is often cut open along its seams. In Edit Mode, select all and choose Mesh > Merge > By Distance.

  4. Check the volume. Still in Edit Mode, switch to vertex or edge select mode and choose Select > Select All by Trait > Non Manifold. If nothing is selected, the mesh is closed. Selected edges are holes, open surfaces or edges shared by too many faces. The free 3D Print Toolbox extension adds a check and a Make Manifold repair.

  5. Choose File > Export > Stl (.stl). Tick Selection Only if the scene holds more than one object. Set Scale so that the STL numbers become millimetres. At Unit Scale 1.000, Blender writes the Dimensions value in metres × Scale: 0.06 m needs Scale 1000; the OBJ that reads 60 m needs Scale 1. Leave Scene Unit unticked and the Forward and Up axes at their defaults.

  6. Open the STL in your slicer and compare your known dimension.

Edges that remain selected after step 3 are real defects. How to repair them, and how to check that a repaired model still matches the intended part, is covered in check an STL repair.

SketchUp to STL

SketchUp's help asks for a model with a base and a volume that is a solid. Check that first.

  1. Make it solid. Put each part in a group or component, select it and open Window > Entity Info. For a watertight part, the top of that window says it is a solid group. If it does not, install Solid Inspector 2 from the Extension Warehouse (Window > Extension Warehouse). It shows why the part is not solid and helps repair holes, internal geometry and reversed faces.

  2. Check the face directions. Choose View > Face Style > Monochrome. Fronts are white and backs dark grey; no dark grey may face outwards. Context-click a wrong face and choose Reverse Faces.

  3. Give walls thickness. A single face has no volume, so a hollow box needs walls with real thickness.

  4. Export. Choose File > Export > 3D Model and select STereolithography File (.stl) as the type. Click Options and set STL Units to Millimeters, File Format to Binary, and tick Export Only Current Selection when you export one part from a larger model. Leave Swap YZ Coordinates off.

Without the STL Units setting, SketchUp exports in the model's units. That is the usual cause of a SketchUp part that is ten times too small (centimetres) or 25.4 times too small (inches). The free SketchUp for Web plan can also export STL, according to SketchUp's file management page.

Closed volumes: what breaks in each format

Typical defects after conversion

Editorial overview based on the glTF 2.0 specification, the Blender 5.3 manual and SketchUp Help, read 30 November 2026.
DefectWhere it comes fromHow you see itWhat to do
Seams cut openGLB vertices split at texture and normal seamsNon Manifold selects edge loops along seamsMerge > By Distance in Blender
Surface without thicknessLeaves, cloth, hair or flags in game and web modelsZero-thickness parts; missing walls in the layer previewAdd thickness with Blender's Solidify modifier, or remodel
HolesScans, cut-off models, missing facesNon Manifold edges; repair warning in the slicerRepair, then check the repair
Internal facesSketchUp geometry inside a partNot a Solid GroupSolid Inspector 2
Reversed facesSketchUp faces drawn the wrong wayDark grey outside in MonochromeReverse Faces

A GLB made for screens does not have to be closed. The glTF specification lets a material be drawn from both sides, so a single sheet looks solid on screen while it has no volume. Expect this in models from games, web viewers and AI generators.

Textures and colours: what survives

Nothing survives in STL. The format stores triangles and a normal per triangle, nothing else. Colour from a GLB texture or an OBJ material file disappears. Fine relief that exists only in a normal map was never geometry: it changes the shading, so it will not print either.

That is fine for a single-colour print. When colour matters, keep it in another format:

  • 3MF can keep objects, positions and colour assignments. What 3MF keeps and when to send it is covered in 3MF or STL for 3D printing. If you later need an STL from a 3MF, see convert 3MF to STL and check what survived.

  • OBJ with colour into Bambu Studio. Bambu Studio imports colour from OBJ files and opens a window that matches each colour to a filament; you can adjust the match before clicking OK. Blender's OBJ export writes vertex colours when you tick Colors.

Multi-Color Export: OBJ Basics | Blender To Bambu Studio (ScrewsandCircuits)

The video shows vertex painting in Blender, the OBJ export settings and the import into Bambu Studio with automatic filament assignment.

Check the STL before you print

  1. Known dimension. Compare it with your note. A ratio of 1,000 means metres, 10 centimetres, 25.4 inches and 304.8 feet.

  2. Scaling message. If Cura auto-scaled or PrusaSlicer asked about metres or inches, the units did not match. Check whether the corrected size is right.

  3. Errors. No repair warning in the slicer, or a repaired model you have checked.

  4. Layer preview. Slice and scroll through the layers. Missing walls point to surfaces without thickness.

  5. Parts. The number of objects you expect, each in the right place.

The full inspection, including every side and what a viewer cannot tell you, is in open and check an STL file. You are done when the known dimension matches, the slicer reports no errors and the layer preview shows closed walls. Stop converting and remodel when open surfaces need thickness everywhere, when holes are larger than a repair can guess, or when the part has to fit something and you cannot measure a critical feature.

Worked example: a 60 mm figure from a GLB

A hypothetical figure of 40 × 30 × 60 mm (width × depth × height), bought as a GLB, printed on a printer with a 220 × 220 × 250 mm build volume.

  1. In the file. glTF stores metres: 0.04 × 0.03 × 0.06.

  2. Opened directly in Cura. Cura reads 0.04 × 0.03 × 0.06 mm. The build volume is 5,500, 7,333 and 4,167 times larger, so every side is more than 100 times too small. Cura takes the power of ten below the smallest ratio, 1,000, and reports 100000 %. The figure becomes 40 × 30 × 60 mm.

  3. Through Blender. Dimensions shows 0.04 m, 0.03 m and 0.06 m. Export with Scale 1000 and the STL holds 40, 30 and 60.

  4. Exported at Scale 1. The STL holds 0.04, 0.03 and 0.06. PrusaSlicer asks whether the object is in metres; answer Yes and it multiplies by 1,000.

The contrast: the same figure modelled in SketchUp in centimetres is 4 × 3 × 6 cm. Exported with the default units, the STL holds 4, 3 and 6, so the slicer shows 4 × 3 × 6 mm. Cura does nothing: 250 ÷ 6 = 41.7, below its threshold of 100. PrusaSlicer asks at most about inches (if the volume is under 9 mm³), which is wrong too. Your known 60 mm catches it. Export again with STL Units set to Millimeters.

If you start from a flat picture rather than a 3D model, see image to STL. For a scan whose size you cannot trust, see check the scale of a photo scan.

When the STL measures right, the OmniTechs 3D printing cost page accepts STL, 3MF, OBJ and PLY files up to 256 MB. It asks you to confirm the dimensions and shows material, print time and a price indication for a print in PLA or PETG, made in Groningen. It does not list GLB, so convert first.