GEOMETRY IN / GEOMETRY OUT
STL ↔ OBJ
Move the mesh between formats.
Keep the coordinates. Know what gets left behind.
Working locally… You can cancel the conversion below.
No repair, welding, rescaling, axis conversion or boolean union. Float32 precision applies.
Your chosen file stays on this device. Try a sample in either direction.
01 / CHOOSE A DIRECTION
How to convert STL to OBJ—or OBJ to STL
- Keep the original and any companion files. OBJ may refer to MTL material files and textures; this converter never reads or fetches them.
- Choose the conversion direction. Select one .stl or .obj file, or try the offset cube. Conversion runs in a local worker. Switching direction clears any old export.
- Inspect the preview, face count and dimensions. All supported meshes are combined at their existing coordinates. The preview centers a copy; the downloaded coordinates are not centered or rotated.
- Confirm geometry-only output and download. OBJ export writes triangle vertices and faces; STL export writes binary facets. Download the JSON report when you need the counts, dimensions and limitations alongside the model.
- Re-import and compare a known dimension. Choose the intended import unit, inspect the mesh, then slice it if you plan to print. Moving to another tool requires choosing the downloaded file again.
If your input is 3MF, use the 3MF to STL converter first. Unlike this STL/OBJ workflow, that tool applies the supported 3MF unit declaration and exports millimeter coordinates.
02 / A FORMAT CHANGE IS NOT A REBUILD
What does conversion retain?
| Information | STL → OBJ | OBJ → STL |
|---|---|---|
| Triangle positions and axes | Retained as Float32 numeric coordinates. | Retained as Float32 numeric coordinates. |
| Polygon structure | Triangles, one vertex per corner; no tolerance welding. | Supported simple planar polygons triangulated, preserving winding. |
| Units | No unit inferred or written by this workflow. | No standard STL unit declaration. Confirm it on import. |
| UVs, materials, textures and colors | Not reconstructed; no MTL file created. | Discarded, including per-vertex colors. |
| Custom normals and smoothing groups | Not retained. | Discarded; facet normals recalculated from triangle winding. |
| Object/group names and CAD history | One generic mesh label; no CAD features. | Not carried into STL. |
OBJ can represent more information than this converter exports. Its material workflow commonly uses a separate MTL file. Converting an uncolored STL cannot recover appearance that was never stored. Format reference: Library of Congress, Wavefront OBJ.
03 / SUPPORTED POLYGON MESHES
Check compatibility before replacing the original.
Input: conventional line-based ASCII STL or binary STL with a complete, matching triangle count; ASCII/UTF-8 OBJ with polygon faces. OBJ supports positive and relative negative indices, v/vt/vn face references, multiple object/group declarations, comments and continued lines. Vertices, UVs and normals must be defined before the face referencing them. UVs and normals are checked for valid references, then discarded.
Simple planar OBJ faces of 3–128 corners are triangulated, including concave faces. Repeated/collinear corners, degenerate faces, self-intersecting or non-planar polygons are rejected; triangulate and inspect these in the source editor. Unsupported points, lines, curves, surfaces and other records stop conversion instead of silently producing an incomplete model. Non-unit homogeneous vertex weights are unsupported; xyz and xyz with w=1 or RGB/RGBA records are accepted, with colors discarded.
- Input up to 50 MiB; output up to 500,000 triangles.
- At most 1,500,000 vertex, UV or normal records each; 10,000 object/group declarations; 32,768 characters per logical text line.
- OBJ text output up to 128 MiB. STL → OBJ may increase file size; it is not mesh compression.
- Device memory can impose lower limits. Cancel and try a smaller source file if necessary.
This is not a complete OBJ specification validator. It does not resolve self-intersections between different faces, detect thin walls or certify printability. Reference: the original Wavefront OBJ appendix.
04 / A REPRODUCIBLE START
A cube that catches accidental recentering.
Our synthetic OBJ uses eight vertices and six quad faces, including relative indices. Its bounds are 20 × 20 × 20 coordinate units, with a minimum position of (10, 20, 30). OBJ → STL produces 12 triangles and 684 bytes. Converting that STL to triangle-only OBJ produces 612 bytes. Re-importing the OBJ reproduces the Float32 triangle stream and binary STL exactly for this sample.
Source quad OBJ (233 bytes) · Expected binary STL · Expected triangle OBJ · Measurements and SHA-256. Synthetic model files are CC0-1.0. These first-party checks are not physical print tests or proof that every OBJ project will convert.
05 / KEEP THE WORKFLOW MOVING
Check the converted mesh before you print.
Read the non-manifold repair workflow, STL export settings guide and file-size guide for the next decision.
Before you convert
Is my STL or OBJ uploaded?+
No. Conversion runs in a worker on your device. Application assets and synthetic samples are downloaded from this site; your chosen model is not sent to a server. Material libraries and textures are never fetched.
Does STL to OBJ recover color or UVs?+
No. This geometry-only converter writes triangle positions and faces, with one OBJ vertex per triangle corner. It does not create UVs, an MTL file, shared-vertex topology or editable CAD features.
Does OBJ to STL keep the same size?+
It retains numeric coordinates and axes, rounded to Float32, and does not apply scale or infer a unit. Choose the intended unit when importing, and compare a known dimension. STL carries no standard unit declaration.
Which OBJ files are supported?+
UTF-8 or ASCII polygon meshes with previously defined vertices, positive or negative face indices, common v/vt/vn references and simple planar faces of 3–128 corners. Curves, surfaces, points, lines, non-planar or self-intersecting faces and degenerate corners are rejected. Limits include 50 MiB input and 500,000 output triangles.
Does conversion repair the mesh?+
No. Output combines triangle surfaces without welding, repair, simplification, automatic rotation or boolean union. Keep the original, re-import the result and check geometry and sliced layers before printing.