JPEG to STL

JPEG → Printable STL: photo reliefs/lithophanes, or contour solids, free online.

Loading...

Please wait

About This Tool

Designed for JPEG photos (same as JPG): heightmap maps brightness to reliefs and lithophanes, contour extracts outlines for solids. JPEG is lossy with no alpha channel, so use clear images with minimal compression artifacts. All processing is completed locally in your browser.

Tips

  • 1Use clear JPEGs with minimal compression artifacts for cleaner reliefs
  • 2Heightmap suits portraits/landscapes; contour suits high-contrast patterns
  • 3Adjust resolution to balance detail and face count

Examples

Original

Original

Contour

Contour

Heightmap

Heightmap

About Configuration Options

Conversion Mode

Conversion Mode

DefaultContour

Select how the image should be converted into 3D geometry.

ContourRecommended

Generates solid shapes with uniform thickness from image outlines. Ideal for stamps, logos, nameplates, and other uniform-thickness objects.

Heightmap

Creates a relief surface based on image brightness, so brighter areas are raised and darker areas are recessed. Perfect for photo reliefs, terrain models, and artistic surfaces.

Contour Settings

Invert

DefaultOff

Swap which parts of the image become solid and which become empty. Useful when the background is lighter than the subject.

OffRecommended
On

Threshold

Default128

Range0 – 255

Controls the brightness cut-off point that determines which pixels become solid geometry. Lower values include more pixels as solid; higher values only include the darkest areas.

Depth

Default10

Range1 – 100

The thickness of the extruded geometry in millimeters. Controls how tall the final 3D model will be.

Bevel

Default0.5

Range0 – 5 · step 0.1

Adds rounded edges to the contour shape for a smoother, more polished finish. Higher values create more rounded edges.

Bevel Segments

Default3

Range1 – 8

The number of segments used to create the bevel curve. More segments produce smoother bevels at the cost of more geometry.

Angle Protection

Default0.8

Range0 – 1 · step 0.1

Preserves sharp corners and fine details by controlling the angle threshold. Lower values protect more detail; higher values smooth more aggressively.

Quality

Default1

Range0.1 – 2 · step 0.1

Controls the resolution of the generated mesh. Higher quality produces smoother surfaces but larger file sizes.

Heightmap Settings

Max Height

Default5

Range0.5 – 20 · step 0.5

The maximum height of the raised areas in millimeters. Controls the overall relief depth.

Base Thickness

Default1

Range0 – 5 · step 0.5

The thickness of the flat base plate beneath the relief. A thicker base provides more stability for printing.

Smooth Level

Default2

Range0 – 10

Applies smoothing to the heightmap surface to reduce noise and stair-stepping artifacts. Higher values produce smoother surfaces.

Resolution

Default400

Range100 – 400 · step 50

Controls the detail level of the generated mesh. Higher resolution preserves more image detail but increases file size.

Invert

DefaultOff

Swap the height mapping, so brighter areas become recessed and darker areas become raised.

OffRecommended
On

Format Information

Input format

Extension:
jpg, jpeg
Full Name:
JPEG (Joint Photographic Experts Group)
Type:
Image
Format:
JPG / JPEG
Open With:
Image EditorWindows PhotosPreview (Mac)
Description:
JPG (JPEG) is the most universal lossy photo format, standardized by the JPEG committee in 1992, offering a good balance between quality and file size, and supported by virtually every device and software. It is ideal for photographs, screenshots, and web images. The downside of JPG is that compression introduces block artifacts and it does not support transparency, causing edges and text to blur. For image-to-3D conversion, JPG suits photographic height maps, but for contour-based conversion, PNG is recommended for clean edges; artifacts at the boundary between dark backgrounds and subject may affect the quality of the generated mesh.

Notes:

  • Maximum supported resolution: 4096×4096 pixels
  • Lossy compression may introduce artifacts on sharp edges

Supported Features:

  • Efficient lossy compression for photos
  • Broad compatibility across all platforms and editing tools
  • 24-bit RGB color support

Output format

Extension:
stl
Full Name:
Stereolithography
Type:
3D Mesh
Format:
STL (Binary / ASCII)
Open With:
Slicer SoftwareMeshLabWindows 3D ViewerSTL Viewer Online
Description:
STL is the de facto standard mesh format in 3D printing, storing only triangular surface data since 1987, without color, texture, or material. Almost all slicers (Cura, PrusaSlicer, Bambu Studio, ChiTuBox) and printers directly support STL, ensuring its enduring popularity. Two classic pitfalls: STL lacks unit definitions, making millimeters and inches indistinguishable on disk; always verify scale in your slicer. It also has ASCII (readable but 4-6x larger) and binary (compact, default) encodings. For multi-color printing, materials, or parameters, switch to 3MF, which carries richer print information while maintaining slicer compatibility.

Notes:

  • Does not support colors, textures or materials
  • No unit definition; verify scale in your slicer
  • ASCII format is 4-6× larger than binary

Supported Features:

  • Triangle mesh only, simple and universally compatible
  • Binary and ASCII encoding options
  • Directly importable into Cura, PrusaSlicer, Chitubox, etc.

How to Use

1

Upload your JPEG

Drag in a JPEG: there is no alpha channel, so use clear images with minimal compression artifacts.

2

Choose a conversion mode

Heightmap suits portraits/landscapes and lithophanes; contour extracts solid outlines from high-contrast patterns.

3

Tune and download

Adjust thickness and resolution, then download the STL.

Frequently Asked Questions

View all FAQs
Q

Is there a difference between converting JPEG and JPG to STL?

A

No essential difference: JPEG and JPG are the same image format with different file extensions. This page is tailored for "jpeg to stl" search queries; the functionality is identical to JPG to STL.

Q

How do I choose between heightmap and contour modes?

A

Heightmap generates height based on brightness, suitable for photo reliefs and lithophanes; contour extracts outlines and extrudes solids, suitable for high-contrast icons and silhouettes. JPEG has no transparency, so for cut-out stamps, transparent PNG is recommended.

Q

How can I get cleaner conversion results?

A

Use high-resolution images with clear contrast and minimal blocky artifacts; you can enhance contrast or convert to grayscale first. Low-quality JPEGs will leave noise on the relief surface.

Q

Can the output STL be printed directly?

A

Contour solids can usually be sliced directly; for reliefs/lithophanes, check the base thickness and wall thickness. STL does not contain color; for colored models, use "JPEG to 3MF".

Q

How thick should the base be for a lithophane or relief?

A

Base thickness is set in millimeters (0-5 mm). A 1-2 mm base is a common starting point for lithophanes so the panel stays sturdy while remaining translucent; for plain reliefs on a slab, 1-3 mm works well.

Q

Why does my relief look inverted: bright areas sunken?

A

Heightmap mode raises the bright areas by default, so dark-on-light images can come out inverted. Use the invert option to flip the direction, or start from a properly exposed image, and check the preview before exporting.

Support Us