SVG to STL Converter
Turn an SVG into a closed 3D solid, with a height for each colour. In your browser, with no upload.
Paths, shapes and strokes. It stays on this device.
A later shape covers an earlier one, the same way your browser draws the file.
- One height, or a different height for each colour
- Overlaps are merged, so the file stays one closed solid
- Clipping paths are applied. Live text can’t be, so we stop and say so
Working…
Drag to turn, scroll or pinch to zoom.
This browser can’t show the 3D view (WebGL is off). The check and the download still work.
Set a colour to 0 to leave it out.
Notes on this file
How colours become height
We read your SVG in the order it paints. What you can see of each colour becomes that colour’s region, and you choose how tall it stands. The real size comes from the SVG when it states one. Otherwise, type the width.
The base joins every colour into one piece. Set it to 0 and colours that don’t touch stay separate parts. For colour swaps on one nozzle, use different heights. For several colours at once, download one STL per colour: each body keeps its height and they line up when loaded together.
What won’t come through
Live text can’t be converted, because an SVG doesn’t store its fonts. Convert text to outlines in Inkscape, Illustrator or your vector program first. Embedded pictures, masks, filters and markers are left out too, as are animations, positions and sizes set in CSS, and CSS transforms we can’t read, such as 3D or calc(). In each of these cases the page lists what is missing and holds the download until you agree. Ordinary CSS transforms are applied.
Gradients become one flat colour and dashed lines come out solid. The notes under the button say when that happened. For a photo, use the Lithophane Maker.
What was tested, and what wasn’t
We ran this page in a headless Chromium browser on 6 real SVGs and on 51 awkward ones we or our checker made, such as clipping paths, live text, cut-off files and hidden scripts. Where shapes must match, we compared the solid from above with the browser’s own drawing of the file. Each download was read by three separate programs: a verifier of our own, trimesh and numpy-stl. All were closed, and the volumes agreed. The largest real file was the Ghostscript Tiger, with 39 colours, which took about 35 seconds on our laptop. We haven’t tried Safari or Firefox, or a real phone.
Nothing here has been opened in a slicer or printed. MakerJig has no printer. Very thin shapes pass this check and may still not print. Read how we test.
FAQ
How do I convert an SVG to STL?
Drop the SVG here, set the width and the height, and press Download STL once the check passes. There’s nothing to install and no account.
Is my SVG uploaded?
No. The file is read and converted by this browser tab. Every test run logs the requests made while a file is in use, and none of them holds the file, its name or any part of it. The page still sends a page-view count and one “tool finished” count, which name the tool and not your file.
Why is my text missing?
Text in an SVG is letters plus a font name. The font itself isn’t in the file, so we can’t draw the shapes. Convert text to paths: in Inkscape, Path, Object to Path. In Illustrator, Type, Create Outlines. Then open the file again.
Does it respect clipping paths?
Yes, for clipping paths made of shapes. A clipping path holding text or a picture, or a box-relative clip on a whole group, can’t be read. The page says so and holds the download until you agree.
How big will the STL be in real life?
STL has no units, and slicers read the numbers as millimetres. We write millimetres. The size under the view is the size in the file, read back after writing it.
Can I make a two-colour print from one SVG?
Yes. Use different heights and a colour swap at the layer where the height changes, or download one STL per colour and load them together in your slicer. We haven’t test-printed either route.
Why is the download switched off?
The page writes the STL and reads those bytes back. If an edge doesn’t join exactly two faces, the file doesn’t pass and you don’t get it. It also stays off while part of your drawing is missing, until you tick the box.
How large a file can it take?
60 MB on a computer and 15 MB on a phone. These are this page’s own limits, chosen to protect the tab, not measured limits of a phone. A drawing with thousands of shapes can take a while, and you can press Stop.
More free tools
Updated .