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.
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.
From real runs
| Element | Result | What happens |
|---|---|---|
| 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. |
Every wall, arc and polyline of the floor plan is an SVG path you can select and restyle.
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.
Room labels and pin names are converted to outline paths, which keeps their look but makes them uneditable.
Dimension lines are paths in the SVG, but their measurement numbers are absent.
DXF layers are not turned into SVG groups; colour is the only trace of which layer a line came from.
The floor plan became a 440,504-byte SVG against a 42,500-byte PDF, because every coordinate is written as text.
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
First lines of the output
<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…ezdxf (Python)
pip install ezdxf matplotlib && ezdxf draw -o part.svg part.dxfKeeps 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.
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 -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| Key | Applies to | Type | Default |
|---|---|---|---|
| width | Writing SVG | number | 0 |
| height | Writing SVG | number | 0 |
| fit | Writing SVG | contain · cover · fill | contain |
| quality | Writing SVG | number | 90 |
| background | Writing SVG | string | #ffffff |
| stripMetadata | Writing SVG | boolean | true |
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.
Layers are flattened during conversion. Colours survive, so you can still select lines by colour in Inkscape.
ASCII DXF from R12 to AutoCAD 2018 opened in our tests. Binary DXF and DWG files are refused.