How to Convert JPG to STL for 3D Printing
October 25, 2026 · 8 min read
Have you ever looked at a JPG photo and thought, "I wish I could hold this in my hands"? With image-to-STL conversion tools, you can. In this guide, we'll walk you through exactly how to convert a JPG image into a 3D-printable STL file — including the one problem JPGs have that PNGs don't: compression noise.
JPG vs PNG for STL Conversion: What Changes
The converter accepts both JPG and PNG (up to 10MB), and both work. The difference is noise:
- PNG is lossless — what you see is exactly what the converter reads. It is the cleaner starting point when you have the choice.
- JPG is compressed — the compression adds faint blocky artifacts, especially around edges and in flat areas like skies. The converter reads those artifacts as tiny height changes, which show up as rough texture in your model.
That doesn't mean you should avoid JPGs. Most photos people actually have are JPGs. It just means you need one extra step: clean the image up before converting, and use the converter's smoothing to handle what remains.
Step-by-Step: Converting JPG to STL
You will need: a JPG image and access to imagetostl.net (free, no account required).
Step 1: Choose the right JPG
The best JPGs for STL conversion have strong contrast — a clear difference between light and dark areas. Good candidates: logos, silhouettes, bold illustrations, and high-contrast portraits. Busy, low-contrast photos (a face in shadow, a landscape at dusk) produce muddy reliefs no matter what settings you use.
Pick the highest-resolution version you have. A small, heavily compressed JPG that has been shared through messaging apps will have more artifacts than the original from your camera roll.
Step 2: Clean up the JPG first
Before converting, spend two minutes on cleanup — it matters more for JPGs than for any other format:
- Convert to grayscale. Colour doesn't carry height information; brightness does. A grayscale version shows you exactly what the heightmap will look like.
- Boost contrast. Raise the contrast so your subject stands clearly apart from the background. Washed-out mid-tones become flat, featureless areas in the model.
- Remove the background if you only want the subject. A free background-removal tool does this in seconds, and it stops the background from becoming unwanted raised texture.
- Don't upscale a tiny JPG. Upscaling invents pixels and adds blur. Work with the resolution you actually have.
Step 3: Upload your JPG
Open imagetostl.net and drag your JPG into the upload area, or click to browse for it. The tool works entirely in your browser — your image is never uploaded to any server.
Step 4: Adjust conversion settings
Once your image loads, you will see the settings that control how the 3D model is generated:
- Max Height (mm): Controls how tall the raised areas will be. Start with 3–5mm for a relief plaque or keychain, or 10–20mm for a more dramatic 3D effect. For a first JPG print, stay low — tall reliefs exaggerate every bit of JPG noise.
- Invert Height: Swaps which areas are raised and which are recessed. Useful if your image has a dark subject on a white background and the relief comes out backwards.
- Remove Background: Automatically detects and removes the background so only your subject gets a 3D shape.
- Add Base: Adds a flat base underneath your model. Always add a base if you plan to print the model standing upright — it is what keeps it stable.
- Smoothing: This is the JPG-saver. Turn smoothing up for photos and organic shapes — it softens the blocky compression artifacts into gentle curves. Leave it low for sharp geometric designs where you want crisp edges.
Step 5: Preview and convert
The 3D preview updates as you change settings. Drag to rotate the model and check it from all angles. Look for: lumpy texture in flat areas (needs more smoothing or a cleaner source image), missing detail (needs less smoothing or more contrast), and edges that look right.
Once you are happy, click "Convert to STL". The conversion typically takes a few seconds depending on the complexity of your image.
Step 6: Download, slice, and print
Click "Download STL File", then open it in your slicer (Cura, PrusaSlicer, or similar). A few slicer notes for JPG reliefs:
- Layer height: 0.12–0.2mm gives a good balance of detail and print time for reliefs.
- Infill: 15–20% is plenty for a decorative relief; the base provides the strength.
- Supports: Most flat reliefs print fine without supports if printed face-up on the base.
- Scale check: STL files carry no units, so confirm the model's size in your slicer before printing — a relief meant to be 100mm wide should read 100mm, not 10mm or 1000mm.
Then slice, print, and finish: a light sanding pass smooths any remaining layer lines on flat areas.
Relief vs Lithophane: Two Ways to Use a JPG
The same JPG can become two very different prints depending on thickness and settings:
| Type | How it works | Best for |
|---|---|---|
| Relief plaque | Thicker (3–5mm+), viewed from the front in normal light | Portraits, logos, pet silhouettes, wall art |
| Lithophane | Very thin (around 1–2mm), backlit so light reveals the image | Backlit photos, lamps, window hangings, gifts |
A lithophane is fussier: it needs a clean, high-contrast JPG and careful thickness, because every artifact shows when light passes through it. If you are new to JPG conversion, start with a relief plaque and try a lithophane second.
Tips for the Best JPG Results
- Use high-contrast images. The greater the difference between light and dark, the more defined your model.
- Remove the background first if you only want the subject in 3D.
- Start with a low max height. 3–5mm works well for keychains, badges, and wall plaques.
- Enable smoothing for portraits. Faces and organic shapes look much better with smoothing turned on.
- Add a base for stability. Always add a base if the model will stand upright.
Common Questions
Can I use a JPG instead of PNG?
Yes. The converter accepts both PNG and JPG files. PNG is preferred because it avoids compression artifacts, but JPG works fine for most purposes if you clean the image up and use smoothing.
Will my JPG model be hollow or solid?
Models generated from images are surface-based relief models — they are not hollow. The base provides solid thickness for printing, and you can adjust infill in your slicer to reduce material use.
What printers are compatible with STL files?
Virtually all consumer 3D printers support STL files, including popular brands like Creality, Prusa, Bambu Lab, Anycubic, and Elegoo. If your printer uses a slicer, it can print STL files.
Why does my JPG print look worse than a PNG print?
JPG compression. The blocky artifacts in a compressed JPG become tiny height changes in the model. Clean the image (grayscale, contrast, background removal) and raise smoothing to compensate.
Ready to try it?
Convert your first JPG to a 3D model right now — completely free, no sign-up needed.
Open the Converter →Additional Details
- Name: How to Convert JPG to STL for 3D Printing
- Description: Step-by-step guide to converting a JPG image into a printable STL 3D model, including JPG noise cleanup.
- Published: 2026-10-25