JPG to STL Converter
This free JPG to STL converter turns a JPEG photo of up to 10 MB into a printable binary STL in your browser — a depth relief, a lithophane panel or a cut-out silhouette — with no signup and nothing uploaded. EXIF rotation is applied automatically, output is in millimetres (100 mm longest side by default), and detail is capped by a 256-cell grid.
Last updated: 2026-10-22
Why JPG photos work well for reliefs and badly for logos
JPEG is a lossy format built for photographs. It divides the image into 8x8 pixel blocks, transforms them, and discards the detail human eyes are least likely to notice — which is a good trade for a 4 MB holiday photo and a bad one for a two-colour logo. What survives is continuous tone: exactly the shading information a heightmap needs to build depth.
That makes JPG the natural source for anything portrait-shaped: face reliefs, photo lithophanes, pet plaques, scenery panels. A phone photo carries real lighting, real shadow and real texture, and heightmap mode turns all three into printable depth. The same file is the wrong choice for a logo, where JPEG ringing around hard edges becomes speckles once the threshold cuts it.
Two JPG quirks are worth knowing. First, it is the format that carries EXIF orientation: phone cameras store the sensor image plus a rotation flag, and modern browsers apply that flag when decoding, so a portrait photo arrives upright rather than sideways. Second, chroma subsampling means colour is stored at half resolution while brightness is stored at full — irrelevant here, because conversion reads luminance only.
How to convert JPG to STL
Drop a JPG of up to 10 MB and pick a mode. Heightmap is the default and the right choice for almost every photograph: brightness becomes height, so a bright face rises and a dark background sinks into the base. Extrude instead turns everything below a brightness threshold into a solid column and is meant for silhouettes and high-contrast artwork.
Start from the defaults — 3 mm of relief on a 1 mm base across a 100 mm longest side — then adjust one number at a time. Portraits usually want more relief depth, around 5 to 8 mm, so the nose and cheekbones read clearly. Small plaques want a smaller longest side, because 3 mm of relief on a 40 mm panel looks far deeper than the same 3 mm on a 150 mm one.
The preview updates before you commit, so check it in raking light: rotate until the shading is visible and confirm the face is not inverted (eyes should be hollows, not bumps). The download is a binary STL in millimetres, centred and sitting at Z=0, ready to drop into a slicer.
JPG-specific problems and fixes
Speckles and detached crumbs in extrude mode come from JPEG artifacts: ringing around dark edges creates near-black pixels a few shades off, and the threshold either keeps or drops them semi-randomly. One or two smoothing passes before thresholding removes most of it; if the source truly is a logo, export it as PNG instead.
Banding in skies and soft gradients is 8-bit quantisation showing up as visible steps in the relief. One smoothing pass on the height field evens the steps out, and the physical print hides the rest — at 0.2 mm layers a shade difference of one grey level is a fraction of a layer thick.
A flat, muddy relief almost always means a low-contrast source: an overcast photo, a hazy background, a washed-out exposure. Heightmap converts luminance directly, so if the whole photo sits in mid-grey, the whole panel sits in mid-height. Raise contrast before uploading, or pick a photo with directional light and real shadow.
The DPI tag in a JPEG's metadata is inert here too. Cameras and scanners write 72, 300 or 600 into it and image editors display it prominently, but it has no effect on the model, because the converter reads pixels rather than print metadata. Physical dimensions come from the size setting you choose. The same goes for EXIF timestamps, GPS coordinates and camera model: useful for a photo library, irrelevant to geometry.
Getting a good print from a phone photo
Light matters more than megapixels. Side lighting, a window at an angle or a desk lamp off to one side gives modelling to a face; on-camera flash flattens it and produces a bright nose and a dark rim. Shoot the subject against a plain, evenly lit background so the relief boundary is clean.
Crop first. The tool stretches the image to fill the model, so whatever is in frame decides the proportions: a generous background squeezes the face into a small raised area, while a tight crop uses the whole panel. Crop to the subject plus a little margin, then upload.
For a lithophane rather than a relief, switch invert on so dark regions print thick and bright regions thin, reduce the base to about 0.6 mm, and print the panel upright with 100 percent infill and white or translucent filament at 0.1 mm layers. The image appears only when backlit, so judge it against a lamp, not in your hand.
JPG to STL FAQ
Does converting a JPG to STL lose quality?
The JPEG already lost detail when it was saved — that happened in the camera, before this tool saw it. Conversion itself adds no further loss: the luminance values are sampled into a 256-cell grid and built into geometry. What you cannot recover is fine detail the JPEG encoder discarded, which is why a sharp, contrasty source matters more than a huge file.
Why does my photo come out flat and shallow?
Heightmap mode maps brightness straight to height, so a photo that lives in mid-grey produces a panel that lives in mid-height. Raise the relief strength, shrink the model's longest side so the same depth covers less area, or increase contrast in the source before uploading. A photo with directional light and deep shadow converts far better than a flatly lit one.
Does it handle photos taken in portrait orientation?
Yes. Browsers apply the EXIF rotation flag when decoding, so a phone photo shot upright arrives upright instead of sideways. If you still see a rotated result, the file was probably processed by a tool that stripped or rewrote the flag — rotate it in an image editor and re-upload.
What is the file size limit for a JPG?
10 MB per image. That is generous for a phone photo and easily hit by a full-frame camera export, so downscale or re-save at a higher JPEG compression level first. Because the mesh grid is capped at 256 cells, shrinking the file costs you no printable detail at all.
Can I make a lithophane from a JPG?
Yes, and JPG is a perfectly good source for it. Use heightmap mode with invert enabled so dark areas print thicker than bright ones, set the base to roughly 0.6 mm, and give the relief enough depth that the thickness range is visible. Print it vertically at 100 percent infill with translucent filament to see the image.
Why does my JPG fail to load?
The usual causes are a HEIC photo renamed to .jpg, a CMYK JPEG from a print workflow, or a file over the 10 MB cap. Browsers cannot decode the first two. Re-export as a standard sRGB JPEG or a PNG, or reduce the file size, and it will load.
Can I get a full 3D model of a person from one JPG?
Not from the free tool — a single image cannot reveal the side or the back of a subject, so relief is the honest output. The paid AI mode reconstructs an approximate full model from one image with credits, which suits stylised figures but is not dimensionally reliable and needs checking before printing.
Is this JPG to STL converter free?
Yes. Every conversion on this page — relief, lithophane, silhouette — is free: no account, no watermark, no per-file charge and no daily limit. The separate AI mode is the only paid option, at 20 credits per generation, and a relief never needs it.