Convert LAZ Point Clouds to glTF: Use GLB for Now
The .gltf download for LAZ files is broken right now because it arrives without the .bin buffer that holds the points. Convert the same LAZ to GLB, the single-file binary form of glTF, and you get the points, with RGB color when the scan stores it, in one file that three.js, Babylon.js and Blender can open.
Download Started!
How would you rate your experience with MiConvert?
What happens when a LAZ scan becomes glTF
LAZ is LAS LiDAR data packed with LASzip compression. It is the usual delivery format for airborne surveys, drone scans and terrestrial laser scans. GIS and point cloud tools such as QGIS, CloudCompare and PDAL read it. Web 3D libraries, game engines and most model viewers do not, and glTF is the format those tools expect.
The conversion runs on our servers. A Python reader built on laspy with the lazrs decompression backend unpacks the LAZ and reads every point. RGB color is read when the file uses a LAS point format that stores it, which means formats 2, 3, 5, 7, 8 and 10. The points are then written out as a point cloud, not as a surface, so no triangles are invented between them.
The separate-file glTF output has a known fault. The writer saves the point data in a buffer file named gltf_buffer_0.bin, and our download packaging does not include that file. You receive a .gltf on its own that points to data it does not have, and viewers cannot load it. Until it is fixed, choose GLB, which holds the same scene and its binary data in one file.
Some things change on the way through. Clouds with more than 1,000,000 points are reduced to a uniform random sample of 1,000,000, and the page does not tell you when this happens. Coordinates are copied as plain numbers with no unit conversion. A survey in US feet therefore keeps its feet values, and glTF viewers treat those as meters. The scan also arrives rotated 90 degrees, because LiDAR data is Z-up and it is written unchanged into a Y-up format. glTF has no field for a coordinate reference system, so the georeferencing is not carried.
How to get a usable glTF-family file from LAZ
- Check the size and density. Guests can upload files up to 50 MB. If the scan has well over a million points and you need full density, tile or thin it first in PDAL, LAStools or CloudCompare.
- Use the LAZ to GLB conversion instead of the .gltf output on this page until the missing-buffer fault is fixed.
- Upload the .laz file. Several files can go in one batch, and each one is converted separately.
- Download the result within about four hours, after which it is deleted.
- Open it in your viewer. If the terrain stands on edge, rotate it 90 degrees around the X axis, and turn it the other way if it comes out upside down.
- If your pipeline needs a separate .gltf and .bin, import the GLB into Blender and export it as glTF Separate. In the exporter's Mesh options, turn on Loose Points and make sure vertex colors are exported. Both are off by default, and without them Blender writes no points or no color.
What the LAZ reader and writer actually handle
- LASzip decompression through laspy with the lazrs backend, so compressed scans are read directly without unzipping them to LAS first
- RGB per point for LAS point formats 2, 3, 5, 7, 8 and 10, kept as vertex color in GLB output
- Points written as points: the output is a cloud of vertices with no faces or meshing applied
- Coordinates larger than 100,000 are re-centered, with the offset kept in the GLB node transform
- Per-file limits of 50 MB for guests (no account needed), 100 MB for free accounts, 200 MB on Plus and 1 GB on Pro
Video Tutorial
Detailed guide on how to convert LAZ 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
LAZ to glTF questions
Why won't the .gltf file I downloaded open?
The .gltf from a LAZ source references a buffer file named gltf_buffer_0.bin that is not included in the download. Without that file, viewers have no point data to load. Convert the LAZ to GLB instead. If you specifically need a .gltf with a separate .bin, open the GLB in Blender and export it as glTF Separate with Loose Points and vertex color export turned on.
Is GLB a real substitute for glTF?
Yes. GLB is the binary container defined by the glTF 2.0 specification. It holds the same scene description and data, packed into a single file. three.js, Babylon.js, Blender and other glTF viewers open both forms.
Will I get a terrain mesh or just points?
Just points. glTF and GLB output from a LAZ keeps the cloud as vertices without faces. For a closed surface, the LAZ to STL or 3MF conversion works only when the scan is a height field such as aerial terrain. Buildings and objects need meshing in a tool like CloudCompare or MeshLab first.
Why is my scan lying on its side?
LiDAR coordinates are Z-up, and the converter currently writes them unchanged into glTF, which is Y-up. Rotate the model 90 degrees around the X axis in your viewer or in Blender. If your scene code expects Y-up data, applying that rotation once to the root node fixes the whole cloud.
Are color, intensity and classification kept?
RGB color is kept in GLB output when the LAZ stores it. Files in point formats without RGB give uncolored points. glTF has no standard attribute for LiDAR fields such as intensity, classification or return number, so expect positions and color only.
Did I lose points, and does the scale stay correct?
Scans with more than 1,000,000 points are randomly thinned to that count, and no notice appears on the page when this happens. Split large surveys into tiles first if density matters. Scale is not converted. Coordinates in feet keep their feet values, which glTF viewers read as meters, so scale feet-based data by 0.3048 if you need true size.
What if my LAZ file is too large to upload?
Guests can upload up to 50 MB per file, free accounts 100 MB, Plus 200 MB and Pro 1 GB. Every file is still reduced to at most 1,000,000 points, so a very large scan gains nothing from a bigger upload. Tile or thin it with PDAL or LAStools and convert the tiles to GLB.
What happens to my file after conversion?
Processing happens on our servers, not in your browser, and transfers use HTTPS. Your upload is deleted as soon as the conversion finishes. The converted file can be downloaded for about 4 hours, then it is deleted automatically. Anyone who has the random download link can use it until then, so do not share it. File names and sizes are logged for operations, and signed-in users see the conversion in their history.