STL to OBJ converter
Turn an STL into an OBJ for Blender, a game engine or a renderer. The OBJ has its corners shared rather than repeated, so it arrives as one connected mesh that smooths, selects and subdivides properly. Below the tool: what the file contains, and the import settings that stop it coming in 1000 times too big or lying on its back.
Open a 3D model
Loading the viewer…
- Size
- –
- Mesh
- –
- Watertight
- –
- Volume
- –
- Surface
- –
- Filament
- –
More formats
Converting STL to OBJ
Drop the .stl, binary or ASCII.
Check the Size line. If the STL was drawn in inches or centimetres, set File units so the OBJ is written in true millimetres.
Decide on repairs. Close small holes is on by default, which is right for a part going to a renderer as a solid. Untick it if the mesh is meant to be open (a terrain sheet, a cloth) and you want every triangle exactly as it was.
Leave Y is up unticked. It turns a Y-up model to Z-up, which an STL from CAD already is.
Download OBJ.
What the OBJ file contains
OBJ is a text format. Each v x y z line is one corner; each f a b c line is a triangle that names three corners by their line number, counting from 1. The file written here looks like this:
# FlatCad 3D, units: mm
o bracket
v -12.5 -8 0
v 12.5 -8 0
...
f 1 2 3
Coordinates are rounded to 0.0001 mm, which is finer than any printer or renderer will notice. There are no vn (normal) or vt (texture) lines and no .mtl file, because an STL has none of those to pass on.
Why welding matters
An STL repeats every corner for every triangle that touches it. A converter that copies that straight across writes three vertices per triangle: a 100,000-triangle part becomes 300,000 loose vertices, and in Blender every triangle is its own island. Smooth shading shows each facet, edge loops can't be selected, and a Subdivision Surface modifier tears the mesh apart along every edge.
This page joins corners at the same position first (within a millionth of the model's size), so a closed part has about one vertex for every two triangles: the same 100,000 triangles come out as roughly 50,000 vertices. That also makes the file smaller. For a 100,000-triangle part, the binary STL is about 5 MB, the OBJ about 3.2 MB and an ASCII STL around 18 MB.
Import settings that matter
| Program | What it assumes | What to set |
|---|---|---|
| Blender | 1 unit = 1 m, Y up | Import options: Up Axis Z, Forward Y, Scale 0.001 |
| Unity | 1 unit = 1 m, Y up | Model import: Scale Factor 0.001, then rotate −90° about X if it lies on its back |
| Godot | 1 unit = 1 m, Y up | Scale the imported mesh to 0.001, rotate −90° about X |
The OBJ stays Z-up because that is how printers and CAD programs work, and turning it Y-up here would break it for anyone who brings it back to a slicer. Most importers have the axis setting for this reason.
The origin is useful in a game engine: the model is centred in X and Y and its lowest point is at Z 0, so the pivot sits in the middle of its base. Dropped into a scene at floor height, it stands on the floor rather than half through it.
When OBJ is the wrong choice
For printing, OBJ gains you nothing over STL, and slicers read 3MF better than either. For a game asset that needs textures, OBJ is a starting point: you still have to unwrap UVs. If you need the result to carry its own units, glTF (metres) or 3MF (any unit) does that; OBJ only has the comment line, which most programs ignore.
Going the other way? OBJ to STL. Background on STL, units and the Watertight check: STL viewer. Want to drill or label the part first? Edit STL online.
Open FlatCad 3D, free, no signup
Questions
Why is my OBJ 1000 times too big in Blender?
The OBJ is in millimetres and Blender reads one OBJ unit as one metre, so a 60 mm part arrives 60 m long. Set Scale to 0.001 in Blender's OBJ import options, or keep it and set the scene's Unit Scale to 0.001 with Length in millimetres.
Does the OBJ include normals, UVs or a material?
No. The file holds vertices and triangles only, with a comment saying it is in millimetres. Blender, Unity and Godot work the normals out on import; for textures you need to unwrap the model yourself.
Why does my mechanical part look smeared after Shade Smooth?
Because the corners are welded, smooth shading blends across every edge, sharp ones included. Use Shade Auto Smooth (by angle, around 30°) so flat faces and hard edges stay crisp while curved surfaces go smooth.
Does it read ASCII STL as well as binary?
Yes, it tells them apart by the file's size and content, not by the first word, so binary files whose header begins with "solid" are read correctly too.
Is the OBJ one object or many?
One. All triangles go under a single o line named after the file. If the STL held several loose parts, Blender's Separate → By Loose Parts splits them again.