Image to STL
Build a closed lithophane or relief mesh from a photo on this device, then download STL or 3MF.
Image & settings
3D model
How to use Image to STL
- Open an imageDrop a JPEG, PNG, WebP, GIF, BMP or AVIF file. SVG drawings belong on SVG to STL, which extrudes filled paths instead of a height map.
- Choose the styleLithophane mode makes darker areas thicker for a back-lit panel. Relief mode raises lighter pixels. Set the width in millimetres, the flat base, the relief height and the mesh detail.
- DownloadPreview the solid, then save a binary or ASCII STL, or a 3MF. STL has no unit, so slicers should treat the numbers as millimetres.
Limits and how it works
- JPEG, PNG, WebP, GIF, BMP and AVIF, up to 20 MB. SVG is not accepted.
- Width and height 10–400 mm, base 0.2–20 mm, relief 0.2–20 mm, mesh detail 8–400 cells on the long side (default 200).
- Images larger than 4,096 pixels on a side are downsampled. The mesh is limited to 2,000,000 triangles and is kept in memory until you download it.
- No upload, no account, and no AI 3D reconstruction.
How an image becomes a lithophane mesh
The picture is read in this tab and converted to Rec. 709 luminance (0.2126 R + 0.7152 G + 0.0722 B), multiplied by alpha so transparent pixels sit low. A grid samples that brightness and lifts a front face above a flat back at z = 0, with side walls so the result is a closed solid. In lithophane mode, darker pixels are thicker — the usual back-lit panel. In relief mode, lighter pixels are taller. This is a height map from brightness, not photogrammetry or AI 3D reconstruction, and it will not recover a full object from a photo.
The mesh is built and previewed with unmodified three.js 0.187.0 (MIT), already listed on the licenses page. STL is written with the three.js STLExporter. 3MF is packed with the same millimetre-unit helper used by other tools on this site (JSZip, MIT). Nothing is sent to a server.
Use SVG to STL when you have a vector logo or cut-out to extrude to a constant depth. Use STL to 3MF or 3MF to STL to change formats of an existing mesh, and 3D Model Viewer to inspect a file. This page only builds a relief from a raster image. If a back-lit print looks mirrored, mirror the model in your slicer. Images wider or taller than 4,096 pixels are downsampled for the height map.
Frequently asked questions
Is this the same as SVG to STL?
No. SVG to STL extrudes filled SVG paths to a uniform depth. This page maps the brightness of a raster image onto a height field and builds a closed plate.
Will this turn a photo into a 3D statue?
No. It only raises or thickens the surface from brightness. It does not reconstruct depth the way photogrammetry or AI 3D tools do.
What do the thickness numbers mean?
Width, height, base and relief are in millimetres. The 3MF file records millimetres. STL has no unit — tell your slicer the numbers are millimetres.
Which images can I use?
JPEG, PNG, WebP, GIF, BMP and AVIF, up to 20 MB. Animated GIFs use the first frame the browser draws. SVG files are rejected; use SVG to STL for those.
Is the file uploaded?
No. The image stays in this tab.
Related tools
All toolsSVG to STL Converter
Extrude an SVG drawing into a 3D-printable STL mesh
STL to 3MF Converter
Convert a printable STL mesh to a 3MF package
3MF to STL Converter
Convert a 3MF print package to a printable STL mesh.
3D Model Viewer
Open STL, OBJ, GLB/glTF and PLY files in an interactive 3D viewer.