Skip to content

AutoCAD DXF to SVG converter

DXF → SVG moves CAD line work into the vector format browsers, Inkscape and many cutter tools read, with the caveat that it is no longer at CAD scale.

  • Converted with Office engine → Image engine · input deleted within 24 h
  • Free: 5 conversions a day · 5 MB each
  • Higher limits →

From real runs

What you get — and what changes

  • Line work Kept

    Every wall, arc and polyline of the floor plan is an SVG path you can select and restyle.

  • Scale Changed

    The SVG is sized from the fitted page, not from the DXF units, so a part drawn in millimetres will not import at its true size into a cutter program.

  • Text Changed

    Room labels and pin names are converted to outline paths, which keeps their look but makes them uneditable.

  • Dimension figures Lost

    Dimension lines are paths in the SVG, but their measurement numbers are absent.

  • Layers Lost

    DXF layers are not turned into SVG groups; colour is the only trace of which layer a line came from.

  • File size Changed

    The floor plan became a 440,504-byte SVG against a 42,500-byte PDF, because every coordinate is written as text.

Sample conversions

House floor plan

Input
1,117,145-byte AutoCAD 2004 DXF.
Output
440,504-byte SVG, trimmed to the plan, in under 0.1 s after the layout step.

Electronics schematic

Input
187,638-byte DXF with 376 text labels.
Output
407,209-byte SVG; most of the size is outlined label text.

A real AutoCAD DXF → SVG run

We converted our AutoCAD DXF sample (183 KB) with Office engine → Image engine on 2026-10-20. It took 1.9 s and produced a 398 KB SVG file, 2.2× larger than the input. The engine raised 2 warnings, listed below.

Input · sample.dxf · 183 KB

187,638 bytes

Output · sample.svg · 398 KB

SVG viewBox 0 0 293.46504 180.04999, 930 paths

viewBox
0 0 293.46504 180.04999
Paths
930
  • The drawing is scaled to fit the page, so it no longer prints at its CAD scale.
  • Text was converted to outlines, so it is not selectable or editable in the SVG.

First lines of the output

svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" width="293.46504" height="180.04999" viewBox="0 0 293.46504 180.04999">
<defs>
<clipPath id="clip_1">
<path transform="matrix(1,0,0,-1,-150.877,510.983)" d="M0 .028H595.247V841.88906H0Z" clip-rule="evenodd"/>
</clipPath>
<clipPath id="clip_2">
<path transform="matrix(1,0,0,-1,-150.877,510.983)" d="M155.877 335.933H439.341V505.98304H155.877Z" clip-rule="evenodd"/>
</clipPath>
<path id="font_3_1" d="M.2749939 .43800355C.34832765 .43800355 .406662 .41966758 .44999696 .3829956 .4933319 .34633384 .5149994 .29466758 .5149994 .22799683 .514999…

Do it yourself

ezdxf (Python)

bash
pip install ezdxf matplotlib && ezdxf draw -o part.svg part.dxf

Keeps dimension figures, but our floor plan became a 4.9 MB SVG this way; for exact-scale cutting files use your CAD program's SVG export.

AutoCAD DXF to SVG by API or MCP

The HTTP API and the MCP server run the exact engine this page uses (Office engine → Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=dxf&to=svg.

curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
  -H "Authorization: Bearer $FTC_API_KEY" \
  -F "file=@input.dxf" -F "from=dxf" -F "to=svg" \
  -F 'options={"width":0}' \
  --output output.svg

Options this engine accepts for AutoCAD DXF → SVG

KeyApplies toTypeDefault
widthWriting SVGnumber0
heightWriting SVGnumber0
fitWriting SVGcontain · cover · fillcontain
qualityWriting SVGnumber90
backgroundWriting SVGstring#ffffff
stripMetadataWriting SVGbooleantrue
API reference

When this is the wrong conversion

  • If the SVG is for a laser or vinyl cutter that needs real millimetres, export SVG from the CAD program or send the DXF directly; most cutter software reads DXF.
  • If you only need to look at the drawing, DXF → PDF is a tenth of the size.

AutoCAD DXF to SVG questions

Can I use the SVG for laser cutting?

For shapes, yes; for size, check. The SVG is not at the DXF's scale, so rescale it in your cutter software to the real dimensions before cutting.

Why are there no layers in the SVG?

Layers are flattened during conversion. Colours survive, so you can still select lines by colour in Inkscape.

Which DXF versions are supported?

ASCII DXF from R12 to AutoCAD 2018 opened in our tests. Binary DXF and DWG files are refused.