LAS to glTF: Current Status and the GLB Workaround
Converting LAS to .gltf on this page currently produces a .gltf without the .bin buffer it refers to, so viewers cannot load the points. Until that is fixed, use our LAS to GLB converter, which writes the same glTF 2.0 content as one self-contained file.
Download Started!
How would you rate your experience with MiConvert?
LAS, glTF and What Goes Wrong Today
glTF 2.0 is the Khronos Group's runtime 3D format, and Three.js, Babylon.js and Cesium load it natively. It can store bare points without faces, which makes it a good way to show a LiDAR cloud on the web. LAS, on the other hand, needs a dedicated point-cloud viewer or loader.
The .gltf download from this page does not work today, and we would rather tell you here than have you find out in a viewer. Our point-cloud reader writes glTF through the trimesh library, which puts the point data in a separate file named gltf_buffer_0.bin. Our packaging step only collects files named after your upload, so it leaves that buffer out. You receive a .gltf that refers to binary data you do not have. In a batch, the buffer files also overwrite each other.
The workaround is our LAS to GLB converter. GLB is the binary form of glTF 2.0: it holds the JSON and the buffer in one file, and all the viewers named above open it. A GLB made from LAS contains the points with no faces, RGB color when your point format carries it, and up to 1,000,000 points. Larger clouds are reduced to a uniform random sample of that size. Large georeferenced coordinates are not baked into the vertices. Instead, the offset is kept in the node transform, which keeps the vertex values small.
Two caveats also apply to the GLB. The cloud is rotated 90 degrees about X, because Z-up survey data is written into glTF's Y-up axes without being turned. Units are not converted either, so coordinates recorded in feet are read as meters. If you need to stream a full-resolution scan rather than a million-point sample, a tiled format such as Potree or 3D Tiles is a better fit; PotreeConverter and Cesium ion can build those.
How to Get a Working glTF from a LAS File
- Make sure the file is LiDAR data rather than a Log ASCII Standard well log, which uses the same .las extension.
- Check the size limit: 50 MB per file as a guest, 100 MB with a free account, 200 MB on Plus, 1 GB on Pro. If the scan is too large, our LAZ to GLB page accepts the compressed version.
- Open MiConvert's LAS to GLB converter and upload the scan. The conversion runs on our servers.
- Download the .glb and load it in your viewer. If the cloud is out of view, set the node's translation to zero. Then rotate the node 90 degrees around X so the ground is horizontal.
- If your toolchain requires a .gltf with a separate .bin, repack the GLB on your own machine with the glTF-Transform command line: its copy command writes a .gltf with the .bin beside it when you give the output a .gltf name.
- To show the scan's colors in Three.js, use a points material with vertex colors enabled.
What You Can Rely On
- A clear status: .gltf output from LAS is currently missing its buffer file, and this page will be updated when the packaging is fixed
- GLB output that keeps per-point RGB from LAS point formats 2, 3, 5, 7, 8 and 10
- Georeferenced offsets kept in the GLB node transform rather than discarded
- Points written as points, with no surface built from them
- A one-million-point cap, with larger clouds thinned evenly at random
- Up to 10 files per batch (25 on Plus, 50 on Pro), each converted to its own GLB
Video Tutorial
Detailed guide on how to convert LAS files to GLTF quickly, for free, and without losing original quality. Perfect if you need to process file formats, reduce size, or upload files to systems that onl
LAS to glTF: Common Questions
Why does the .gltf from this page fail to load?
The file refers to a binary buffer named gltf_buffer_0.bin, and that buffer is not included in your download. This is a known bug in how we package glTF output from point clouds. Renaming files will not help, because the buffer was never delivered. Convert to GLB instead.
Can I still end up with a .gltf and a separate .bin?
Yes. Convert to GLB here, then repack it on your own computer. The glTF-Transform command line can read the GLB and write it back out as a .gltf with its .bin file, and the point data stays the same.
Is GLB the same as glTF?
It is the same glTF 2.0 data in a single binary container instead of a JSON file plus separate buffers. The Three.js glTF loader, Babylon.js and Cesium accept either form, so most web projects can use the GLB directly.
Why is my cloud vertical and far from the camera?
The data is Z-up and is not rotated into glTF's Y-up convention, so the cloud is tipped 90 degrees about X. The distance comes from the georeferenced offset, which is kept in the node transform. Set the translation to zero to bring the cloud to the origin, then rotate it around X.
How do I convert a LAS file to Excel?
We do not convert to spreadsheets. For a LiDAR LAS, CloudCompare can save the points as ASCII or CSV, and PDAL has a text writer. Excel stops at 1,048,576 rows, so thin the cloud first. If your .las is a well log (Log ASCII Standard), it is already a text file: open it as delimited text in Excel, or read it with the Python lasio library. Our converter does not read well logs.
Does the GLB keep classification or intensity values?
No. The output contains point positions, plus RGB color when the LAS stores it. Classification codes, intensity, return numbers and GPS time are not written. If you need ground-only points, filter them by class before uploading.
Is my scan stored on your servers?
Only for a short time. The conversion runs on our servers. Large uploads may pass through Cloudflare R2 storage first, and that copy is removed once our server has fetched the file. The LAS is deleted when the job ends, and the converted file is kept for about 4 hours before it is deleted. If you are signed in, your history keeps an entry with the file name until you delete your account.