Skip to content

Free online DXF to STL converter

Convert CAD drawings or 3D geometry from DXF into a printable STL mesh.

Convert DXF to STL online - free

Uploading…

Your file is processed automatically and deleted right after you download the result, or after 3 hours at the latest.

How it works

  1. 1/3

    Upload your .dxf file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .dxf to .stl conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .stl file

    Conversion result is ready to download.

Conversion statistics: DXF to STL

DXF files are most often converted to PAT 35% STEP 10% SKP 8% DWG 8%

Updated November 24, 2026, from conversions on 101convert.com

How to convert dxf to stl file

A 3D printer slicer or mesh-based CAD program may require an STL instead of the DXF supplied as a technical drawing. Conversion works directly only for DXF files containing usable 3D geometry; a flat drawing must first be turned into a closed 3D model with a defined thickness or rotation.

What the DXF format is

DXF, or Drawing Exchange Format, is an Autodesk-developed CAD exchange format for 2D and 3D drawing data. It may contain lines, arcs, circles, polylines, dimensions, text, layers, blocks, surfaces, meshes, and solid geometry.

AutoCAD, BricsCAD, DraftSight, Fusion, FreeCAD, SolidWorks, and many architectural, mechanical, surveying, laser-cutting, and CNC applications read or write DXF. Files are commonly exchanged as technical drawings, cutting profiles, floor plans, or geometry exported from another CAD system.

A DXF does not necessarily describe a printable volume. A drawing may contain only open lines or a flat outline, with no thickness, extrusion direction, or closed boundary.

What the STL format is

STL represents an object's outer surface with triangular facets. Its simple mesh structure is supported by most 3D-printing slicers, mesh inspection tools, rapid-prototyping workflows, and some reverse-engineering applications.

STL does not preserve DXF layers, dimensions, text, blocks, constraints, parametric features, colors, materials, or CAD history. It has no standard unit field, so the receiving program must interpret the intended scale. Binary STL is usually smaller than ASCII STL and is normally the better transfer choice.

How to convert a 3D DXF or 2D profile

First determine whether the DXF contains a 3D solid, surface, mesh, or only 2D entities. A 3D object can usually be tessellated and exported. Loose 2D lines cannot become a valid STL until they form a closed, planar profile that is extruded, revolved, or otherwise modeled into a solid.

  1. Open the DXF in a CAD program and confirm the drawing units. DXF unit metadata may be absent or incorrect.
  2. Remove construction lines, duplicate entities, unwanted layers, and overlapping contours. Repair gaps, self-intersections, and crossing segments.
  3. For a flat profile, join the segments into a closed wire and create a face or region. Extrude it to the specified thickness, or revolve a suitable closed half-profile around an axis. The required thickness must come from the design specification; it cannot be inferred reliably from the DXF.
  4. Check the resulting solid for open boundaries, internal faces, zero-thickness areas, and other invalid topology.
  5. Export the solid or mesh as STL, choosing binary output when available. Set mesh deviation or chordal tolerance and angular deflection finely enough for the part's curved surfaces.
  6. Open the STL in the target slicer or a mesh checker. Measure a known dimension, confirm orientation and scale, and inspect for holes, inverted normals, self-intersections, and non-manifold edges.

Using FreeCAD

FreeCAD is a suitable free desktop option for turning a closed DXF profile into a solid.

  1. Use File → Import to load the DXF and select the correct units if prompted.
  2. Inspect the imported geometry in the Draft or Part workbench. Join connected segments and repair gaps, duplicate endpoints, overlapping lines, and self-intersections until the profile is closed and planar.
  3. Create a face from the closed wire, then use Part → Extrude to enter the required length and direction. For rotational geometry, use a valid closed profile with the Part revolve operation.
  4. Select the resulting solid and export it through File → Export, choosing STL Mesh (*.stl) or an STL filename.
  5. Use the mesh export settings to control deviation and angular deflection. Smaller tolerances improve geometric accuracy but increase triangle count and file size.

Using AutoCAD

In full AutoCAD, clean the outline and set the correct units. Convert a closed boundary to a region with REGION, create the required volume with EXTRUDE or a revolve operation, and export the resulting solid with STLOUT. Select binary output when prompted. AutoCAD LT does not provide the same 3D-solid workflow.

For a DXF that already contains suitable 3D geometry, select the supported solid or mesh objects and run STLOUT. Confirm that the exported object represents the intended volume rather than construction geometry.

Using 101convert.com

You can convert a compatible DXF on 101convert.com for free without installing software. This is appropriate when the file already contains supported 3D geometry. An automatic converter cannot reliably choose a thickness for arbitrary 2D linework, determine which layers belong to the model, or repair every ambiguous contour, so model the profile in CAD first when necessary.

Quality and compatibility limits

  • Units: STL has no dependable unit declaration. Verify one known dimension after import; a 25.4-fold error commonly indicates confusion between inches and millimeters.
  • Closed geometry: Gaps, duplicate segments, nested contours, overlapping profiles, and self-intersections can create missing faces or failed extrusions. Inner contours must be interpreted correctly as holes.
  • Printable topology: A printable mesh normally needs a watertight shell, consistently oriented normals, no duplicate or internal faces, and no zero-thickness walls. Slicers and mesh-repair tools can fix some defects, but repairs may alter the design.
  • Mesh resolution: Coarse tessellation makes arcs and cylinders faceted and can change dimensions. Excessive tessellation produces a large file and may slow processing without improving the manufactured part.
  • Data loss: STL is a faceted derivative, not an editable CAD model. Keep the original DXF or native CAD file for dimensional changes, layers, annotations, and future revisions.

DXF vs STL: format comparison

How the DXF and STL formats compare on the properties that matter most for this conversion.

Comparison of the DXF and STL file formats
Property .DXF Drawing Exchange Format .STL Stereolithography
Open standard Partly open Partly open
Compression Uncompressed Uncompressed
Typical file size Large Small
Opens in a web browser No No
Further editing Limited Not directly editable
Metadata support Basic None
Plain-text readable Yes Yes
Best used for Data exchange Embedding in applications
Introduced 1982 1987
Developer Autodesk 3D Systems
MIME type application/dxf model/stl

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the DXF to STL converter free?

Yes, converting DXF to STL on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my DXF file be?

You can upload DXF files up to 10 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 100 MB per file and 10 files at once, see our plans.

What happens to my uploaded files?

Files are processed automatically. Your upload is deleted from our servers right after you download the result, or after 3 hours at the latest. We never view or share your files.

Do I need to install any software to convert DXF to STL?

No. The DXF to STL conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid DXF file for this DXF to STL conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Will converting DXF to STL keep my layers and editable CAD geometry?

No, the result is a triangulated surface mesh, so DXF layers, lines, curves, dimensions, and parametric editability are not retained. The STL can be adjusted as a mesh, but it is not equivalent to the original CAD model.

Can I convert a 2D DXF outline to an STL for 3D printing?

A 2D outline must first be turned into a closed, planar solid or given thickness before it can produce a printable STL. Open gaps, overlapping segments, or self-intersections can prevent a valid solid from being created.

Why is my DXF to STL model the wrong size?

The model may use different unit assumptions because DXF does not reliably communicate a universal unit scale to every converter. Check the drawing units and apply the intended scale before exporting the STL.

Why does my DXF to STL file fail slicing or show holes?

This usually happens when the DXF geometry is open, intersecting, non-manifold, or contains surfaces that do not form a closed volume. STL export creates triangles from valid surfaces, so the geometry should be checked and repaired before slicing.

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.