Format conversion/Mesh ↔ mesh

STL to glTF converter (local)

Convert STL to a self-contained glTF 2.0 JSON file locally. The Worker parses the source, merges or triangulates it, and embeds the binary buffer as base64 in the download.

ReadyNo uploadWorkerSTL
No upload

Conversion

No upload
STLglTF

Ready to convert

The input is streamed in 4 MiB slices; the output is assembled in the Worker and downloaded locally.

Formats
STL → glTF
Worker
in your browser

Drop an STL here

Binary STL streams in 4 MiB slices; ASCII STL streams line by line.

Choose a file

Max file size: 500 MB · No upload

No upload · File.slice() → Worker → chunked glTF output.

How it works

  1. 1

    Drop a STL file.

  2. 2

    The Worker parses the source and builds one indexed triangle mesh.

  3. 3

    A self-contained glTF JSON with an embedded base64 buffer is assembled.

  4. 4

    Download the .gltf locally. No upload is performed.

What the numbers mean

Units

Source coordinates are written as glTF numeric coordinates without rescaling. glTF conventionally uses metres; the converter does not convert source units.

Attributes

The glTF contains one mesh, one node, float32 positions, and uint32 triangle indices. STL materials, colors, and normals are not written.

Printing notes

  • The output is a single .gltf file with an embedded buffer; no sibling .bin is produced.
  • glTF commonly uses metres; check the unit scale in the target viewer.
  • Keep the original source until the glTF is verified.

Questions

References

  • · Binary STL format
  • · glTF 2.0 specification