# OBJ to STL converter

> Set the unit, check the model is watertight, keep only the groups you want, and download a binary STL.

Human page: https://unmakelabs.com/en-us/obj-to-stl/. This is the version for AI agents.

## What it does

OBJ to STL converter: turn an OBJ into an STL, at the right size Set the unit, check the model is watertight, keep only the groups you want, and download a binary STL.

## Why convert OBJ to STL

Many models come as OBJ, from Blender, sculpting tools or 3D scans, while some slicers, print services and CAM tools still ask for STL. Both are meshes, so the shape converts one to one; what matters is the size and whether the mesh is closed.

## The unit trap

Neither OBJ nor STL stores a unit. A model sculpted in metres and printed as millimetres comes out 1,000 times too small. This converter lets you say what the OBJ was made in and writes the STL in that unit, so check the size shown before you download.

## Facts

- **From:** OBJ (+ MTL)
- **To:** Binary STL
- **Keeps:** Shape of the visible groups
- **Drops:** Materials, textures, UVs, group names

## How a person does it

1. **Drop the OBJ.** The .obj alone is enough; materials don't go into an STL.
2. **Set units and check.** Pick the unit the model was made in until the size looks right. The Model panel says whether the mesh is closed; scans and game models often aren't.
3. **Download STL.** Press “Download STL”. Hide groups you don't want first; only visible ones are exported.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/obj-to-stl/?src=https://example.com/part.step`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&up=z&u=mm&sec=z,0.5,0`.

Embed: `<iframe src="https://unmakelabs.com/embed/3d/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: format, unit, bounding box (x, y, z), volume and surface area for closed meshes, watertight flag, part tree with names, triangle and part counts, plus PNG views (front, top, side, 3D). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/prusa3d/PrusaSlicer/version_2.8.1/resources/shapes/cylinder.stl"}'
```

## Good to know

STL drops colours, textures, UV maps and group names, and merges the groups into one mesh. The STL is written in the unit you chose; when your slicer asks, choose the same unit.

## Not done by this tool

- Doesn't close holes or fix flipped faces
- Doesn't add thickness to single-sided surfaces
- Doesn't decimate very dense scans
- Doesn't keep colour for colour printing (use 3MF for that)

## Value

Opens STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX and PLY files in any browser without installing anything, shows size, units, volume and parts, measures and cuts the model, and converts to STL, GLB or OBJ; it also gives the weight and 3D-print cost of a closed model (11 cited material densities, infill and walls, filament length, rough print time) and turns a photo into a watertight lithophane or relief STL, with an optional AI depth map.

## When it fits

- A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it.
- A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web).
- A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file.
- A user wants a lithophane, a relief STL or a depth map from a photo.

### When not

- Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/).
- Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a file from a public link in any browser (?src=), with measurements shown next to the model.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same measurements as JSON plus PNG views (front, top, side, iso).
- Desktop CAD viewers need an install and often an account.
- This viewer opens files with no install and no account, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Combine readers for eight 3D formats, including exact CAD geometry for STEP/IGES, and handle units and up-axis per format.
- Write watertight checks, volume and area code, section planes, point-to-point measuring and exporters.
- Keep it working across browsers and phones.
- A set of real sample files per format to test against, and upkeep as formats, browsers and phones change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are not uploaded to Unmake Labs; files given by link are fetched from where they are stored.

_Status: the web viewer works, and POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for public 3D/CAD files (STL, OBJ, PLY, GLB/GLTF, 3MF, STEP, IGES: sizes, units, volume, parts and picture views as data)._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from third-party hosts (listed on the privacy page), which receive the visitor's IP address for those requests.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **My STL prints tiny. What went wrong?** The OBJ was probably made in metres or centimetres and the slicer read millimetres. Open the OBJ, choose the right Units so the size shown is correct, and download again.
- **Will textures be kept?** No. STL holds only shape. For colour printing, keep the textured OBJ or use 3MF.
- **Why does it say the mesh has holes?** Some edges belong to only one triangle, often from scans or models made for games. Slicers try to repair small gaps; large ones need fixing in a mesh tool such as Blender or Meshmixer.
- **When is it the right tool, and when not?** Right for: A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it. A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web). A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file. A user wants a lithophane, a relief STL or a depth map from a photo. Not for: Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/). Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.
- **Is it really free?** Yes, with no limit on the number of files (up to 300 MB each). There are no ads, no sign-up and no premium tier for viewing or converting.
- **Do you upload my file?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it anytime. The section “What happens to your file” has the details.
- **Can my AI agent open 3D files?** Yes. Agents call POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect with a file link or upload (no key) and get the file's size, units, parts, volume and picture views as data. An agent can also open any public file in this viewer with a link: add ?src= and the file's address to this page.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [STL weight calculator](https://unmakelabs.com/en-us/stl-weight-calculator/)
- [3D print cost calculator](https://unmakelabs.com/en-us/3d-print-cost-calculator/)
- [3D file viewer](https://unmakelabs.com/en-us/3d-viewer/)
- [STEP file viewer](https://unmakelabs.com/en-us/step-viewer/)
- [STL file viewer](https://unmakelabs.com/en-us/stl-viewer/)
- [GLB and glTF viewer](https://unmakelabs.com/en-us/glb-viewer/)
- [OBJ file viewer](https://unmakelabs.com/en-us/obj-viewer/)
- [IGES file viewer](https://unmakelabs.com/en-us/iges-viewer/)
- [3MF file viewer](https://unmakelabs.com/en-us/3mf-viewer/)
- [FBX file viewer](https://unmakelabs.com/en-us/fbx-viewer/)
- [STEP to STL converter](https://unmakelabs.com/en-us/step-to-stl/)
- [STEP to GLB converter](https://unmakelabs.com/en-us/step-to-glb/)
- [FBX to GLB converter](https://unmakelabs.com/en-us/fbx-to-glb/)
- [STEP weight calculator](https://unmakelabs.com/en-us/step-weight-calculator/)
- [Photo to lithophane STL](https://unmakelabs.com/en-us/image-to-lithophane/)
- [Image to STL](https://unmakelabs.com/en-us/image-to-stl/)
- [Photo to depth map](https://unmakelabs.com/en-us/photo-to-depth-map/)
- [Depth map for laser engraving](https://unmakelabs.com/en-us/depth-map-for-laser-engraving/)
