Logo of Trellis2
Trellis 2
StudioAI AgentPricing
Blog
  1. Home
  2. Image to STL

Free Image to STL Converter

Turn your PNG, JPG, logo, or photo into a 3D-printable STL file. Heightmap, extrude, and lithophane modes — all online, no install required.

🔒Online Tool — No Software Install Needed

Image to STL conversion transforms a 2D image (PNG, JPG, or JPEG) into a 3D mesh model saved in the STL (Standard Tessellation Language) file format. The resulting STL file can be sliced for 3D printing, loaded into CAD software like Blender, or used for CNC machining.

There are several ways to interpret a flat image as 3D geometry. The most common method is the heightmap approach: the tool analyzes the brightness (luminosity) of each pixel and maps it to a height — a white pixel becomes the tallest point, a black pixel the lowest. Other modes extrude a logo into a solid, or create lithophanes that reveal an image when backlit.

How to Convert an Image to STL

  1. 1

    Upload your image

    Select a PNG or JPG file. Most tools accept images up to a large resolution and will resize if needed for processing.

  2. 2

    Choose your conversion mode

    Pick heightmap, extrude, or lithophane mode, then adjust options like detail level, model height, smoothing, and invert output.

  3. 3

    Download your STL file

    Preview the generated 3D model, then download the STL file ready for your slicer or 3D editing software.

How Does Image to STL Conversion Work?

In Standard (heightmap) mode, the tool converts your image to greyscale and examines the brightness of each pixel. A black pixel maps to a height of 0mm and is excluded from the model, while a white pixel maps to the maximum height you specify. Pixels in between get a proportional height, producing a continuous relief surface.

In Extrude mode, the tool extrudes regions of the image into solid geometry, optionally overlaying color data (supported in color-capable formats like OBJ, 3MF, or GLB). For lithophanes, the model is printed thin enough that light shining through it reproduces the original image — dark pixels print thicker, light pixels thinner.

Workflow: photo converted to a grayscale heightmap, then to a 3D printable relief mesh

PNG or JPG: Which Converts Better to STL?

Both formats work, but they behave differently in the conversion pipeline. PNG is lossless and supports transparency, which makes it the safest choice when your subject is a clean silhouette — logos, icons, cookie-cutter shapes — because the alpha channel maps directly to solid versus empty geometry. JPG's lossy compression adds faint noise around edges that can turn into tiny jagged steps on the print surface.

For photos, JPG from any modern phone is perfectly fine: the converter samples brightness, and JPEG artifacts are far below the layer height of a 0.1 mm print. The cases where PNG clearly wins are graphics with hard edges and any image where you want the background removed via transparency instead of a white background.

  • Logos and icons: export PNG at 1024 px or larger on the longest edge.
  • Photos: JPG quality 80+ from your phone camera is more than enough.
  • Avoid re-saving a JPG multiple times — each save compounds edge noise.
  • Grayscale-converted images lose nothing in conversion; color is sampled by brightness.

Image to STL Conversion Modes

ModeDescription
Standard (Heightmap)Pixel brightness determines height — ideal for grayscale terrain, photos, and relief sculptures.
ExtrudeExtrudes image regions into solid 3D geometry. Great for logos, text, and badges.
LithophaneThin 3D-printable panel that reveals the image when backlit. Popular for lamps and light boxes.
Color HeightmapUses color channels to map height (e.g., dark blue = lowest, red = highest). Requires color-capable output formats.

Image Resolution vs Print Quality

The heightmap pipeline maps image pixels to mesh vertices, so input resolution directly caps the detail your print can carry. A 512 px image yields a printable relief but visibly soft edges; 1024 px captures crisp facial contours on lithophanes; 2048 px and above preserves fine textures like fabric weave or fur — at the cost of a larger STL file and longer slicing time.

Resolution also sets the physical size ceiling. A useful rule of thumb: every 100 px of image width buys you about 10 mm of printed width before pixels become visible as steps. A 1024 px photo therefore prints beautifully up to roughly 10 cm wide; beyond that, upscale the source image or accept slightly softer detail.

Terrain models are the exception that proves the rule: satellite tiles at 1200-2000 px produce valley-scale reliefs where 0.2 mm layers read as geological strata rather than blur — one of the most reliable photo-to-print workflows on any desktop printer.

A 3D printed terrain relief of a mountain valley beside the satellite photo it came from

Why Use an Online Image to STL Converter?

🖥️ No Software to Install

Everything runs in your browser. You don't need a powerful computer or expensive 3D modeling software — conversion happens on dedicated servers or locally in the browser.

📱 Works on Every Device

Whether you're on Windows, macOS, Linux, Android, or iOS, the tool works the same. Convert images to STL from a laptop, tablet, or phone.

🔒 Safe & Private

Reputable converters do not store your uploaded image permanently. Files are typically deleted within hours of conversion, and download links expire automatically.

⚡ Fast Conversion

Most image to STL conversions complete in seconds. Processing time scales with image resolution and the selected detail level.

Common Use Cases

💡 Lithophane Lamps & Light Boxes

Convert family photos into backlit 3D-printed panels for lamps, night lights, and decorative light boxes.

🗿 Relief Sculptures & Art

Turn grayscale artwork or photos into 3D reliefs suitable for CNC carving or decorative 3D prints.

🏷️ Logos & Branding

Extrude company logos and text into solid 3D models for signs, keychains, and promotional items.

🗺️ Terrain & Topography

Convert elevation maps into 3D terrain models for dioramas, education, and geographic visualization.

Three Projects You Can Print Tonight

Every model below starts as a single ordinary photo and ends as a machine-ready STL. They are the three workflows our users print most.

Pet Portrait Medallion

A side-lit pet photo converts to a 60 mm medallion in Extrude mode with a 3 mm base. Print in white or silver PLA, add a split ring, and it becomes a keychain that survives pockets. High-contrast photos with dark backgrounds produce the cleanest relief edges.

A white 3D printed medallion with a raised pet portrait relief

Backlit Lithophane Lamp

Any family photo becomes a curved lithophane panel that clips into a standard LED candle or lamp base. The converter's Lithophane mode handles inversion and curvature; you only pick the arc. This is the highest wow-per-minute gift in 3D printing and requires zero modeling skill.

Hiking Trail Terrain

Screenshot a satellite view of your favorite trail, feed it through Heightmap mode, and print the elevation in gradient filament. Ridgelines, lakes, and switchbacks all read clearly at 20-30 cm wide — a favorite among trail runners and national-park visitors.

Lithophane Maker: Turn Photos into Backlit 3D Prints

A lithophane is a 3D print whose thickness encodes the brightness of your photo: hold it up to a light and the image appears with surprising depth and detail. This converter's Lithophane mode turns any grayscale photo into a ready-to-print flat or curved lithophane STL in seconds.

Lithophanes print best in white PLA at 0.1–0.12 mm layer height — the shading is baked into the mesh thickness, so your slicer needs no special settings. Print one as a lampshade insert, a photo gift, or a night-light panel.

A 3D printed lithophane glowing with a portrait when held against backlight
  • Choose high-contrast photos with clear subjects for the strongest effect.
  • Use 0.1 mm layer height and white PLA — colored filament mutes the backlight.
  • The default 3 mm max thickness suits most lamps; go thinner for backlit boxes.

What Is an STL File?

STL (Standard Tessellation Language) is the most widely used file format for 3D printing. It describes only the surface geometry of a 3D object as a mesh of triangular faces, without storing color, texture, or material information. STL files come in two variants: ASCII (human-readable but large) and Binary (compact, universally supported). Nearly every 3D printer, slicer, and CAD application supports STL, making it the default choice for sharing and printing 3D models.

STL vs Other 3D Formats

FormatColorFile SizeBest For
STLNoCompact (binary)3D printing, universal sharing
OBJYesMedium3D editing, rendering
3MFYesSmall (compressed)Modern 3D printers (Bambu, Prusa)
glTFYesSmallWeb display, AR/VR

Editing Your STL After Conversion

The converter outputs watertight, slicer-ready meshes, but a five-minute pass in a free editor often makes the difference between good and great. In Blender, import the STL and use the Decimate modifier to cut file size by half without visible loss on relief prints. For trimming unwanted base area, a Boolean subtract with a simple box is faster than re-uploading a cropped photo.

If you only need to check the model — wall thickness, overall silhouette, mesh integrity — drop the file into our STL viewer before committing filament. It renders locally in your browser and catches inverted surfaces and paper-thin sections that slicers only warn about mid-print.

Check your file in the free STL Viewer →

Heightmap Converter vs AI Image-to-3D: Which Do You Need?

This page's converter is deterministic: the same photo always yields the same relief, geometry is derived directly from brightness, and results are print-oriented. It is the right tool for lithophanes, medallions, cookie cutters, logos, and terrain — anything where the shape you want is literally a depth version of the picture.

When you want the object in the photo rather than a relief of it — an actual vase, figurine, or game asset with full 360° geometry — that is generative AI territory. Trellis 2 reconstructs a complete textured 3D model from a single image in 1-3 minutes and exports GLB for Blender, Unity, or further STL conversion. Many workflows combine both: AI for the object, this converter for the printable base or backdrop plaque.

Try AI Image to 3D Model Generator

3D Printing Tips for Image to STL Models

An FDM 3D printer mid-print of a white lithophane relief panel
  • Use a layer height of 0.1–0.15mm for lithophanes to preserve fine detail.
  • Print lithophanes in white PLA or PETG for the best light transmission.
  • For heightmap reliefs, enable support material if the model has steep overhangs.
  • Infill is irrelevant for solid lithophanes — set 15% to save material on large models.

Troubleshooting: When Prints Go Wrong

Most failed image-to-STL prints trace back to one of five fixable causes:

Spiky vertical artifacts

Isolated bright pixels against dark backgrounds become thin towers. Apply a slight blur to the photo, or raise the converter's smoothing setting one notch.

Washed-out lithophane

The photo lacks tonal range. Boost contrast before uploading — the brightest highlights should be near-white and shadows near-black for the full thickness range.

Curling corners

Large flat reliefs warp off the bed. Add a 2-3 mm brim in your slicer and print the first layer 5 °C hotter than usual.

Visible pixel steps

Source image is too small for the print size. Re-export at higher resolution or shrink the printed dimensions by a third.

Slicer reports holes

Rare, but extreme contrast gradients can pinch the mesh. Re-run the conversion with the 'solid base' option enabled, which guarantees a watertight underside.

Frequently Asked Questions

What does an image to STL converter do?

▾

It converts 2D image (bitmap) data into 3D geometry, then saves the result as an STL file. The geometry is typically generated from pixel brightness in heightmap mode, or by extruding image regions.

What image formats can I convert to STL?

▾

Most tools support common formats like PNG, JPG/JPEG, and BMP. PNG is recommended because it supports transparency and lossless quality, which produces cleaner 3D geometry.

What is a heightmap and how is it used for STL?

▾

A heightmap is an image where each pixel's brightness represents a height value. The converter reads pixel luminosity and builds a 3D surface where bright pixels are tall and dark pixels are short or flat.

What is a lithophane?

▾

A lithophane is a thin 3D-printed panel whose thickness varies with image brightness. When lit from behind, the varying thickness lets light through differently, reproducing the image. Dark areas print thicker; light areas print thinner.

Is my image safe when I upload it?

▾

Reputable online converters do not store your image permanently. The converted STL and your upload are typically deleted within a few hours, and the download link expires automatically after that period.

How long does image to STL conversion take?

▾

Most conversions finish in around 5 seconds, though larger images or higher detail settings can take longer. Processing happens on dedicated servers, so your computer's specs don't matter.

Do I need a powerful computer to convert images to STL?

▾

No. Conversion runs on the server (or in your browser for client-side tools), so you can use low-spec laptops, tablets, and even phones and still get your STL quickly.

Does STL support color?

▾

Standard binary STL only stores geometry — no color, texture, or material data. If you need color (e.g., from an extrude-color conversion), use a color-capable format like OBJ, 3MF, GLB, or DAE instead.

What image resolution works best for STL conversion?

▾

For heightmap and lithophane modes, use images between 500 and 2000 pixels on the longest edge. Higher resolution captures more detail but increases file size and processing time. Very large images are automatically downsampled to a manageable resolution.

Can I convert a color image to STL?

▾

The STL file format does not support color. If your source image is color, it is converted to grayscale first, and the brightness determines the height. For color 3D models, export to OBJ, 3MF, or GLB instead.

What is the difference between heightmap and extrude mode?

▾

Heightmap mode creates a smooth relief where pixel brightness maps to a continuous height range. Extrude mode thresholds the image and lifts bright regions to a fixed height, producing a solid block shape ideal for logos and text.

Do I need to invert my image before converting to a lithophane?

▾

No. Lithophane mode automatically handles the inversion — dark pixels print thicker (blocking more light) and light pixels print thinner. Just upload your original photo and select the lithophane mode.

What image resolution do I need for a detailed print?

▾

1024 px on the longest edge is the sweet spot for lithophanes and portraits; 2048 px preserves fine texture like fur or fabric. Below 512 px, expect visibly soft edges on prints wider than 8 cm.

Can I sell lithophanes or models I make with this tool?

▾

Yes. Your images stay on your device and the output mesh is yours — sell prints, gift them, or share the STL freely. Just make sure you own the rights to the source photos you upload.

Related Tools

AI 3D Model Generator

Generate 3D models from text or images with AI.

3D Reconstruction

Rebuild real-world objects into 3D from photos.

3MF to STL Converter

Convert 3MF files to STL for any slicer.

3D Viewer

Open and inspect 3D files right in your browser.

STL Viewer

Check STL files before you print them.

GLB Viewer

Inspect GLB models with full textures.

Further Reading

  • From Photo to Print: Image to 3D Model for 3D Printing
  • How to Download STL Files from MakerWorld
  • How to Turn an Image into a 3D Model
Logo of Trellis2
Trellis 2

Transform images into stunning 3D models with AI-powered technology

Product

  • Features
  • Pricing
  • Blog
  • FAQ

3D Tools & AI Models

  • AI 3D Model Generator
  • Microsoft TRELLIS 2
  • Hunyuan 3D
  • Tripo 3D
  • 3D Reconstruction
  • Image to STL Converter
  • 3D Viewer

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

This website is an independent third-party platform. We are not directly affiliated with, endorsed by, or sponsored by Microsoft, Tencent, Tripo AI, or any other official service providers mentioned on this site. All trademarks, product names, and brands are the property of their respective owners.

© 2026 Trellis 2. All rights reserved.