The short answer
To convert SVG to DWG, turn the SVG into DXF first, then change the DXF into DWG. Convert the SVG to DXF with the SVG to DXF converter on this site, which runs in your browser and keeps the paths as DXF polylines. Then open the DXF in the free ODA File Converter and save it as DWG, or open it in AutoCAD or BricsCAD and use Save As. DWG is the native binary format of AutoCAD, and no browser can write it directly, so this site has no SVG to DWG upload tool. The two step route is free, keeps your file on your own computer after the first step, and works for logos, floor plans and laser cut artwork that must open in CAD.
What converting SVG to DWG actually does
SVG is short for Scalable Vector Graphics. It is an open W3C standard written in XML text, and it describes shapes as paths, fills, strokes and styles for browsers and design tools. DWG is short for drawing. It is the native binary format of AutoCAD, and it stores CAD geometry, layers, blocks and dimensions for engineering and construction work.
Converting SVG to DWG means translating flat vector paths into CAD geometry. The shapes, curves and layers carry across, but the two formats were built for different jobs, so web styling, gradients, filters and live text do not survive the move. A clean logo or line drawing converts well. A complex illustration with effects does not.
DXF sits between the two formats. It is short for Drawing Exchange Format, an open text format that CAD programs open reliably, and it is the bridge that makes the conversion work. The route is SVG to DXF, then DXF to DWG.
Prepare the SVG first
- Convert all live text to outlines in your vector editor. The DXF step skips text elements, so lettering that is still live text will vanish from the drawing.
- Flatten transparency, blur, shadows and other effects. CAD geometry has no equivalent for them, so they are dropped or turn into broken shapes.
- Remove fills you do not need. DXF stores outlines only, so a solid fill becomes an empty outline, and a shape that only existed as a fill can disappear.
- Close every shape that must cut or fill as a region. Open paths import as loose lines, and a laser or CNC tool cannot use them as pockets or holes.
- Delete hidden layers, guides, masks and anything outside the artwork. They travel into the DXF unless you remove them first.
- Save a copy of the original SVG before you change it. The cleaned copy is for CAD, and the original stays the master for web and print work.
Step 1: SVG to DXF on this site
The SVG to DXF converter on this site does the first half of the route in your browser, with no upload. It traces every shape outline in the SVG and writes it as DXF polylines on layers grouped by color, so you can assign different operations, such as cut and engrave, per layer in your CAD or laser software.
- Open the SVG to DXF converter on this site and select your cleaned SVG file.
- Choose units. Pick millimetres or inches so the drawing imports at the right size. 96 SVG pixels equal one inch, which is 25.4 millimetres.
- Convert the file. Curves are flattened into short line segments, fills are dropped, and every shape becomes a cut or engrave path.
- Download the DXF file and open it in a CAD viewer or your laser software to check the size and the closed shapes before you move on.
Step 2: DXF to DWG with ODA File Converter, free
The ODA File Converter is a free download from the Open Design Alliance for Windows, macOS and Linux, and it changes drawings between DWG and DXF versions. It has no drawing tools and no viewer worth using, because it is a converter and it converts. Non members may use it only for non-commercial work, so check that limit before you use it for paid client work.
- Download and install the ODA File Converter, then put your DXF file in its own input folder.
- Pick an output folder, choose DWG as the output file type, and pick the DWG version your recipient needs. An older version opens in more programs, and a newer version keeps more features.
- Run the conversion and check that a DWG file appears in the output folder.
- Open the DWG in your CAD program and check the scale, the layers and the closed shapes with the steps in section 7 before you send it.
Alternative: direct DWG export from a desktop editor
Adobe Illustrator can export a drawing directly to DWG and to DXF through its export options, which skips the second step. If you already have Illustrator, open the cleaned SVG there and export it as DWG, then open the result in CAD and check the scale.
AutoCAD and BricsCAD open DXF files directly. Open the DXF from step 1, check the drawing, then use Save As and pick DWG as the format. This route suits you when the drawing will be edited in CAD anyway, because you can fix the scale, the layers and the units before you save.
Inkscape can save a drawing as DXF through its AutoCAD DXF save options, which is a second way to reach the same DXF step. Whichever editor you use, the DXF to DWG step stays the same, because only CAD software and the ODA converter write real DWG files.
Set the scale and DWG version in CAD
- Confirm the units first. The DXF step on this site uses 96 SVG pixels to one inch, so a 960 pixel wide logo becomes 10 inches wide. If your drawing must be a set size in millimetres, set the units to millimetres in the DXF step and measure again in CAD.
- Ask the recipient which DWG version they need before you convert. A file saved as a newer version will not open in older AutoCAD releases, and the ODA File Converter lets you pick the version at conversion time.
- Check the drawing scale against a known dimension. Measure one edge you know, such as a logo width or a wall length, and rescale the drawing if the number is wrong.
- Check the layers. The DXF step groups shapes into layers by color, so rename the layers to your CAD standard and assign line weights before you deliver the file.
- Keep the DXF file as well as the DWG. The DXF is the open exchange copy, and it opens in tools that cannot read DWG.
Checking the DWG before you send it
- Open the DWG in CAD and zoom in. Curves should stay smooth, and corners should stay sharp, with no stray lines or doubled edges.
- Check the lettering. If text is missing, it was still live text when you converted, so go back, convert it to outlines, and run both steps again.
- Check every closed shape. A shape that must cut as a pocket or a hole needs a closed polyline, and the converter marks a polyline as closed only when the original path ends where it starts.
- Check the colors and layers. Fills are dropped in the DXF step, so a shape that relied on fill alone arrives as an empty outline.
- Measure the drawing. Compare one known dimension with the real value, and fix the scale before you send the file.
- Send a test file first when the recipient is a new client or a print shop. A small test catches version and scale problems before the full drawing is due.
SVG, DXF or DWG: when to keep each
| Use | Keep SVG | Use DXF | Use DWG |
|---|---|---|---|
| Website or app | Yes, SVG is the web vector format | No, browsers cannot display DXF | No, browsers cannot display DWG |
| Logo or icon | Yes, sharp at every size | Only as a CAD bridge | Only if CAD asks for it |
| Laser or CNC cutting | Yes, as the master artwork | Yes, cutters read DXF well | Yes, if the shop asks for DWG |
| CAD editing | No, CAD tools prefer DWG or DXF | Yes, open exchange format | Yes, native AutoCAD format |
| Sharing with a client | Yes, it opens in a browser | No, most clients cannot open it | No, it needs CAD software |
| Editing later | Yes, any vector editor opens SVG | Yes, most CAD tools open DXF | Yes, if the work lives in AutoCAD |
Sources
Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.