THE VECTOR FIELD GUIDE

Convert SVG to STL: Turn a Flat Vector into a 3D Print File

Convert SVG to STL by giving a flat vector shape depth in a 3D tool, then export the mesh for your slicer. Learn what STL is, how extrusion works, and the checks that stop failed prints.

By Shahab Uddin · Updated

The short answer

To convert SVG to STL, import the SVG into a 3D modelling tool, give the flat shapes depth by extruding them, and export the result as an STL file. An SVG is a flat vector drawing and an STL is a 3D mesh made of triangles, so the conversion adds a third dimension that the SVG does not have. This site has no direct SVG to STL converter tool, so use a 3D tool for the extrusion step, and use the SVG tools on this site first to prepare a clean SVG. Start with simple filled shapes and plain lettering, because fine detail and thin lines often fail in a print.

What converting SVG to STL actually does

An SVG file stores flat shapes as paths on a two dimensional plane. It has width and height, but no depth. An STL file stores a three dimensional surface as a mesh of small triangles. A slicer reads that mesh and turns it into layers for a 3D printer.

Converting SVG to STL means extrusion. The 3D tool takes each flat shape and pulls it upward to a depth you choose, so a flat logo becomes a solid object with a top, a bottom and sides. The depth is your choice, and it decides how thick the printed object will be.

An STL file stores shape only. It has no colour, no texture and no material setting. Colour and material are chosen later, in the slicer or on the printer. Keep the original SVG, because you will need it if you want a different depth or a different size later.

Step 1: check the SVG before you convert

Open the SVG in a browser tab before you convert it. Check that the shapes, colours and lettering look right, and that nothing is missing. A 3D tool can only extrude what the file actually contains, so a broken SVG gives a broken STL. Open the SVG in the SVG editor on this site to inspect the shapes and remove stray paths before you convert.

  1. Open the SVG in Chrome, Edge, Firefox or Safari and confirm it renders.
  2. Use simple filled shapes. Outlines with no fill extrude as thin walls, which may be too weak to print.
  3. Convert lettering to outlines in your vector editor first, or the 3D tool may fall back to a different font.
  4. Remove tiny details and thin lines that are smaller than your printer can reproduce. They will vanish or break off the print.
  5. Keep a copy of the original SVG. The STL cannot be turned back into clean paths.

Step 2: import the SVG into a 3D tool

Open a 3D modelling tool that imports SVG files, such as Tinkercad or Blender, and import the SVG. The shapes arrive as flat objects on the work plane, at the size stored in the SVG. Check the size before you extrude, because an SVG drawn in pixels may arrive much smaller or larger than you expect.

  1. Import the SVG file into the 3D tool.
  2. Check the width and height on the work plane, and scale the shapes to the size you want to print.
  3. Confirm that every shape you need is present, and delete any stray shapes or leftover guides.
  4. If the shapes arrive as separate pieces, group them so they extrude together.

Step 3: extrude the shapes and export STL

Extrusion gives the flat shapes depth. Set the depth, check the preview, and export the result as an STL file. A solid object needs a base that sits flat on the print bed, so check that the bottom of the model is flat before you export.

  1. Select the shapes and set the extrude depth. A shallow depth suits a keychain or a name plate, and a deeper depth suits a sign or a stand.
  2. Check the preview from the side to confirm the shapes have real thickness.
  3. Join any letters or shapes that must stay attached to the base, so nothing floats on its own.
  4. Export the model as an STL file, and keep the original SVG and the 3D project file for later changes.

Step 4: check the STL in your slicer

Open the STL in your slicer before you print. The slicer shows the layers, the print time and any parts that need support. A model that looks right in the 3D tool can still have floating parts or walls too thin to print, and the slicer is where those problems show up.

  1. Open the STL in your slicer and check the size against the print bed.
  2. Look at the layer preview for floating parts, gaps and walls that are too thin.
  3. Add supports in the slicer if the model has overhangs, or change the design so it prints without them.
  4. Print a small test first when the model is new, then print the full size version.

What to extrude, and what to check

UseShape to useCheck before printing
Flat keychainSolid filled shapesHoles are wide enough for a ring, and thin parts are thick enough to hold
Name plateLarge simple letters joined to a baseEvery letter touches the base, so nothing floats
Wall signBold shapes with plain letteringThe design sits flat, and the back is smooth
Cookie cutterOutline only, with no fillThe wall forms one closed loop, with no gaps

Common mistakes

  • Extruding an outline with no fill, which prints as a fragile thin wall instead of a solid shape.
  • Leaving lettering as live text, so the 3D tool swaps in a different font or drops the letters entirely.
  • Forgetting to check the size, so the model arrives tiny or larger than the print bed.
  • Leaving letters or shapes floating with no connection to the base, so they print as loose pieces.
  • Deleting the original SVG after the export, so a new depth or size means starting again.
  • Printing the first version at full size, instead of a small test that shows the problems sooner.

When STL is the wrong choice

Use STL only for 3D printing. For a website, a cutting machine or a laser cutter, keep the SVG itself, because those tools work with flat vector paths and do not need depth. For CNC or laser work, export the SVG as DXF with the SVG to DXF converter on this site instead.

STL is also the wrong choice for a photo or a detailed drawing. Tracing a photo into an SVG and then extruding it gives a blocky relief, not a copy of the photo. STL suits logos, icons, lettering and simple shapes, and nothing more detailed than that.

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

Can I convert SVG to STL for free?

Yes. Import the SVG into a free 3D modelling tool, extrude the shapes, and export the STL. The SVG tools on this site are also free, and they run in your browser with no account.

Does the STL keep the colours of the SVG?

No. An STL file stores shape only, with no colour, texture or material. Colour is chosen later, in the slicer or on the printer, for example by changing filament.

Can I turn a JPG photo into an STL?

Not directly. Trace the photo into an SVG first with the JPEG to SVG converter on this site, then extrude the SVG in a 3D tool. Photos trace as blocky shapes, so this suits simple logos and line art far better than detailed photos.

Why does my STL print as separate loose pieces?

Some shapes are not joined to the base, or the design has floating parts with no connection. Join the shapes in the 3D tool so every part touches the base or another part, then check the layer preview in your slicer before you print.

Next, make it useful.