STL Mesh

SVG → STL · FREE · NO UPLOAD

SVG to STL — Turn Vector Art into a 3D Print

Drop an .svg file — logos, icons, line art — and get a 3D-printable .stl. Filled paths are extruded into solid geometry, entirely in the browser. Nothing uploaded.

Demo model — drop a file to replace it
Conversion runs locally in your browser.

How SVG to STL conversion works

SVG is a 2D vector format — paths, curves, and shapes defined by mathematical coordinates. STL is a 3D triangle mesh. Converting svg to stl means extruding those flat vector shapes into solid 3D geometry: each filled path gains depth and becomes a printable object.

SVG paths2D vector shapes —filled paths onlyINPUTExtrudepaths gain depth,become 3D solidsIN THIS TABSTL meshtriangle mesh,ready for slicingOUTPUT
The converter parses SVG paths, extrudes filled shapes into 3D, and exports a triangle mesh.

The extrusion depth is set proportionally to the SVG size — roughly 6% of the largest dimension, with a minimum of 1 unit (slicers assume millimeters). To adjust depth after conversion, scale the Z axis in your slicer. Colors from the SVG are shown in the 3D preview but STL itself is geometry-only — download as GLB if you need colored output.

What works and what does not

SVG featureSupportedNotes
Filled paths & shapesYesRectangles, circles, polygons, Bézier curves — the core use case
Compound paths (holes)YesHoles in letters (O, A, D) and shapes are preserved
Transforms & groupsYesTranslate, rotate, scale, nested <g> elements
Stroke-only pathsNoConvert strokes to fills in Inkscape (Path → Stroke to Path)
Text elementsNoConvert to outlines first (Object → Path in Inkscape)
Gradients & imagesNoOnly solid fill colors produce geometry

For best results, export a clean SVG from Inkscape or Illustrator with text converted to outlines and strokes converted to fills. Simple logos and icons convert most reliably.

FAQ

Is my SVG file uploaded to a server?+

No. Parsing the SVG and extruding the shapes both run in this tab with JavaScript. There is no upload endpoint — the file never leaves the device. The conversion works offline once the page has loaded.

What SVG features are supported?+

Filled paths and basic shapes (rectangles, circles, polygons, closed paths). The converter uses Three.js SVGLoader, which handles transforms, nested groups, and compound paths. Gradients, embedded images, filters, and clip-paths are ignored — only solid fills produce geometry.

My SVG has text — why is it missing in the STL?+

SVG text elements are not paths — they depend on fonts the browser has installed. Open the SVG in Inkscape or Illustrator and convert text to outlines (Object → Path in Inkscape, Create Outlines in Illustrator). The result is paths the converter can extrude.

How deep is the extrusion?+

The tool sets extrusion depth to about 6% of the SVG's largest dimension, with a minimum of 1 unit. Since slicers assume millimeters, a 200 × 200 SVG produces a model roughly 12 mm deep. To change the depth, scale the Z axis in your slicer after import.

Can I convert stroke-only SVGs?+

Not directly. The converter extrudes filled shapes — strokes with fill set to "none" are skipped. In Inkscape, select the stroked paths and use Path → Stroke to Path to convert them into filled shapes, then re-export the SVG.

Does it preserve colors?+

Fill colors from the SVG are applied as material colors in the 3D preview. STL itself does not store color — it is a geometry-only format. If you need colored output, download as GLB instead.

🧊
Written by Casey Marlin · Last updated
This update: extrusion via Three.js SVGLoader + ExtrudeGeometry — filled paths only