DXF to STL converter

Turn a 2D DXF drawing into a printable 3D part. Closed outlines are extruded to the thickness you set, and outlines inside them become holes.

Never uploadedHoles keptChoose layersmm, inch, cm, mSTL, 3MF, STEP

Loading tool…
3dfiles Pro: big files, STEP export, batches.Pro adds files over 100 MB, unlimited STEP export, fit-to-printer cuts, colour 3MF and big batches. Free for 7 days, or a one-off 7-day pass.
See Pro

How to convert DXF to STL

  1. Drop the .dxf file into the box above.
  2. Switch off layers that should not be part of the solid, such as dimensions or centre lines.
  3. Set the thickness in millimetres and check the drawing unit.
  4. Look at the 3D part, then download it as STL, 3MF, STEP or OBJ.

How the drawing becomes a solid

A DXF holds lines, not surfaces. The converter looks for closed outlines, joining separate lines and arcs whose ends meet, and fills them by the even-odd rule: the outermost outline is material, an outline inside it is a hole, an outline inside that hole is material again. A plate with bolt holes and a slot therefore comes out the way you drew it.

"No closed outline was found"

This is the usual problem with DXF files. The shape looks closed on screen, but two line ends are a fraction of a millimetre apart, or one edge is missing. Open paths cannot be made solid, so they are left out and counted in the note under the buttons. To fix the drawing:

  • AutoCAD: PEDIT → Multiple → Join with a small fuzz distance, or BOUNDARY to create a closed polyline.
  • Fusion: the sketch profile must be shaded; fix open points shown as white dots before exporting the sketch as DXF.
  • Inkscape: Path → Combine, then join the end nodes.
  • FreeCAD: Draft → Upgrade turns connected edges into a closed wire.

Thickness, units and scale

The thickness is always in millimetres. The drawing itself is converted from its own unit: inches are multiplied by 25.4, centimetres by 10. The size of the finished part is shown before you download, so a wrong unit is easy to spot.

STL, 3MF or STEP?

Use STL or 3MF for slicing. Choose STEP if the part is going back into CAD: the flat faces arrive as real planar faces that can be selected and measured.

Common questions

Can I give different parts different heights?

Not in one pass. Put the parts on separate layers, convert each layer with its own thickness and combine the results with the STL merge tool.

Why does my part have no holes?

A hole has to be a closed outline lying inside another one. If the hole circles are on a layer you switched off, or the hole outline is open, it is not cut out.

Does it work with DXF files from a laser cutter or CNC library?

Yes, those are usually clean closed outlines and convert directly. Engraving lines that are open paths are left out.

Can I convert the other way, STL to DXF?

Yes: the STL to DXF tool slices a model at a height you choose and saves the outline.

Is it free?

Yes – 2 downloads a day are free, with no sign-up or watermark. Pro (free for 7 days) makes it unlimited.

Is my file uploaded?

No. The file is processed in your browser and never leaves your device.