How-to guide · how to convert dwg to svg
How to convert a DWG to SVG
By Saumyajit Maity · Published 5 Sept 2024 · Updated 9 Oct 2025
SVG is the web's native vector format, so converting a DWG to SVG lets a CAD block live on a website, in a presentation or inside a design tool while staying crisp at any zoom. Because both DWG and SVG are vector formats, the conversion preserves clean lines rather than flattening the block into pixels — the trick is choosing a route that keeps the geometry tidy and correctly scaled.
This guide covers the practical ways to turn a downloaded DWG block into a usable SVG: exporting from CAD software, using free converters, and the reliable DXF-as-intermediate path through a tool like Inkscape. We will also cover what to check afterwards so your SVG opens clean in a browser or a vector editor instead of arriving as a mess of stray lines.
Why SVG, and what survives the conversion
SVG keeps a CAD block as true vector paths, so it scales infinitely without blurring and stays editable in any vector editor. That makes it ideal for embedding a floor-plan symbol on a web page, dropping a furniture outline into a slide, or handing geometry to a designer who works in Illustrator or Figma rather than CAD.
What carries across is the linework — lines, arcs and polylines become SVG paths. What may not survive cleanly is CAD-specific data: layers can flatten, hatches may explode into many lines, and text can shift if a font is missing. Knowing this helps you pick the cleanest source block, ideally one that is mostly outlines.
Route 1 — Export directly from AutoCAD or BricsCAD
If you have AutoCAD, the most controlled route is to plot to a vector format and convert, or use an SVG export plug-in where available. A common approach is to publish the drawing to PDF (a vector PDF, not a raster one), then open that PDF in a vector editor and save as SVG. Because the PDF stays vector, no quality is lost in the hop.
Before plotting, freeze layers you do not want, set the lineweights you want to keep, and plot only the block extents. The cleaner the drawing you export, the cleaner the SVG, so trim away title blocks and stray geometry first.
Route 2 — Use a free online or desktop converter
Several free converters take a DWG or DXF and output SVG directly. Online tools are quick for a one-off: upload the file, download the SVG. For privacy or batch work, a desktop converter avoids sending your drawing to a server. Either way, prefer a converter that lets you set the source units so the SVG comes out at a predictable size.
After conversion, open the SVG in a browser to confirm it renders. If lines are missing or doubled, the converter may have struggled with the DWG's structure — that is the cue to try the DXF intermediate route below, which is usually more forgiving.
Route 3 — Go through DXF and Inkscape
The most reliable free path is DXF as a stepping stone. If a DXF download is offered, use it; otherwise save the DWG to DXF in any free CAD tool. Then open the DXF in Inkscape, the free vector editor, which has a built-in DXF importer. Inkscape brings the geometry in as editable paths, and you save straight to SVG with File > Save As.
This route gives you a chance to clean up before saving: delete stray construction lines, group the block, and set the document size so the SVG has a sensible canvas. Because Inkscape is a true vector editor, the result is genuinely scalable and ready for the web or further design work.
Cleaning up the SVG after conversion
Whatever route you take, give the SVG a quick once-over. Open it in a vector editor and check for duplicate overlapping paths — CAD exports often double lines — and delete them so the file is light. Confirm the stroke widths read sensibly at the size you will display; CAD lineweights do not always map to web pixels, so you may want to set a uniform thin stroke.
Finally, check the canvas. A converted SVG sometimes carries a huge or oddly positioned viewBox from the original drawing extents. Crop the document to the block's bounds so it sits neatly in the frame when embedded, rather than floating in a sea of empty space.
Common DWG-to-SVG problems
The most frequent disappointment is a near-empty SVG, usually because the converter only exported one layer or model space when the block lived in a layout. Make sure you are converting model-space geometry and that all needed layers are visible before exporting. The second is exploded hatches producing thousands of tiny paths that bloat the file — replace dense hatching with a simple fill in the vector editor.
Scale confusion is the third: SVG units are not millimetres, so a block can appear tiny or vast on a web page. Setting the document dimensions in the vector editor, rather than trusting raw CAD coordinates, gives you predictable on-screen sizing every time.
Free download
Browse the full library — DWG & DXF, no signup.
Questions
Frequently asked
What is the easiest free way to convert a DWG to SVG?+
Go through DXF and Inkscape. Save the DWG to DXF in any free CAD tool (or use a DXF download), open it in the free Inkscape vector editor, then File > Save As to SVG. It keeps clean editable vectors and is very forgiving.
Does converting DWG to SVG lose quality?+
No, because both are vector formats — lines stay crisp at any zoom. You may lose CAD-specific data like layers and hatches, which can flatten or explode into many paths, but the core geometry converts without rasterising.
Why is my converted SVG empty or missing lines?+
The converter likely exported only one layer or a layout sheet instead of the model-space geometry. Make sure all needed layers are visible and that you are converting model space, then try again or use the DXF-to-Inkscape route.
Can I edit the SVG after converting from DWG?+
Yes. SVG is fully editable in vector tools like Inkscape, Illustrator and Figma. You can recolour strokes, delete stray paths, set fills and crop the canvas, which is often necessary to tidy up a fresh CAD conversion.
Related downloads
Blocks for this guide
Popular blocks to download
Related categories
Related guides
How-to guide
How to Edit a Block in AutoCAD (BEDIT)
Edit a block in AutoCAD with BEDIT — open the Block Editor, change the geometry, save, and update every inserted instance at once. Tips and pitfalls.
How-to guide
How to Explode a Block in AutoCAD (EXPLODE)
How to explode a block in AutoCAD with EXPLODE — break a block into editable lines, handle nested blocks, and use BURST to keep attributes.
How-to guide
How to Rename a Block in AutoCAD (RENAME)
How to rename a block in AutoCAD with RENAME — change a block's name without breaking its references, fix imported names, and apply a convention.
