Tool · free · in your browser
Repair STL
Fix meshes your slicer rejects or prints with gaps (STL, OBJ, 3MF, PLY): close holes, flip inverted faces and remove duplicates. If it's too broken, rebuild it from its volume. All in your browser: your file is never uploaded to any server.
What it means for a mesh to be broken
An STL file is a list of triangles that should enclose a volume with no gaps, like an object's skin. For your slicer to know what's inside and what's outside, every edge must be shared by exactly two triangles and all of them must face outward. When that isn't so, the slicer reports errors, fills the inside wrongly or simply leaves gaps in the part.
The usual faults come from modelling-software exports, 3D scans and hand-edited meshes: missing triangles, repeated triangles, flipped triangles and loose leftovers that don't touch the part.
What “Repair” does
- It welds repeated vertices when loading the file, because an STL stores every corner separately.
- It removes zero-area and duplicate faces.
- It orients the faces: it walks the mesh across shared edges and flips every face that disagrees with its neighbour. Then it checks each piece's volume and, if it comes out negative, turns the whole piece to face outward.
- It closes holes: it follows each gap's edge and fills it with triangles on the plane that best fits that edge. Holes with more than 2,000 edges stay open, because they're no longer a hole but a missing chunk.
- It removes tiny loose pieces, if you tick it: those under 5% of the model's diagonal. It starts unticked because a small piece may be a legitimate part of the model.
None of these steps moves a vertex: your model's shape doesn't change. When it's done, the tool counts how much of each it fixed and tells you whether the mesh ended up closed.
When to rebuild from the volume
Some meshes can't be fixed face by face: surfaces passing through each other, overlapping parts or holes with tangled edges. For those, “Rebuild from the volume” puts the model on a voxel grid, decides for each voxel whether it's inside or outside with rays along the three axes (the majority wins, so a ray slipping through a hole doesn't spoil the result) and creates the surface again from there.
The result always comes out closed with every face pointing outward, but it's a new mesh: detail smaller than the voxel gets smoothed. At “Fine” quality, the voxel is about one two-hundredth of the part's longest side.
Before printing
If the repaired file is too heavy, run it through the mesh reducer. If it doesn't fit your printer, the STL cutter splits it into pieces, and it needs exactly a closed mesh to do so.
Frequently asked questions
- What exactly does it fix?
- It removes zero-area and duplicate faces, flips faces that point inward so they all point out, closes holes and, if you tick it, removes the tiny loose pieces scans leave behind. When it's done it tells you how much of each it fixed and whether the mesh ended up closed.
- When do I use “Rebuild from the volume”?
- When repair isn't enough: faces crossing each other, missing chunks or holes so big there's no clear outline to close. The rebuild remakes the surface from the part's volume on a voxel grid, so it always comes out closed, but it smooths detail finer than the voxel.
- Does it change my model's shape?
- Repair doesn't move a single vertex: it only removes extra faces, turns them around or adds the ones needed to close holes. The rebuild does create a new mesh, which is why it's the second option.
- Is my file uploaded to a server?
- No. Everything happens in your browser; the file never leaves your machine.
- Which formats are supported?
- It reads STL, OBJ, 3MF and PLY, and downloads the result in any of those formats.