SVG to STL Converter
Turn an SVG into a solid STL you can 3D print. Real paths, not a trace, at the size you set.
Built and maintained by Matúš Koleják, Co-Founder, TechDraw AI
Updated
Drop a file here. It never leaves your browser.
DXF (ASCII or binary), DWG (R14 to 2018+), SVG · any size · free · STL first, DXF, DWG, PDF one click away
Have a different file? DXF to STL Converter · DWG to STL Converter
How to convert an SVG to STL
Add your SVG
Drop an SVG onto the tool, or click to choose one. It is read in your browser and never uploaded.
Check the preview
Zoom the preview, switch off any layers you do not want, set the thickness and the size.
Download STL
Click Download STL. DXF, DWG, PDF are one click away from the same file.
What happens to your file
The SVG is read as geometry, every closed outline is found, holes are sorted from outlines, and the result is extruded to the thickness you set and written as a watertight binary STL at the drawing's real size. Open paths cannot bound a solid and are left out; the page tells you how many.
Whatever cannot be converted is listed under the preview by type and count, so a drawing with 3D solids or an external reference tells you so instead of coming out quietly incomplete. Need a photo or scan turned into a drawing instead? That is the image to DXF converter and the AI drawing generator.
About formats
SVG (Scalable Vector Graphics) is the W3C's XML format for two dimensional vector graphics, first published as a Recommendation in September 2001 and now in its 1.1 and 2.0 editions. A file is plain text: paths written as move, line, cubic and quadratic Bézier and elliptical arc commands, plus rectangles, circles, ellipses, polygons, text, groups and transforms, with styling through attributes or CSS. It was designed for screens, which is why its units are CSS pixels at 96 per inch unless the document declares a physical width, and why it carries things a cutter has no use for, such as gradients, filters, clipping and raster images. Every browser renders it natively, and Inkscape, Illustrator, Affinity and Figma all treat it as a primary export, which makes it the most common way vector artwork arrives at a laser or CNC shop. The step from SVG to CAD is less about geometry, which is already vector, and more about units, curves and which elements count: a converter has to decide what a pixel is in millimetres, flatten the Béziers to a tolerance the machine can follow, and leave out the decoration.
- Developer:
- W3C
- Initial release:
- September 2001
Frequently asked questions
Is SVG to STL conversion free?
Yes, with no watermark and no file limit. Everything runs in your browser, so the file never leaves your computer; a free account is needed only to download a converted file. Viewing needs no account at all.
Is my SVG uploaded anywhere?
No. The file is opened by JavaScript running in your browser tab and never sent to a server. You can disconnect from the internet after the page loads and the tool keeps working. That is the main reason to prefer this over an upload-and-email converter for a drawing you are not allowed to share.
How is the size decided?
From the file. If the SVG declares a physical width or height (Inkscape writes width="210mm"), the viewBox is mapped onto it and the drawing comes out at that size. If it only has pixel dimensions, the CSS convention of 96 pixels per inch applies, so a 960 px wide SVG becomes 254 mm. The size is shown after the file opens, and on the STL pages you can override it.
What in the SVG is converted?
Paths (all commands, including arcs and relative coordinates), rectangles with and without rounded corners, circles, ellipses, lines, polylines, polygons, text as a label, and <use> references, with every nested transform applied. Groups become layers. Gradients, filters, masks, clip paths and embedded images have no geometry and are skipped; text is not outlined, so convert text to paths in your editor first if you need it cut.
Why does it say some paths were left out?
An STL is a closed solid, and only a closed outline can bound one. Dimension lines, centre lines, leader lines and any outline whose ends do not meet are open paths and have no inside to fill, so they are skipped and counted. If a shape you wanted is missing, close it in your CAD program (PEDIT, Close in AutoCAD; Path, Close in Inkscape) and drop the file again.
How are holes handled?
By nesting. A closed outline inside another closed outline is a hole; an outline inside a hole is solid again, so the counter of a letter O and the island inside it both come out right. The mesh is built so every edge is shared by exactly two triangles, which is what a slicer needs to tell inside from outside.
What size will the STL be?
The drawing's real size by default, taken from the SVG's own units, so a 100 mm plate prints at 100 mm. You can instead set the longest side, which scales the whole model. Thickness is the extrusion height. An STL carries no units, and every slicer assumes millimetres, so that is what is written.
What is not converted?
3D solids, surfaces, meshes and regions (ACIS data), raster images, PDF underlays, OLE objects, external references, and paper-space layouts. Tables, multileaders and tolerances are read but not drawn. Whatever was skipped is listed under the preview after the file opens, by entity type and count, so nothing disappears silently.
I have a DXF or DWG instead. Can I still use this?
Yes. The converter on every one of these pages accepts DXF, DWG and SVG, whichever page you started from, and offers every output it can produce from that file.
Is there an API for SVG to STL?
Not for this tool yet. The converter runs entirely client-side. The REST API, command line tool and MCP server currently cover image to DXF, DWG and STL; if you need vector conversion in a pipeline, say so at the contact page and it moves up the list.