SVG to STL Converter
Extrude the filled shapes and strokes in an SVG into a straight-walled solid, saved as binary STL in millimetres.
Drop an .svg file here
One plain .svg file, up to 20 MiB (about 21 MB).
or drop one here.
- Set the sizeSize: DPI or target width in mmHeight and optional base plate
- Choose colorsColors: include each one and set its height
- Check and export3D preview, size, warnings and skipped itemsExport: one STL, or one per color (ZIP)
How to convert SVG to STL: the short answer
Last updated: 2026-12-02 · By the 3MFtoSTL team


Convert an SVG to STL in 3 steps
You need one plain .svg file, and you make the size and height decisions before downloading anything.
Add your SVG.
Drop one file into the converter. Read the warnings and the list of skipped items, such as live text or embedded images.
Set size and shape.
Check width and depth in mm. Then set the extrusion height, switch on a base if needed, and choose which colors to include.
Check and download.
Look over holes, thin lines and loose parts in the preview. Download one STL or a ZIP split by color, then confirm the size in your slicer.

The conversion only reads your SVG, so the original drawing stays as you saved it. If something looks wrong, fix it in your design software and load the file again.
SVG to STL size: pixels, millimetres and 96 DPI
Your SVG can come out the wrong size when its pixel units are read at a different DPI from the one intended. CSS defines 96 px as 1 inch, or 25.4 mm, so one pixel is about 0.2646 mm.
The converter reads the width and height on the outer svg element first. Units such as mm, cm, in, pt and pc convert directly, whatever DPI you pick. The viewBox then maps the drawing's own coordinates onto that page.
For example, width="100mm" with viewBox="0 0 200 100" and a full-page rectangle measured 100 × 50 mm in our module test. DPI matters only for pixel or unitless values, and the default is 96.
We ran one 960 px wide rectangle through the converter at three DPI settings, and only that one setting changed between these three runs.
| DPI setting | Resulting width | Compared with 96 DPI |
|---|---|---|
| 96 | 254.0 mm | Same |
| 90 | 270.9 mm | 16/15 as large |
| 72 | 338.7 mm | 4/3 as large |
So if a pixel-based file is off by one of these ratios, change the DPI. You can also type a target width from 0.1 to 2,000 mm, which scales the drawing in proportion and leaves your extrusion height alone.
That target is the width of the shapes you keep, without the blank page margin or the base. If a file gives only percentages or no page size, confirm the millimetres.
STL stores no unit, so compare one known length, such as your artboard or logo width, again in your slicer. For a mesh without units, you can set units for an OBJ file.
Holes in letters and logos: SVG fill rules
Holes get filled when the fill rule or shape structure marks that area as solid. The converter follows the rule declared in the file: nonzero or evenodd.
Evenodd fills areas enclosed an odd number of times. Nonzero counts path direction, so an inner loop must run the opposite way to make a hole.
We tested a 20 mm square with a 10 mm square inside, drawn in the same direction, 3 mm high. Nonzero gave a solid 1,200 mm³; evenodd left a hole and gave 900 mm³.
Look at the preview from above before you download, then match what you see on screen with one of the rows in this table.
| What you see | Likely cause | What to do |
|---|---|---|
| The center of an O is solid | Same loop direction under nonzero | Reverse the inner path, or use evenodd |
| A separate inner shape cuts no hole | Two elements do not subtract by being stacked | Combine them into one compound path |
| A white "hole" is solid | White is a solid color | Untick white to cut it out |
| Solid and empty look swapped | Background shape or fill rule | Delete the background; check the compound path |
| Lines merge into one mass | Same-color areas are joined | Move them apart in your design software |
An excluded color still covers whatever was painted under it. In our test, unticking a white square on black opened a hole. A lower white height leaves a recess.
A color covering at least 95% of the page triggers a background warning. Your intent is never guessed.
Strokes, text and other things that do not extrude
A stroke becomes a wall at its line width, with the file's caps and joins.
With no fill, a 16 mm test square with a 2 mm stroke became an 18 mm hollow frame.
The first table lists drawing features that become solid geometry, including a few that change on the way and need a check.
| In your SVG | Result |
|---|---|
| Paths and basic shapes, including lines | Fills and strokes are extruded; lines use strokes |
| Groups, transforms, use and symbol | Resolved into placed shapes |
| Clip paths made of shapes | Applied; bounding-box units or a missing target warn and leave items unclipped |
| Fully showing masks, such as solid white | Applied as a clip |
| Dashed strokes | Drawn as solid lines, with a warning |
| Gradient or pattern fill | One solid area per paint, with a warning |
| Partial transparency | Treated as solid |


The next table covers content that is dropped or ignored, so read it whenever part of your design has gone missing.
| In your SVG | Result | What to do |
|---|---|---|
| Live text | Skipped; a text-only file stops with an error | Convert it to paths |
| Embedded or linked bitmap | Skipped | Trace it into vectors first |
| Hidden or zero-opacity items | Skipped | Make them visible if needed |
| Masks using gray, gradients or strokes | Masked item skipped, with a warning | Apply or flatten the mask |
| Fully clipped or masked items | Skipped and listed | Check them |
| Filters and arrow markers | Filter ignored; marker not drawn | Expand them into paths |
For text, Illustrator uses Type > Create Outlines. In Inkscape, convert the object to a path with Shift+Ctrl+C.
Strokes under 0.4 mm are counted, not thickened; thin fills are not counted. Widen them or scale up.
SVG to 3D model: height, base plate and color layers
SVG to 3D here means straight extrusion: your flat shapes gain thickness, with vertical walls and flat tops. It does not invent rounded, beveled or sculpted forms.
Extrusion height starts at 3 mm and accepts 0.05 to 500 mm, and each color can have its own value. The design lies flat, unmirrored when seen from above, with its underside at Z = 0.
The optional base is a rectangle around the included shapes. It starts 2 mm thick with a 2 mm margin; thickness accepts 0.2 to 100 mm and margin 0 to 500 mm. Your shapes stand on top, so base thickness adds to total height.
In our test, two 10 mm squares spanning 30 mm became a 34 × 14 × 5 mm model with the default base. In a merged export, that plate also links separate letters or icons.
Colors come from fills and strokes, and a later color trims what it covers, so choose the export after checking the layers.
| Export | You get | Choose it when |
|---|---|---|
| Merged | One binary STL; overlapping or edge-sharing solids are joined | You print in one filament or swap by height |
| One per color | A ZIP with one STL per included color, plus the base as its own file | You assign a filament to each part |

Files in the ZIP are numbered and named by color, such as 001-ff0000.stl, and share one origin. Import them together, keep their positions and check alignment. STL carries no color, so you pick filaments in the slicer, and splitting is limited to 64 colors.
If your starting point is already a 3D project, you can split a 3MF into one STL per object.
SVG print problems and what to do about them
People turning vector art into prints report these problems. Find your symptom and follow the link.
Each row separates what this converter handles from the work that still has to happen in your own design software or slicer.
| What you see | Why it happens | What this page does | If that is not enough |
|---|---|---|---|
| Too big or too small | Pixel sizes read at another DPI | Shows mm; takes DPI or width (size) | Compare one known length |
| Holes filled or inverted | Fill rule or path structure | Follows the file's rule (holes) | Make a compound path |
| Part of the art is missing | Text, bitmap or complex mask | Lists skips and warnings (support) | Convert, trace or flatten it |
| Thin lines or symbols vanish | Detail is too fine to print | Counts strokes under 0.4 mm | Widen details or scale up |
| Stroke edits seem ignored | Some tools read only fills | Extrudes strokes at their set width | Confirm the saved file has the edit |
| Overlaps or crossed curves | Messy artwork or font outlines | Resolves each fill and joins same-color areas | Run Union and clean up nodes |
| Floating letters or parts | Shapes never connect | Offers a base under everything | Draw your own bridges |
| Huge file stalls | Too many paths or points | Rejects files past set limits; stops after 25 seconds | Simplify or split the drawing |
| Colors need repeated exports | One file per layer by hand | Makes one STL per color in one run | Assign filaments in the slicer |
| Slicer or Tinkercad rejects the SVG | The importer cannot read it | Gives you an STL if it can read the file | Re-save as plain .svg |
| CAD feels like too much | You only need thickness | Asks for size and height | Use CAD for bevels or curved surfaces |
- Live text: 1 (Text that is not converted to paths cannot be extruded and was skipped)
- Bitmap image: 1 (Embedded images (bitmaps) cannot be extruded and were skipped)
- Strokes under 0.4 mm: 1, thinnest 0.3 mm. Some lines are thinner than 0.4 mm and may not print.
Start with size and skipped items, then inspect the holes and fine lines in the preview before you download anything.
Before you slice: size, skipped items and mesh check
Check the millimetres first, then the shapes and the warnings near the download button.
Use this table as a short routine before each download, especially after you change the DPI, the color choices, the heights or the base.
| Check | What it tells you |
|---|---|
| Width × depth × height | Whether scale and total thickness match your plan |
| Triangle count | Mesh detail; binary STL size is 84 bytes plus 50 per triangle |
| Skipped items and warnings | What was left out or changed |
| Mesh check counts | Non-manifold edges and flipped, duplicate or degenerate faces |
| 3D preview | Holes, missing art and parts that stand apart |
- Non-manifold edges
- 0
- Flipped faces
- 0
- Duplicate faces
- 0
- Degenerate faces
- 0
A count of zero does not prove a part will print. No separate-piece total is reported, so rotate the preview and look for gaps, or use your slicer's split command.
Curves become straight segments within 0.025 mm. Fill rules resolve crossing paths; gaps stay open, and no mesh repair runs.
Shapes meeting only at a point or hairline are separated by a few microns, with a warning. If separation fails, you still get the model and an unresolved-contact warning; fix that spot in your artwork.
The converter accepts files up to 20 MiB (about 21 MB), 50,000 drawn elements, 500,000 outline points and 2 million triangles. Each plan dimension must be 0.01 to 2,000 mm.
A conversion running past 25 seconds is stopped, with no partial download; simplify or split the file. You can later convert the STL to OBJ.
Import the SVG straight into your slicer instead
Your slicer can often import an SVG without converting it, so try that first if you already have one installed.
OrcaSlicer
SVG is on its supported import list. OrcaSlicer creates a model by extruding the 2D shapes.
Bambu Studio
The Add button accepts SVG. Its image guide uses File, Import, then scaling; Split to objects lets you delete a background rectangle.
PrusaSlicer
Right-click an existing object and choose Add part, then SVG. The SVG tool has Depth, Size and Use surface settings, with Join, Cut or Modifier operations.
Tinkercad
Use Import, pick the SVG and set its scale before loading. Tinkercad says bitmap data is not supported, and curves become straight segments.
Converting to STL still helps when you want to settle millimetre size, a base or color splits before import, or the recipient takes only STL. If your slicer rejects the SVG, try it here; an unreadable file gets a stated reason.
A compressed .svgz is not accepted, so save it as plain .svg. Separate SVG imports can need manual alignment, while our color split starts from one drawing with a shared origin.
Who converts SVG to STL
People converting SVG to STL usually have finished flat artwork and need a printable shape with a known size.
Self-made sample · 89 × 25 × 5 mmSign and nameplate makers
Set the lettering width in mm, then add a base under the design. Check that the margin leaves room for mounting.
Self-made sample · 60 × 25 × 3 mmKeychain and gift shops
Look for loose parts and thin strokes before taking an order. A hanging loop has to be part of your drawing.
Self-made sample · 121 × 65 × 7 mmMulticolor printers
Give colors different heights, or download one STL per color and assign filaments in your slicer.
Self-made sample · 41 × 41 × 5 mmDesigners without CAD
Keep editing in your vector app, then set size and height here. For an existing 3D model, try GLB to STL for 3D models.
Cookie cutters and stamps need cutting edges or mirrored faces, so choose a tool built for those shapes.
SVG to STL converters compared
Choose an SVG to STL converter by the feature your job needs, since several tools offer local processing without an account.
These notes summarize what each site says about itself, as read on December 1, 2026; we did not test any of the other tools.
| Converter | Processing | Size, color and strokes, as stated | Pick it when |
|---|---|---|---|
| SupaVoxel | Browser | Width in mm; up to 8 colors; strokes thickened; STL, 3MF or ZIP | You need 3MF |
| DevToolLab | Browser | Size in mm; color heights and ZIP; strokes skipped | Your artwork is fills only |
| STL Editor | Browser | Line width for outlines; 5 conversions monthly, 2 MB; premium plan | You need ASCII STL |
| Vextrude | Browser | Width in mm; per-path depth and color; several export formats | You also want GLB or PLY |
| STL Mesh | Browser | Fills only; STL, OBJ or GLB | You need OBJ or GLB too |
| ImageToStl | Its servers | Units and color settings; 500 MB; STL result stored 4 hours | Your file is very large |
| SVG 2 STL | Its servers | Files kept at least one week; anyone with the link can view them | Public, linkable files suit you |
| Slicer import | Your slicer | Settings differ by program | Your slicer already reads the file |
| 3MFtoSTL (this page) | Browser; free, no sign-in | DPI or width in mm; color heights and ZIP; strokes extruded | You want size and skip reports before STL |

- Non-manifold edges
- 0
- Flipped faces
- 0
- Duplicate faces
- 0
- Degenerate faces
- 0
Check current limits and terms on each site before sending client artwork. Our converter takes one file at a time and writes STL; it does not trace bitmaps, export 3MF or repair meshes.
SVG to STL FAQ
An SVG to STL conversion adds thickness to flat artwork, so most problems start with how that artwork was saved.
How do I convert an SVG file to STL?
Drop the file into the converter and check its size in millimetres. Set the height, base and colors, then download the STL and open it in your slicer. Check the size there once more.
Is it free, do I need an account, and is my file uploaded?
Yes, it is free to use, with no account and no sign-in. Your file is not uploaded: it is read and converted in your browser. The original is only read, and the STL arrives as a separate download.
Why is my STL the wrong size?
Pixel values need a DPI: 96 px is 25.4 mm at 96 DPI. Change the DPI or enter the width you want in mm. DPI does not resize a page declared in mm or inches.
Why are the holes in my letters filled in?
The loops probably count as solid under the file's fill rule, or they are separate elements. Combine them into one compound path, then check path direction or use evenodd.
Why is part of my SVG missing, including text?
Live text, bitmaps, hidden items and complex masks are skipped. Check the skipped list and warnings, then convert text to paths, trace images or flatten the mask. A file holding only live text stops with an error.
My SVG is only outlines. Will it print?
Visible strokes become walls at their line width, so an outline-only drawing makes a hollow shape. Check the thin-line warning, which counts strokes under 0.4 mm. Printing results still depend on your printer and settings.
Can each color have its own height?
Yes. Set each included color from 0.05 to 500 mm. Export one merged STL, or a ZIP with one file per color so you can assign filaments separately.
How thick should the extrusion be?
The starting value is 3 mm, which is a setting to adjust and has not been print-tested by us. Pick a value to suit how the part will be used, then print a small test. A base adds its own thickness underneath.
Can I convert a PNG or JPG to STL here?
No, this page needs vector shapes. Trace the picture into paths first and save the result as SVG. An SVG that only wraps a bitmap has nothing to extrude.
Can I make a cookie cutter or stamp from an SVG?
You can extrude the outline, but no cutting edge is created and stamp art is not mirrored for you. Use a dedicated tool when your project needs either of those features.
Can my slicer open an SVG without converting?
Often, yes: OrcaSlicer and Bambu Studio document SVG import, and PrusaSlicer adds SVG to an existing object. See the slicer steps; you may not need an STL.