Convert DWG to SVG online
Drop the DWG file below, click Export, then SVG, and the whole drawing is written as a scalable vector graphic: every line, arc, and polyline becomes an SVG path you can scale, style, and edit in Inkscape or a browser. Nothing is uploaded; the conversion runs in your tab on your device.
How to convert DWG to SVG free, without AutoCAD
SVG is a vector format, like DWG, so the conversion keeps geometry as geometry. You export either the whole drawing or a rectangle you select, and the current zoom on screen does not matter.
- Open the .dwg in the drop zone above (AutoCAD R14 through 2018+). The file is converted to DXF on your device and rendered with WebGL.
- Hide the layers you do not need in the layers panel: hatches, dimensions, and viewport frames are usually unwanted in an SVG for the web or for cutting. Hidden layers are excluded from the file.
- Click Export, then SVG, and select the area: drag a rectangle over the part you want, or take the whole drawing.
- The browser downloads one .svg file with the selected geometry in its real layer colors.
- Open it in Inkscape, Illustrator, Figma, or just a browser tab to check.
No account and no watermark. Files over 60 MB and R12-era DWGs are the known limits; opening DWG files without AutoCAD covers the fallbacks.
What the SVG contains
A CAD drawing and a web graphic have different ideas about units, fonts, and styling. The export makes sensible choices, but it helps to know them.
- Geometry: lines, polylines, arcs, circles, and ellipses become paths. Splines and curves are approximated with segments, which is how every SVG converter handles them.
- Units: SVG has no millimeters by default; one drawing unit becomes one user unit. For laser cutting or CNC you set the real size once in Inkscape (Document Properties → scale) and check one known dimension.
- Layers: there are no layer groups in the SVG. Paths are grouped by color instead, and hidden layers are excluded, so hide layers before export if you want them gone.
- Text: SHX stroke fonts do not exist outside AutoCAD, so text is rendered with a substitute font. Convert text to outlines in Inkscape if the typography must be fixed.
- Colors and line widths: the real per-layer colors are kept, on a white page, independent of the screen theme; stroke widths are thin hairlines, so apply a stroke width in the editor for display.
DWG to SVG with Inkscape
Inkscape is the most common free editor for SVG, and people often search for a direct DWG import. There is none: Inkscape reads DXF (R12 and R14 flavors), not DWG. The working route is two steps.
- Convert the DWG to DXF. The free ODA File Converter or DWG TrueView does it; DWG to DXF walks through both. Choose an R12 or 2000 DXF for the best Inkscape compatibility.
- In Inkscape, File → Open the .dxf. The import dialog asks for a scale method (manual, or read from the DXF header) and whether to map layers to Inkscape layers. Then File → Save As SVG.
If you only need the SVG and not Inkscape's import options, the Export → SVG button above skips both steps, and you can still open the result in Inkscape to edit it.
Open source and command-line DWG to SVG converters
For servers, Linux desktops, and batches, the common tools are open source or have a free tier.
| Tool | Command | Notes |
|---|---|---|
| LibreDWG | dwg2SVG drawing.dwg > drawing.svg | GNU project; reads DWG directly; the same library this viewer uses in WebAssembly |
| QCAD Professional | dwg2svg drawing.dwg | Commercial, but the CLI tools are well documented and handle folders |
| ezdxf (Python) | drawing add-on with the SVG backend, or matplotlib savefig("out.svg") | Reads DXF; convert DWG first with ODA File Converter |
| Inkscape CLI | inkscape in.dxf --export-type=svg | Same DXF import as the GUI |
| CloudConvert, AutoDWG | Web upload or Windows app | Convenient, but the drawing leaves your machine |
Which to pick: LibreDWG when the input is DWG and you want a one-liner; ezdxf when you need control over which layers and colors come through; the viewer when it is one file and you do not want to install anything.
Using the SVG: web, laser cutters, design tools
Three uses account for most DWG to SVG searches, and each has one catch.
- Web pages: the SVG embeds with an
<img>tag or inline. Drawings with tens of thousands of entities make big files; export with unnecessary layers hidden, then run the file through an SVG optimizer. - Laser cutting and CNC: the machine software reads SVG paths, so set the scale in Inkscape before sending, and join segments where the cut must be continuous. Many cutters accept DXF directly, in which case DWG to DXF is the shorter route.
- Illustrator, Figma, Affinity: all import SVG. The paths arrive grouped by color, which is the closest thing to layers the file carries.
The reverse direction, SVG to DWG, is a different workflow that needs CAD software or a DXF intermediary.
Frequently asked questions
Can I convert DWG to SVG in Inkscape?
Not directly; Inkscape imports DXF, not DWG. Convert the DWG to DXF first with ODA File Converter or DWG TrueView, then open the DXF in Inkscape and save as SVG. Or export SVG from the viewer above and open that.
Is there an open source DWG to SVG converter?
Yes: LibreDWG's dwg2SVG reads DWG directly from the command line, and the Python library ezdxf renders DXF to SVG. This viewer uses LibreDWG compiled to WebAssembly.
Does AutoCAD export to SVG?
AutoCAD has no SVG plotter by default. The common routes are a PDF export opened in Inkscape, or a DXF export converted with one of the tools above.
Will the SVG be the right size for my laser cutter?
Set the scale after export: SVG user units are not millimeters by default. In Inkscape, scale the document so one measured dimension matches the drawing, then export for the cutter.
Is the DWG to SVG converter free and online?
Yes. It runs in the browser without an account and without uploading the file; the SVG is written on your device.