Browser-local converter
DXF to SVG converter
Turn a CAD drawing into an SVG you can put on the web or open in a vector editor. The drawing’s declared unit is used to give the SVG a real size in millimetres, so it opens at the dimensions it was drawn at rather than as an arbitrary number of pixels.
Drop your DXF 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.
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 DXF to SVG conversion does and does not do
- The unit comes from the DXF’s $INSUNITS header. When the drawing declares nothing, its numbers are read as millimetres and you are told, because a drawing in inches would otherwise be wrong by a factor of 25.4.
- Closed outlines are written as one path with the even-odd fill rule, so a plate with holes reads as a plate with holes rather than as shapes stacked on top of each other.
- Open lines and arcs are kept as stroked paths, since SVG has no way to express an open region. They are drawn, but they are not areas.
- Layers, colours, line types, text, dimensions, hatching and block structure are not carried across: the output holds outline geometry only, and whatever was skipped is listed.
- Arcs, circles and polyline bulges are flattened to line segments within the curve tolerance you set, rather than becoming SVG arc commands.
- Binary DXF is refused with a clear message rather than misread. Re-export as ASCII DXF.
Troubleshooting
The SVG is blank in my browser
Check whether the DXF contained only open linework. Open paths are stroked thinly, so a drawing of construction lines can look empty at small zoom. Filled areas need closed outlines in the source.
Holes are filled in
The inner outlines were probably not closed in the DXF, so they were written as strokes rather than as part of the filled path. Close them in your CAD tool and convert again.
The size is not what I drew
The workspace shows which unit it read from the drawing and whether that was declared or assumed. If it was assumed, set the correct unit before converting.
Text and dimensions are missing
Expected: neither is outline geometry, so neither is converted. The workspace lists the entity types it skipped. Convert text to polylines in your CAD tool if you need it in the output.
Questions
Does the SVG keep its real dimensions?
Yes. It is written with a width and height in millimetres and a matching viewBox, so it reopens at its physical size rather than being interpreted as pixels.
Can I edit the result in Illustrator or Inkscape?
Yes. It is plain SVG paths with no scripting, external references or embedded fonts, so any vector editor opens it.
Is the conversion verified?
The SVG is re-read and its outline count and physical size are compared against the DXF. Absolute coordinates differ by design, because the SVG is positioned from its own corner, and that is stated rather than hidden.
Is my drawing uploaded?
No. There is no server-side conversion and no upload path. Reading, converting and validating all happen in a Web Worker inside this tab.
More tools
- SVG to DXFTurn vector artwork into a DXF that CAD software, laser cutters and CNC front-ends will accept.
- DXF to STLA DXF is flat and an STL is a solid, so this conversion has to add the one thing the drawing does not contain: thickness.
- DXF to OBJTurn a flat DXF drawing into a Wavefront OBJ solid on your own machine.
- SVG to STLExtrude a flat SVG drawing into a solid you can print.