Convert SVG to glTF

SVG fileSVGglTF file

Convert a SVG file to glTF in your browser. Free, no upload, no sign-up.

Loading converter…

Convert SVG files to glTF directly in your browser. The converter extrudes every filled shape in the SVG to the thickness you choose and writes the resulting solid as glTF. Nothing is uploaded, there is no file size limit beyond your computer's memory, and the result downloads instantly. glTF gives you a readable JSON scene that is easy to inspect, diff or post-process in a build pipeline.

How to convert SVG to glTF

  1. 1
    Drop your SVG file

    Drag a .svg file onto the box above or click to choose one. Filled paths are extruded; strokes, gradients, text elements that were not converted to outlines, and embedded raster images are ignored. Convert text to paths in your vector editor first.

  2. 2
    Set the extrusion depth

    Enter how thick the 3D shape should be in millimeters before dropping the file, or change it and reconvert.

  3. 3
    Check the preview

    The model renders in 3D so you can confirm it loaded correctly. Dimensions, volume and triangle count are shown next to it; open edges are flagged if the mesh is not watertight.

  4. 4
    Download the glTF

    Adjust the export options if needed and click download. Buffers are embedded in the JSON as base64, so the output is a single file.

What is a SVG file?

SVG is the standard 2D vector format. It has no depth, so converting it to a 3D format means extruding the filled shapes into solids of a chosen thickness. This is how logos, text, cookie cutters, keychains and signs are turned into printable models.

Commonly used by: Illustrator, Inkscape, Figma, logo files, laser cutting

Filled paths are extruded; strokes, gradients, text elements that were not converted to outlines, and embedded raster images are ignored. Convert text to paths in your vector editor first.

What is a glTF file?

glTF is the JSON form of the same Khronos standard as GLB. The .gltf file describes the scene as readable JSON; binary buffers and textures may be embedded as base64 or kept as separate files. It is convenient when you want to inspect or edit the scene description by hand.

Commonly used by: web developers, Babylon.js / three.js, Blender, Unity and Unreal importers

glTF gives you a readable JSON scene that is easy to inspect, diff or post-process in a build pipeline.

SVG vs glTF

SVGglTF
Full nameScalable Vector GraphicsGL Transmission Format
EncodingTextText
Geometry typeExact (B-rep / curves)Triangle mesh
ColorsYesYes
TexturesNoYes
MaterialsNoYes
Stores unitsYesYes
Multiple objectsYesYes
Typical useIllustrator, Inkscape, Figmaweb developers, Babylon.js / three.js, Blender

Frequently asked questions

Related converters