MeshFormat

XYZ to glTF Converter

Drop a .xyz file below and get a .gltf back. The conversion happens inside this page using WebAssembly, so nothing is uploaded to a server and there is no queue to wait in.

  • Private by designFiles stay on your device.
  • No queueConversion starts instantly.
  • No sign upNo account, no limits per day.

Compatibility

What survives the trip from XYZ to glTF.

FeatureXYZglTFResult
GeometryPartialSupportedPartial
Vertex colorsPartialSupportedPartial
MaterialsNot supportedSupportedNot supported
TexturesNot supportedSupportedNot supported
Scene hierarchyNot supportedSupportedNot supported
AnimationNot supportedSupportedNot supported

How to convert XYZ to glTF

  1. 1Add your XYZ fileDrop the .xyz file into the box, or pick it from disk. Multiple files are converted one after another.
  2. 2Pick glTF as the outputglTF is already selected on this page. Adjust scale, up axis or triangle budget if the target application is picky.
  3. 3Download the resultThe .gltf file is written locally and appears as a download button next to your file.

About XYZ

An XYZ file is one point per line: three coordinates, sometimes followed by RGB values. It has no faces and no header, which makes it trivially easy to generate from any script or measurement device.

  • CloudCompare
  • MeshLab
  • AutoCAD
  • QGIS

About glTF

glTF 2.0 stores the scene graph, PBR materials, skins and animations as JSON with binary buffers alongside. Being text, it is easy to diff and post process, and it is the interchange format modern engines standardise on.

  • Buffers and textures are emitted as separate files and delivered as a ZIP.
  • three.js
  • Babylon.js
  • Blender
  • Unity
  • Godot

Questions

Is this XYZ to glTF converter free?

Yes. There is no account, no daily quota and no watermark. The tool is a static web page and the work is done by your own CPU, so there are no server costs to pass on.

Are my files uploaded anywhere?

No. MeshFormat loads a WebAssembly build of the geometry kernels into your browser and reads the file locally. You can open the network tab and confirm that nothing leaves the page, or disconnect after the page has loaded and keep converting.

How large can a XYZ file be?

The practical limit is your available memory rather than an arbitrary cap. Models up to a few hundred megabytes work on a normal laptop; very dense scans convert faster if you lower the triangle budget in the options.

Anything to know about glTF output?

Buffers and textures are emitted as separate files and delivered as a ZIP.

Which programs open glTF files?

three.js, Babylon.js, Blender, Unity and most other tools that work with 3D meshes read .gltf directly.

More converters