JPG to STL

JPG photo → printable STL: heightmap relief/lithophane or contour stamp, free online.

Workspace

Drop files here

or click to browse, paste supported

About This Tool

For everyday JPG photos: heightmap maps brightness to a relief, great for portrait reliefs and lithophane panels; Outline Extrude mode extracts outlines into solid stamps or silhouettes. JPG has no transparency channel, so crop complex backgrounds first. The photo is turned into geometry locally in your browser.

How to Use

  • Upload your JPG photo

    Drag in a JPG; crop busy backgrounds first and choose high-contrast subjects for sharper reliefs.

  • Choose a mode

    Heightmap builds a relief or lithophane from brightness; Outline Extrude mode extracts outlines for a solid stamp.

  • Adjust resolution and download

    Balance detail against polygon count, then download the STL and print it.

About Configuration Options

Conversion Mode

Conversion Mode

Outline Extrude
Select how the image should be converted into 3D geometry.
  • Outline ExtrudeRecommended: Generates solid shapes with uniform thickness from image outlines. Ideal for stamps, logos, nameplates, and other uniform-thickness objects.
  • Heightmap: Creates a relief surface from the image's light and dark areas. By default darker parts are raised; change it under Raise By to lighter, vivid colors, or custom per color. Great for photo reliefs, terrain models, and artistic surfaces.

Size

Width (X)

100mm10mm – 500mm
Final model width, including the base. With the aspect ratio locked, the length follows the shape's proportions and does not change with Detail.

Length (Y)

Locked to the width by the shape's aspect ratio. Editing it rescales the width.

Lock Aspect Ratio

on
When on, the height follows the width using the shape's proportions. Turn off to set width and height separately (the model is stretched).

Background

Background

By Brightness
By Brightness: transparent areas of a PNG are the background; opaque images are split by Threshold. Remove by Color: transparent areas plus pixels close to any picked color are removed. Keep Background: nothing is removed.

By Brightness · Remove by Color · Keep Background

Background Colors

#ffffff
Pixels close to any of these colors are removed. Add a second color for gray-and-white checkerboards or two-tone backgrounds (up to 4).

Tolerance

150 – 100
Higher values also remove colors further from the picked ones. Raise it if a colored fringe remains or the background is uneven.

Transparent Fill

White
Fill transparent areas with this color and keep the whole image.

White · Black

stl|Open With: Slicer Software、MeshLab、Windows 3D Viewer、STL Viewer Online

Frequently Asked Questions

View all FAQs

What is JPG to STL best for?

It is best for photo reliefs and lithophane panels using the heightmap mode. Simple high-contrast images can also become stamp-style solids with the Outline Extrude mode. Since JPG has no transparency, cutout stamps are easier with a transparent PNG.

What's the difference between photo-to-3D printing and lithophane?

A heightmap maps brightness to thickness: lithophanes use backlighting to reveal the image while regular reliefs rely on surface variation. The Outline Extrude mode extracts outlines and extrudes them into a solid. You can switch modes and adjust resolution before converting.

What if a complex-color JPG gives poor results?

First increase contrast, crop out cluttered backgrounds, or convert the image to grayscale before uploading. The tool relies mainly on brightness information, so clean black-and-white or grayscale images are usually more reliable.

Will the STL preserve photo colors?

No. STL stores geometry only. For a color photo model, use the JPG-to-3MF tool or paint the print after it finishes.

Will converting a very large JPG be slow?

Everything runs locally in your browser, so a huge image takes longer and creates a heavier model. Lower the resolution setting (100-400) to convert faster with fewer polygons, or resize the image first.

How do I smooth a rough or noisy surface?

JPEG compression noise can carry into the relief surface. Increase the smooth level (0-10) to soften it, and start from a higher-quality export for the cleanest result.