---
title: "STL Repair"
description: "Fix broken STL meshes online: weld gaps, fill holes, align normals, and split non-manifold edges for watertight 3D printing. Runs in your browser with no upload."
toolId: "stl-repair"
category: "optimization"
subgroup: "mesh-repair"
subgroupName: "Mesh Repair"
url: "https://any3d.cc/en-US/tools/stl-repair"
markdown: "https://any3d.cc/llm/tools/stl-repair.md"
---

# STL Repair

Drop an STL with holes, flipped faces, or non-manifold edges to get a clean binary STL ready for slicing, with a defect report right below the preview.

**Category:** 3D Model Optimization Tools (`optimization`)
**Subgroup:** Mesh Repair (`mesh-repair`)

**HTML:** https://any3d.cc/en-US/tools/stl-repair

> Runs entirely in the browser. Files are not uploaded to Any3D servers.

## Overview

Because STL stores disconnected triangles instead of shared vertices, models from 3D scans, sculpting apps, or CAD exports often arrive with cracks, missing faces, flipped normals, or non-manifold edges that make slicers complain. This tool welds coincident vertices, strips zero-area triangles, aligns face winding, splits non-manifold edges, fills open holes, and resolves overlapping shells. Below the 3D preview you can inspect the remaining boundary edges, non-manifold edges, filled holes, and self-intersections before downloading a compact binary STL.

## Tips

- Turn off Fill holes if your model has intentional open shells or deliberate cutouts
- Leave tolerances blank for automatic scaling; set stitch tolerance to 0.01-0.1 (model units) for wider boundary cracks
- If your model only has inverted shading with no holes or non-manifold edges, the [Fix Normals](/tools/fix-normals) tool is faster
- Downloads are written as binary STL, keeping file size compact for Cura, PrusaSlicer, and Bambu Studio

## FAQ

### Which STL errors and slicer warnings can this tool fix?

It welds duplicate vertices, removes zero-area or duplicate triangles, unifies face winding, splits non-manifold edges shared by three or more triangles, caps open boundary loops, removes stray debris components, merges overlapping shells, and attempts to split self-intersecting faces. Common slicer warnings such as non-manifold edges, open edges, or inverted normals are typically resolved in one pass.

### Why does the report say Needs review instead of Watertight, and can I still slice it?

Models with deliberate open cutouts, oversized or degenerate boundary loops, or complex self-intersections cannot always be capped safely. You can still download the repaired STL with all safe fixes applied and check the remaining boundary edge, non-manifold edge, and self-intersection counts. Minor leftovers often slice fine in PrusaSlicer, Bambu Studio, or Cura, while severe gaps may need manual editing.

### Will Fill holes seal intentional cutouts or hollow openings?

Through-holes in a closed solid with consistent normals are preserved, while unclosed boundary loops on single-wall shells or broken rims will be capped. If your part has intentional open edges you want to keep open, turn off Fill holes and leave vertex welding, normal fixing, and non-manifold splitting enabled.

### How do the three tolerance fields work when left blank or set manually?

All tolerances use the model's coordinate units (usually millimeters for STL). Weld tolerance merges vertices within range (blank = bounding-box diagonal × 1e-6); stitch tolerance merges only nearby boundary vertices without creating faces, ideal for hairline cracks (blank = off); self-intersection tolerance sets the splitting distance threshold (blank = diagonal × 1e-7).

### How is STL Repair different from STL Analyzer and Fix Normals?

[STL Analyzer](/tools/stl-analyzer) only measures dimensions, volume, surface area, and watertight status without altering geometry. [Fix Normals](/tools/fix-normals) recalculates or flips surface orientation across STL, OBJ, and GLB to fix black faces. STL Repair rebuilds STL mesh topology by welding gaps, filling holes, splitting non-manifold edges, and cleaning debris.

### Does it export Binary or ASCII STL, and will my model dimensions change?

The repaired file is always exported as compact Binary STL (50 bytes per triangle), which is much smaller than ASCII and supported by all major slicers. Repair does not scale, rotate, or convert units; vertices only shift within the active weld or stitch tolerance.

## About Configuration Options

### Repair actions

- **Fill holes** (Default: on): Fill open boundary loops with new triangles. Turn off to preserve intentional openings.
- **Fix normals** (Default: on): Make triangle winding consistent so lighting and slicers agree on inside and outside.
- **Split non-manifold edges** (Default: on): Split edges shared by three or more triangles into separate shells.
- **Remove degenerate triangles** (Default: on): Remove zero-area or duplicate triangles that can break later operations.
- **Attempt self-intersection repair** (Default: on): Try to split intersecting surfaces along intersection lines. Unresolved cases stay in the report and block watertight status.

### Tolerances (model units)

- **Weld tolerance**: Merges vertices within this distance. Empty = automatic (bounding-box diagonal × 1e-6).
- **Stitch tolerance**: Merges nearby boundary vertices without adding faces. Empty = off.
- **Self-intersection tolerance**: Distance tolerance for intersection splitting. Empty = automatic (diagonal × 1e-7).
