DXF to STL converter
Drop a DXF drawing and get a printable solid: closed outlines extruded at true scale, holes and islands kept, open lines optionally thickened. Free, no sign-up, nothing uploaded.
DXF to STL converter: reads LINE, LWPOLYLINE with bulges, POLYLINE, CIRCLE, ARC, ELLIPSE, SPLINE and $INSUNITS; joins touching segments, fills nested outlines even-odd (holes and islands), extrudes the vector outlines at true scale to your thickness; open lines optional as walls. Free, in the browser, nothing uploaded.
In short: To convert DXF to STL, drop the .dxf file into the tool on this page and set the thickness. The converter reads the drawing's lines, polylines with arcs, circles, arcs, ellipses and splines, joins segments that touch into closed outlines, and extrudes them straight up from the vector geometry.
It does not trace a picture of the drawing, so a 100 mm plate stays exactly 100 mm. Holes stay holes and islands inside holes stay solid. The drawing's units ($INSUNITS) are read, so inch drawings come out in the right size. Open lines that never close can be thickened into walls or skipped. Download the result as STL for any slicer. Everything runs in your browser, the file is never uploaded, and it is free with no limit.
How to use the DXF to STL converter
- Export the part as DXF from your CAD or drawing program (R12 or newer, ASCII).
- Drop the .dxf file into the tool.
- Check the size and units it reads, and the number of closed shapes.
- Set the thickness in mm (and Thicken open lines if some outlines are not closed).
- Download the STL and slice it.
| DXF content | Handled |
|---|---|
| LINE, LWPOLYLINE (with arc bulges), POLYLINE | Yes; touching segments joined into outlines |
| CIRCLE, ARC, ELLIPSE | Yes, sampled every 2° or finer |
| SPLINE | Yes, approximated through fit/control points |
| Holes and islands | Yes, even-odd fill |
| Units ($INSUNITS) | mm, cm, m, inch, feet; none = mm |
| Open lines | Optional: thickened into walls |
| INSERT blocks, TEXT | Skipped with a warning |
| Binary DXF | No; save as ASCII |
| Upload | None; runs in your browser |
How the converter turns a 2D drawing into a 3D solid
A DXF file is a 2D drawing: lines, arcs and curves, with no thickness. To print it, every closed outline has to become a solid of a chosen height. This converter does that from the vector data itself:
- It reads LINE, LWPOLYLINE (including arc bulges), POLYLINE, CIRCLE, ARC, ELLIPSE and SPLINE entities from the model space.
- Segments whose ends meet are joined into closed outlines.
- Nested outlines are filled with the even-odd rule: the outer edge is solid, a hole inside it is empty, an island inside the hole is solid again.
- The filled area is extruded to your thickness and saved as a closed, watertight STL.
Because nothing is rasterised, curves stay smooth and dimensions stay exact.
Units, scale and common problems
- Units: the drawing's $INSUNITS header is read (mm, cm, m, inches, feet). If the drawing has no units, millimetres are assumed and the tool says so; use the scale to fix it.
- Open outlines: a rectangle drawn as four lines is joined automatically. Lines that leave a gap are listed as open; close them in CAD, or turn on Thicken open lines to print them as walls.
- Blocks: INSERT blocks are skipped with a warning. Explode blocks in your CAD program before exporting.
- Text: DXF TEXT and MTEXT are not outlines. Convert text to curves or polylines first, or make the text in the 3D text generator.
- Binary DXF is not supported; save as ASCII DXF.
DXF to STL for 3D printing, laser and CNC parts
Typical uses:
- Gaskets, shims and spacers drawn in CAD, printed in TPU or PETG.
- Laser-cut designs (signs, ornaments, box joints) printed as a test before cutting, or as the final part.
- Templates and jigs for woodworking.
- Cookie cutters and stencils from a vector outline.
- Thick 2D plates as the starting point for a model you finish in Tinkercad or an STL editor.
The opposite direction is covered too: SVG to DXF, PNG to DXF and JPG to DXF turn pictures into cutting outlines.
When you need more than a flat extrusion
A DXF extrusion gives a part with straight walls and one thickness. For different heights per region, extrude each region separately and combine the STLs in the STL editor. For a solid 3D part with real CAD features, export STEP from your CAD program and use the STEP to STL converter, which keeps curved surfaces. For an object from a photo or sketch instead of a drawing, the AI image to 3D model tool builds a full 3D shape; the first model each day is free.
Frequently asked questions
How do I convert DXF to STL for free?
Drop the DXF on this page, set the thickness and download the STL. It is free with no limit and runs in your browser; the file is never uploaded.
Why is my DXF not converting?
Most often the outlines are not closed, the drawing uses blocks, or the file is binary DXF. The tool lists open lines and skipped blocks; close the gaps or turn on Thicken open lines, explode blocks, and save as ASCII DXF.
Does it keep the real size?
Yes. The outlines are extruded from the vector data, and the drawing's units are read, so a 100 mm part is 100 mm in the STL. Drawings without units are treated as millimetres.
Are holes kept?
Yes. Outlines inside outlines become holes, and shapes inside holes become solid again, so washers, frames and letters with counters come out right.
Can I convert DXF to STL in Fusion 360 or FreeCAD instead?
Yes: import the DXF into a sketch, extrude the profiles and export STL. This page does the same in one step without installing anything, which is quicker for a flat part.



