Skip to main content
Model Mender

Browser-local converter

SVG to DXF converter

Turn vector artwork into a DXF that CAD software, laser cutters and CNC front-ends will accept. The output declares millimetres in its header, so nothing downstream has to guess the scale, and the file is re-opened and compared before you download it.

Drop your SVG files here

STL, OBJ, PLY, GLB, glTF, 3MF, SVG and DXF. Nothing is uploaded: files are read and converted inside this tab. Checking what this device can handle...

Queue

No files yet. Drop models above, or use the file picker.

Add a model to see it here.

Output

Units

Size and placement

Repair and cleanup

These can change the shape, so they need a before-and-after review before export.

Inspection

Add a model to see its dimensions, mesh health and estimated volume.

What this SVG to DXF conversion does and does not do

  • Only filled outlines are converted. A stroke is a rendering style with no area, so expand strokes to outlines in your vector editor first if you want them cut.
  • Text is not converted. Turning a glyph into an outline needs the font file, which this site never loads. Convert text to paths first.
  • Curves are flattened to line segments within a tolerance you control, because a DXF polyline is straight segments. The default is finer than any cutter can resolve.
  • The DXF is written as R12 with everything on layer 0. R12 is the most widely readable revision, but it means the layer, colour and line-type structure of a hand-drawn CAD file is not reproduced.
  • A drawing with no absolute width or height has its user units read as CSS pixels at 96 per inch, and you are told so. Set a width in millimetres with a viewBox for a physically exact result.
  • Embedded images, use references, clip paths, masks, gradients and CSS stylesheets are ignored, and whatever was skipped is listed.

Troubleshooting

The DXF is empty

The artwork probably has no filled areas. Drawings made entirely of strokes, or with fill set to none, have no outline to convert. Expand strokes to outlines in your editor.

The cut is the wrong size

Give the SVG a width in millimetres together with a viewBox. Without an absolute size the drawing is read as CSS pixels, and 96 of those make an inch. The DXF then declares whatever that produced.

Holes are being cut as separate shapes

That is usually a fill-rule question in the source. Switch between nonzero and even-odd in the workspace so the inner outlines are recognised as holes before export.

My CAD tool says the polylines are not closed

Closed outlines are written with the DXF closed flag set rather than by repeating the first point, which is what the format intends. A tool reporting otherwise is usually looking at an outline that was open in the SVG too.

Questions

Will this work for laser cutting?

That is the main reason to do it. The output is R12 DXF in declared millimetres with closed polylines, which is what cutter software expects. Check the result in your cutter’s own preview before running material.

Are the curves exact?

They are flattened to straight segments within the tolerance you set, because DXF polylines have no curves. Lower the tolerance for a finer approximation; the deviation is bounded by the number you choose.

How do I know the DXF is right?

It is re-opened with the same reader a third-party tool would use, and its outline count, closed-outline count and bounding box are compared against the source. The result of that check is shown next to the download.

Is my artwork uploaded?

No. There is no upload endpoint in this project and the Content Security Policy blocks cross-origin requests, so the file is read and converted entirely inside this tab.

More tools