3MFtoSTL

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

The flat self-made SVG badge
sample-badge.svgFlat drawing, 120 × 64 mm page, self-made sample
The same badge extruded into an STL model
sample-badge.stl121.0 × 65.0 × 7.0 mm with a 2 mm base · 1,640 triangles
A flat SVG logo next to the STL this converter's module wrote from it.

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.

  1. 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.

  2. 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.

  3. 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.

Filesample-badge.svg
Size on disk822 bytes
Skipped1 text, 1 image
Thin strokes1 (0.3 mm)
1. Add your SVG
Width × depth121.0 × 65.0 mm
#1f6feb4 mm
#2da44e3 mm
#f0a0205 mm
Base plate2 mm, 2 mm margin
2. Set size and shape
Extruded badge
sample-badge.stl82 KB
sample-badge.zip4 STL files
3. Check and download
The three steps with the readings from our sample badge.

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.

Choose an SVG file

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 settingResulting widthCompared with 96 DPI
96254.0 mmSame
90270.9 mm16/15 as large
72338.7 mm4/3 as large
960 px sample extruded at 96 DPI
96 DPI254.0 × 127.0 × 3.0 mm
960 px sample extruded at 90 DPI
90 DPI270.9 × 135.5 × 3.0 mm
960 px sample extruded at 72 DPI
72 DPI338.7 × 169.3 × 3.0 mm
The same 960 px wide SVG at three DPI settings. Each preview is fitted to its card, so compare the millimetres.

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.

Check your design's size in mm

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 seeLikely causeWhat to do
The center of an O is solidSame loop direction under nonzeroReverse the inner path, or use evenodd
A separate inner shape cuts no holeTwo elements do not subtract by being stackedCombine them into one compound path
A white "hole" is solidWhite is a solid colorUntick white to cut it out
Solid and empty look swappedBackground shape or fill ruleDelete the background; check the compound path
Lines merge into one massSame-color areas are joinedMove them apart in your design software
Square in a square extruded with the nonzero rule
nonzero1,200 mm³ · 12 triangles · inner square stays solid
Square in a square extruded with the evenodd rule
evenodd900 mm³ · 32 triangles · inner square is a hole
Same two loops, same direction, 20 mm outer square, 3 mm high.

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.

Preview the holes in your file

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 SVGResult
Paths and basic shapes, including linesFills and strokes are extruded; lines use strokes
Groups, transforms, use and symbolResolved into placed shapes
Clip paths made of shapesApplied; bounding-box units or a missing target warn and leave items unclipped
Fully showing masks, such as solid whiteApplied as a clip
Dashed strokesDrawn as solid lines, with a warning
Gradient or pattern fillOne solid area per paint, with a warning
Partial transparencyTreated as solid
A stroke-only house icon
SVG: strokes onlyNo fill anywhere, 2 mm line width, round caps and joins
The house icon as solid walls
STL: solid walls34.0 × 30.0 × 3.0 mm · 612 triangles
A stroke-only icon before and after strokes become walls.

The next table covers content that is dropped or ignored, so read it whenever part of your design has gone missing.

In your SVGResultWhat to do
Live textSkipped; a text-only file stops with an errorConvert it to paths
Embedded or linked bitmapSkippedTrace it into vectors first
Hidden or zero-opacity itemsSkippedMake them visible if needed
Masks using gray, gradients or strokesMasked item skipped, with a warningApply or flatten the mask
Fully clipped or masked itemsSkipped and listedCheck them
Filters and arrow markersFilter ignored; marker not drawnExpand 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.

See what your SVG skips

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.

ExportYou getChoose it when
MergedOne binary STL; overlapping or edge-sharing solids are joinedYou print in one filament or swap by height
One per colorA ZIP with one STL per included color, plus the base as its own fileYou assign a filament to each part
Three color solids lifted above the base plate
Colors and base, lifted apart for this pictureIn the files all parts share one origin
Archivesample-badge.zip · 17 KB
001-1f6feb.stl67 KB
002-2da44e.stl1 KB
003-f0a020.stl13 KB
004-base.stl684 bytes
#1f6feb height4 mm
#2da44e height3 mm
#f0a020 height5 mm
Base thickness2 mm
One STL per colorTotal height 7 mm
Our three-color sample with a base plate and a different height per color.

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.

Set height and base for your design

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 seeWhy it happensWhat this page doesIf that is not enough
Too big or too smallPixel sizes read at another DPIShows mm; takes DPI or width (size)Compare one known length
Holes filled or invertedFill rule or path structureFollows the file's rule (holes)Make a compound path
Part of the art is missingText, bitmap or complex maskLists skips and warnings (support)Convert, trace or flatten it
Thin lines or symbols vanishDetail is too fine to printCounts strokes under 0.4 mmWiden details or scale up
Stroke edits seem ignoredSome tools read only fillsExtrudes strokes at their set widthConfirm the saved file has the edit
Overlaps or crossed curvesMessy artwork or font outlinesResolves each fill and joins same-color areasRun Union and clean up nodes
Floating letters or partsShapes never connectOffers a base under everythingDraw your own bridges
Huge file stallsToo many paths or pointsRejects files past set limits; stops after 25 secondsSimplify or split the drawing
Colors need repeated exportsOne file per layer by handMakes one STL per color in one runAssign filaments in the slicer
Slicer or Tinkercad rejects the SVGThe importer cannot read itGives you an STL if it can read the fileRe-save as plain .svg
CAD feels like too muchYou only need thicknessAsks for size and heightUse CAD for bevels or curved surfaces
2 items skipped, 1 thin stroke
  • 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.
What the converter module reported for our sample badge, which holds one line of live text and one linked image.

Start with size and skipped items, then inspect the holes and fine lines in the preview before you download anything.

Run your file through the checks

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.

CheckWhat it tells you
Width × depth × heightWhether scale and total thickness match your plan
Triangle countMesh detail; binary STL size is 84 bytes plus 50 per triangle
Skipped items and warningsWhat was left out or changed
Mesh check countsNon-manifold edges and flipped, duplicate or degenerate faces
3D previewHoles, missing art and parts that stand apart
Width × depth × height121.0 × 65.0 × 7.0 mm
Triangles1,640
Binary STL size82,084 bytes
Non-manifold edges
0
Flipped faces
0
Duplicate faces
0
Degenerate faces
0
Readings for the sample badge. The mesh counts come from the site's shared mesh check.

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.

Check your design before download

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.

A nameplate sample extruded by the converterSelf-made sample · 89 × 25 × 5 mm

Sign and nameplate makers

Set the lettering width in mm, then add a base under the design. Check that the margin leaves room for mounting.

A keychain sample extruded by the converterSelf-made sample · 60 × 25 × 3 mm

Keychain and gift shops

Look for loose parts and thin strokes before taking an order. A hanging loop has to be part of your drawing.

The three-color badge extruded by the converterSelf-made sample · 121 × 65 × 7 mm

Multicolor printers

Give colors different heights, or download one STL per color and assign filaments in your slicer.

A monogram sample extruded by the converterSelf-made sample · 41 × 41 × 5 mm

Designers 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.

ConverterProcessingSize, color and strokes, as statedPick it when
SupaVoxelBrowserWidth in mm; up to 8 colors; strokes thickened; STL, 3MF or ZIPYou need 3MF
DevToolLabBrowserSize in mm; color heights and ZIP; strokes skippedYour artwork is fills only
STL EditorBrowserLine width for outlines; 5 conversions monthly, 2 MB; premium planYou need ASCII STL
VextrudeBrowserWidth in mm; per-path depth and color; several export formatsYou also want GLB or PLY
STL MeshBrowserFills only; STL, OBJ or GLBYou need OBJ or GLB too
ImageToStlIts serversUnits and color settings; 500 MB; STL result stored 4 hoursYour file is very large
SVG 2 STLIts serversFiles kept at least one week; anyone with the link can view themPublic, linkable files suit you
Slicer importYour slicerSettings differ by programYour slicer already reads the file
3MFtoSTL (this page)Browser; free, no sign-inDPI or width in mm; color heights and ZIP; strokes extrudedYou want size and skip reports before STL
The sample badge in its three colors on a base
sample-badge.stlPreview colored by source color; the STL itself stores no color
Width × depth × height121.0 × 65.0 × 7.0 mm
Triangles1,640
Binary STL size82,084 bytes
Non-manifold edges
0
Flipped faces
0
Duplicate faces
0
Degenerate faces
0
Result readingsSkipped: 1 text, 1 image · 1 stroke under 0.4 mm
This converter's output for the sample SVG.

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.

Convert an SVG file