Free · runs in your browser · no signup

Convert DXF to STL by Extruding It

A DXF from AutoCAD, LibreCAD, Inkscape or a laser cutting project is usually a flat drawing. To print it, the closed shapes have to be pushed up into a solid. Drop a DXF here: the page reads lines, polylines with arcs, circles, ellipses and splines, joins loose segments into closed loops, finds the holes, and extrudes everything to the height you choose, with an optional base plate.

Loading the converter...

How to use it

  1. 1

    Add your DXF

    Drop a .dxf on the box or click to pick it. ASCII DXF files from any CAD or drawing program work.

  2. 2

    Check the unit

    The drawing unit is read from the file when it has one. Otherwise choose it; the size readout shows the result in mm.

  3. 3

    Set the height

    Type the extrusion height and, if you like, add a base plate to join loose parts into one piece.

  4. 4

    Download the STL

    Check the preview and the warnings, then save a binary STL for your slicer.

What to know before you convert

  • Only closed shapes can be extruded. Loose lines and arcs are joined when their ends meet within the join tolerance; loops that stay open are skipped and counted in a warning.
  • Supported: LINE, LWPOLYLINE and POLYLINE (with arcs), ARC, CIRCLE, ELLIPSE, SPLINE and simple block INSERTs. Text, hatches, dimensions and images are ignored.
  • The drawing is read flat on X and Y. 3D entities such as 3DFACE, meshes and solids are not extruded, and a warning says so.
  • Binary DXF and DWG files are not supported. Save as ASCII DXF first. Files up to 50 MB are accepted.

Don't have a model?

Generate one from a sketch, image or text. Our AI generators give you a 3D model with an STL download for printing. They use credits; this converter does not.

Frequently Asked Questions

Drop the DXF above, check the unit, type the height in millimetres and download. Every closed shape is pushed straight up by that height, holes such as the inside of a ring stay open, and the result is saved as a binary STL.
Only closed outlines have an inside to fill. If the ends of the lines do not meet, the shape stays open and is skipped. Raise the join tolerance a little, or close the shape in your CAD program, and try again.
DXF files often do not say their unit. The page reads $INSUNITS when it is there and otherwise assumes millimetres. If the part is 25.4 times too big or small, pick inches (or the right unit) in the options.
Not directly. Open the DWG in your CAD program, save it as ASCII DXF, and drop that file here.
Yes. Signs and plates work well with a base plate and 1 to 3 mm raised shapes. A gasket is a closed outline with holes extruded 1 to 3 mm. For a cookie cutter, draw the outline as a thin ring and extrude it 10 to 15 mm.
No. The page reads the file and converts it inside your browser with the open-source three.js library. Nothing is sent to our servers, there is no account, and no credits are used. Closing the tab discards everything.