STL to STEP in FreeCAD (or Skip the Setup)
FreeCAD is the free, standard way to turn an STL into a STEP file, and it genuinely works, with two honest caveats: the workflow is fiddly, and what comes out is a faceted solid rather than clean editable CAD. This guide walks the exact steps in FreeCAD, explains the one setting that matters, and is clear about what the result is and is not. It also covers where FreeCAD struggles, and a shortcut that runs the same conversion pipeline without the install.
Why This Is Not a Normal File Conversion
An STL stores only triangles: three points and a normal per facet, with no notion of a face, an edge, or a solid. A STEP file stores boundary representation geometry, real surfaces bounded by real edges. Going from mesh to STEP means inventing that structure from a soup of triangles, which is why there is no one-click, lossless answer. FreeCAD does it by treating the triangles as a shell, sewing them into a closed surface, and declaring that a solid.
The FreeCAD Method, Step by Step
This is the reliable sequence in FreeCAD 1.0. It uses the Part workbench, which wraps the same OpenCASCADE routines that do the real work.
| Step | What to do |
|---|---|
| 1. Import | Open your .stl file. It appears as a Mesh object, not a solid. |
| 2. Switch workbench | Select the Part workbench from the workbench dropdown. |
| 3. Shape from mesh | Part menu, then "Create shape from mesh". Set a sewing tolerance (0.1 mm is a sensible start). This produces a Shape from the triangles. |
| 4. Convert to solid | With the new shape selected, Part menu, then "Convert to solid". This is what makes it a true solid rather than a loose shell. |
| 5. Refine (optional) | Part menu, then "Refine shape" to merge coplanar faces where it can, cleaning up some of the triangle clutter. |
| 6. Export | Select the solid, File, Export, and choose STEP (.step / .stp). |
If "Convert to solid" fails or the shape looks wrong, it almost always means the mesh was not watertight to begin with, so the sewing left gaps. Repairing the STL first (closing holes, fixing non-manifold edges) is what makes this step reliable, which is why the order matters: fix the mesh, then convert.
The Sewing Tolerance Setting
The sewing tolerance in step 3 is the one dial that changes the outcome. It is how far apart two triangle edges can be and still be joined into one. Too small and a mesh with tiny gaps never closes into a solid. Too large and distinct features get welded together and detail is lost. Start at 0.1 mm; if convert-to-solid fails, raise it gradually, and if fine detail is disappearing, lower it. On a clean, watertight mesh the exact value barely matters, which is another reason to repair first.
What You Get, and What You Don’t
The STEP file FreeCAD produces this way is a valid solid you can open in any CAD program and machine from, but every triangle becomes its own flat face. A curved surface arrives as hundreds of tiny facets instead of one smooth face, and a flat wall arrives as a mesh of triangles rather than a single selectable face. You cannot click a hole and change its diameter, because there is no cylinder there, only facets. It is a solid, not editable parametric CAD.
Faceted conversion (this method)
- —Every triangle becomes a flat face
- —Curves look like many small facets
- —No single face to select or dimension
- —Fine for reference or as machining stock
- —Works on any watertight mesh
Analytic reconstruction
- —Detects real planes and cylinders
- —A hole comes back as one editable cylinder
- —One selectable face per flat region
- —Editable in Fusion, SolidWorks, FreeCAD
- —Only works on prismatic mechanical parts
Where FreeCAD Struggles
Three cases give the FreeCAD route trouble. Very high triangle counts (scans, dense exports) make shape-from-mesh slow and can exhaust memory, so simplify the mesh first. Parts positioned far from the origin sometimes convert with precision errors, so move the mesh near the origin before converting. And organic or sculpted shapes gain nothing from a STEP conversion at all, because there is no underlying flat or cylindrical geometry to recover; they stay a faceted blob and are better left as meshes.
The Shortcut: Same Pipeline, No Install
If you would rather not install FreeCAD and click through six steps per file, our STL to STEP tool runs the same OpenCASCADE conversion on the server, and repairs the mesh first so the sew is reliable. For prismatic mechanical parts it goes one step further than the manual FreeCAD route: it detects the planes and cylinders behind the triangles and rebuilds them as real analytic surfaces, so a drilled hole comes back as one editable cylinder rather than a ring of facets. It only ships that rebuild when the fitted surfaces cover most of the part and the volume matches, and falls back to the plain faceted conversion otherwise, telling you which you got.
Convert an STL to STEP in the browser, mesh repaired first, with analytic reconstruction for mechanical parts. Free, no install.
Convert STL to STEPFrequently Asked Questions
Can FreeCAD convert STL to STEP?
Yes. Import the STL, switch to the Part workbench, use "Create shape from mesh", then "Convert to solid", optionally "Refine shape", and export as STEP. The result is a valid solid, but every triangle becomes a flat face, so it is not editable parametric CAD.
Why does "Convert to solid" fail in FreeCAD?
Almost always because the mesh was not watertight, so sewing left gaps and there is no closed shell to make solid. Repair the STL first (close holes, fix non-manifold edges), or raise the sewing tolerance slightly, then try again.
Why is my converted STEP still made of triangles?
Because the faceted method turns each triangle into its own face; it does not recover the original surfaces. To get real planes and cylinders you need analytic reconstruction, which fits primitives to the mesh. That only works on prismatic mechanical parts, not organic shapes.
Do I need to install FreeCAD to do this?
No. FreeCAD is the standard free desktop route, but our STL to STEP tool runs the same conversion pipeline in the browser and repairs the mesh first, with analytic reconstruction for mechanical parts and an honest fallback to faceted output otherwise.
This guide covers one problem. For the full set of 3D converters, checkers, and calculators, visit the hub.
Browse 3D Tools