Convert DXF to SVG
Turn a DXF drawing into an SVG file for laser cutting software, cutting machines, Inkscape or a website. The SVG keeps the real size and the layers.
Drop a DXF file here
ASCII and binary DXF, from R12 to AutoCAD 2018 and laterYour drawing is opened in your browser. It is not uploaded to any server, and this page makes no network requests while working on it. You can check this in the Network tab of your browser's developer tools.
- AutoCAD, AutoCAD LT, LibreCAD, FreeCAD, BricsCAD and most other CAD programs can save a drawing as DXF with Save As; in FreeCAD, use File > Export. If the drawing came from someone else, asking them for a DXF is often the quickest way. How to save as DXF
- The Open Design Alliance offers a free converter for Windows, macOS and Linux that turns DWG files into DXF. Non-members may use it for non-commercial purposes only. Download it only from the official page. Step-by-step guide
- If you need to see the DWG file exactly as AutoCAD shows it, Autodesk offers free viewers, including DWG TrueView for Windows and a web viewer that requires uploading the file to Autodesk. DWG files
Open a DXF file to see the drawing.
Drag to move. Scroll or pinch to zoom. Double-click to zoom in. Arrow keys move, + and − zoom, 0 fits the drawing.
Processed in your browser. Your drawing is never uploaded.
- Drop the DXF file and check the drawing units under Drawing info.
- Hide layers you do not want, such as dimensions or notes.
- Leave Real size on and download the SVG.
How the viewer works
The DXF file is read in your browser, section by section: the header with the units and drawing extents, the layer and block tables, and the objects themselves. Blocks are placed with their position, scale and rotation, including blocks inside blocks. Colors follow the DXF rules, including colors set by layer or by block.
Lines, arcs, circles, polylines with curved segments, ellipses, text, dimensions and solid hatches are drawn. Splines are drawn as many short straight lines that follow the curve closely. Objects the viewer does not support are counted and listed under Drawing info instead of being skipped silently. CAD fonts are replaced by a standard font, so text can be slightly wider or narrower than in the original program.
Measurements use the coordinates stored in the file. Areas of curved polyline segments and circles are calculated exactly from the arc geometry, not from the drawn approximation.
Common questions
Will the SVG have the right size in my laser or cutting software?
If the DXF records its units, yes. The SVG then states its width and height in millimetres or inches, and programs such as Inkscape and most laser software import it at that size. If the DXF has no units, choose them under Drawing units before exporting.
Are layers kept?
Yes. Each visible layer becomes its own group with the layer name, which Inkscape shows as a layer. Hidden layers are not exported.
Are curves kept as curves?
Arcs, circles and ellipses stay curves. Splines are written as many short straight lines that follow the curve closely. For most cutting work the difference cannot be seen.
Why are some lines black that were white in my CAD program?
CAD programs usually draw on a dark background, where color 7 is white. On a white page, white lines would be invisible, so they are written as black. Choose All black to make every line black.