— Free tool · no sign-up

STEP to GLB converter. CAD files, web-ready.

Drop a .step or .stp file and get a GLB a web page can show, tessellated on your device with part names, colors and real-world size kept.

Updated

No STEP file at hand?

Output preset

01— The format

What a STEP file is, and why a web page cannot show it

STEP is the neutral format CAD systems use to exchange exact geometry; a browser draws triangles, so a STEP file has to be tessellated before it can go on a product page.

STEP (ISO 10303, files ending in .step or .stp) stores a part the way your CAD system does: as a boundary representation, B-rep for short. Every face is an exact mathematical surface — a plane, a cylinder, a NURBS patch — trimmed by its edges. That precision is why manufacturers send STEP to suppliers, CNC shops and customers, and why SolidWorks, Inventor, Creo, CATIA, NX, Fusion and Onshape all export it. The common flavors are AP203, AP214 (which adds colors and layers) and AP242 (which adds product manufacturing information such as tolerances).

A web page, a 3D configurator or a phone in AR mode cannot draw an exact surface. WebGL draws triangles, and the web's 3D file format, glTF (and its single-file binary form, GLB), holds triangles, materials and a node tree. No browser opens STEP natively. Before a CAD model can go online, every surface has to be approximated by triangles — tessellated — and the result written as GLB, in meters, with the colors a shopper should see.

That approximation is a trade-off you control in principle: a tighter tolerance follows curves more closely and costs more triangles, and triangles are what make a model slow to download and render. A product page needs a model that looks right at the distance a shopper views it, not one that matches the CAD to a micron.

02— Method

How to convert STEP to GLB

Five steps take a STEP file to a GLB a browser can show. This is the general method, and what this tool does at each step.

  1. 01Read the B-rep and its assembly

    A STEP reader rebuilds the exact solids and surfaces, and the assembly: which parts there are, how many times each is used, and where each instance is placed.

    This tool: reads AP203, AP214 and AP242 files with OpenCascade, the open-source CAD kernel, compiled to WebAssembly. Every part instance is placed where the assembly puts it.

  2. 02Tessellate every surface

    Each face is cut into triangles within a tolerance: a chordal deviation (how far a triangle may sit from the true surface) and an angular deviation (how sharply neighboring triangles may bend). Tighter means smoother curves and more triangles.

    This tool: a chordal tolerance of 0.1% of the model's average bounding-box size and an angular tolerance of 0.5 radians (about 29°). It is fixed, not adjustable.

  3. 03Convert the units

    STEP files declare their unit — millimeters for most CAD, sometimes inches. glTF is always meters, so a model exported in millimeters must be scaled by 0.001 or it comes out a thousand times too big.

    This tool: reads the file's declared unit, converts it to millimeters, then scales by 0.001 to meters. A 1,200 mm table is 1.2 m in the GLB.

  4. 04Carry names and colors

    Part names let a configurator find a part ("Top", "Leg") to swap or recolor it. STEP colors can sit on a whole body or on single faces; a good conversion turns each distinct color into a material.

    This tool: names each mesh after its part, and makes one non-metallic material per distinct body or face color, named by its hex value. Parts without a color get a neutral grey.

  5. 05Optimize and write the GLB

    Tessellated CAD carries duplicate vertices and uncompressed data. Merging, indexing and compressing it can cut the file to a fraction before it ships.

    This tool: merges duplicate data, indexes vertices, removes what nothing uses, then applies Meshopt compression (Web preset) or writes plain glTF 2.0 geometry (Max compatibility).

03— Compared

STEP and GLB, side by side

They solve different problems: STEP keeps engineering truth, GLB is built to be downloaded and drawn fast.

STEP and GLB, side by side
AspectSTEP (.step, .stp)GLB
GeometryExact B-rep surfaces: planes, cylinders, NURBSTriangles
UnitsDeclared in the file (mm, inch, …)Always meters
StructureAssemblies of parts with placementsA node tree (this tool writes one node per part)
AppearanceOptional colors per body or facePBR materials and embedded textures
Manufacturing dataTolerances and annotations (AP242)None
Opens in a browserNoYes: three.js, Babylon.js, <model-viewer>, Android Scene Viewer
Made forExchanging designs between CAD systemsShowing products on the web and in AR
04— Checklist

Before you export the STEP file

Four settings in your CAD decide how good the GLB looks and how heavy it is.

  • Export colors

    Choose AP214 or AP242 and turn on colors or appearances in the export options. AP203 files usually carry no color, so every part comes out grey.

  • Leave out what nobody sees

    Fasteners, internal mechanisms and threads can be most of the triangles and none of the sale. Suppress or hide them before exporting a model for a product page.

  • Export solids or surfaces

    Sketches, wireframe and drawing annotations have no surface to tessellate. A file with only those converts to nothing.

  • Check the up axis

    STEP declares no "up". This tool keeps your CAD's axes, and web viewers treat Y as up, so a Z-up model shows lying on its back. Rotate it in your CAD before export, or in the viewer you use.

05— FAQ

Questions about the STEP to GLB converter.

What it does, what it leaves to you, and what it costs.

No. The conversion runs in a Web Worker on your own device and the file never leaves your browser. The one thing downloaded is the conversion engine itself: on your first STEP file, the page fetches the WebAssembly build of OpenCascade (a 7.6 MB file from the jsDelivr CDN, checked against a pinned SHA-256 hash before it runs). Your file is not part of that request.

The first STEP file waits for the 7.6 MB engine to download. After that, a few-part model like the sample table converts in moments; an assembly with hundreds of parts or many curved faces takes longer, because every surface is tessellated on your device. The page shows how long it has been working.

Names and colors, yes: each mesh is named after its part, and every distinct body or face color becomes a material. The assembly tree is flattened: each part instance becomes one node, placed where the assembly put it, so a part used four times appears four times. Transparency, layers and PMI (tolerances, annotations) are not carried.

Not yet. The tolerance is fixed at 0.1% of the model's average bounding-box size, with a 0.5 radian angular limit, which keeps small products smooth at web viewing distances. The tool does not simplify the mesh afterwards either; if the GLB is too heavy, leave hidden parts out of the export.

STEP files (.step, .stp) in AP203, AP214 or AP242, up to 100 MB. OBJ, FBX, STL, glTF and GLB work too, through the same converter. It does not read IGES, IFC building models or native CAD files such as .sldprt or .ipt: export those as STEP first.

Sideways: STEP has no up axis, and the tool keeps your CAD's axes, so a Z-up model lies on its back in a Y-up web viewer. Rotate it before exporting. Tiny or huge: the tool converts the unit the file declares to meters, so check that your CAD export declares the unit you modelled in.

Yes. No sign-up, no email, no watermark and no limit on how many STEP files you convert, and no CAD license needed. The only cap is 100 MB per file, because the model is tessellated in your browser's memory.

occt-import-js by Viktor Kovács, which compiles Open CASCADE Technology (OpenCascade) to WebAssembly; both are open source under the LGPL 2.1, and the tool loads them unmodified. glTF-Transform and meshoptimizer write and compress the GLB.

More free tools

All free tools

Need your whole catalog web-ready?

SBFS turns CAD catalogs into fast 3D product configurators: every part named for the options it carries, materials set up for your finishes, and the files tuned to load on a phone. See configurator demos by industry.

Book a 20-min call