XYZ to OFF: Terrain Point Cloud to Height-Field Mesh
Upload an XYZ point cloud of ground or terrain and get an OFF file with a triangle surface built across it. This works only when the points describe one surface seen from above; scans of objects, rooms or buildings are refused, not meshed badly.
Download Started!
How would you rate your experience with MiConvert?
From loose points to an OFF surface
An XYZ file is plain text with one point per row: x, y and z, often followed by colour or intensity columns. LiDAR, survey, photogrammetry tools and CloudCompare export it. It has no edges or faces. OFF, the Geomview-era format still read by MeshLab, CGAL and libigl, stores a vertex list plus a face list, so a surface has to be built before a cloud can become OFF.
Our converter runs on our servers. A Python point-cloud reader parses your rows, accepting spaces, commas or semicolons between values. It then treats the cloud as a height field: the points are resampled onto a regular grid, and neighbouring grid nodes are joined into triangles. The result is one open surface with no side walls and no base, which a trimesh writer saves as OFF. There is no general reconstruction such as Poisson or ball pivoting, so a cloud that folds back on itself, wraps around an object or has several overlapping layers is refused with an explanation instead.
Know what changes on the way. The original points are not stored in the OFF file; the surface is a gridded approximation, so detail finer than the grid spacing is smoothed out. Colour and intensity columns are dropped, because our OFF output holds vertices and triangles only. Clouds above 1,000,000 points are first reduced to a uniform random sample of 1,000,000. Coordinates larger than 100,000, which are typical of projected survey data, are shifted close to the origin. No unit conversion happens, Z stays the vertical axis, and the page does not notify you when sampling or shifting has taken place.
This suits anyone who has a terrain, quarry, field or aerial survey as XYZ and needs it as a surface in an OFF-based tool: geometry-processing scripts, academic mesh benchmarks, or classroom assignments that expect OFF. If you reached this page looking to convert XYZ coordinates between coordinate systems, that is a different task, covered in the questions below. Note also that the XYZ molecule files used in chemistry, which list element symbols with atom positions, are not point clouds and are not what this page is for.
How to convert an XYZ point cloud to OFF
- Check that your cloud is a height field: a single ground or terrain surface seen from above. If it includes trees, overhangs or building walls, filter it down to ground points in CloudCompare or your LiDAR software first.
- Make sure every row begins with x, y and z, separated by spaces, commas or semicolons, and save it with the .xyz extension. Without an account a file can be up to 50 MB; a free account raises that to 100 MB.
- Upload the XYZ file. It is gridded and triangulated on our servers; a cloud that is not a height field comes back with an explanation and no file.
- Download the OFF result within about 4 hours, after which it is deleted.
- Open it in MeshLab or your geometry library. If your source used large survey coordinates, realign the surface there, since it will sit near the origin.
What this XYZ to OFF converter actually does
- Reads plain-text point rows separated by spaces, commas or semicolons
- Builds an open height-field triangle surface over the area the points cover, with no walls or base added
- Refuses object and building scans with an explanation, because no general surface reconstruction is performed
- Reduces clouds above 1,000,000 points to a uniform random sample of 1,000,000 before meshing
- Keeps Z as the up axis and does not scale or reproject coordinates; clouds with coordinates over 100,000 are re-centred near the origin
- Accepts several XYZ files in one batch (10 per batch without a paid plan), each turned into its own OFF file
Video Tutorial
Detailed guide on how to convert XYZ files to OFF quickly, for free, and without losing original quality. Perfect if you need to process file formats, reduce size, or upload files to systems that only
XYZ to OFF questions
Why was my XYZ file refused instead of converted?
The converter only meshes clouds that form one surface seen from above. Scans of objects, interiors or buildings, and clouds with overlapping layers, are refused because building a closed shape from them would need surface reconstruction, which we do not offer. Mesh the cloud yourself with Poisson or ball-pivoting reconstruction in MeshLab or CloudCompare and export OFF from there, or keep the points as points by converting XYZ to PLY, OBJ or GLB.
What if the converter says it cannot read my file?
Open the XYZ in a text editor and check that each row starts with three numbers for x, y and z, separated by spaces, commas or semicolons. If your software wrote a binary or project format and just gave it an .xyz name, re-export it as plain text from that program, then upload again.
Are point colours or intensity values kept in the OFF file?
No. Our OFF output contains only vertices and triangles, so colour and intensity columns are dropped. If you need colour, keep the data as points by converting to PLY or GLB, which keep point colours when the reader picks them up from your file.
Can this convert XYZ coordinates to latitude and longitude?
No. The converter does not reproject coordinates; values pass through as plain numbers, except that very large ones are shifted toward the origin for meshing. To change coordinate systems, use a GIS tool such as QGIS or PROJ on the point file before or after converting.
Which axis is up, and can I change it?
The third column is treated as height, so Z stays vertical and the surface comes out upright. There is no axis option. If your tool expects Y up, rotate the mesh 90 degrees in MeshLab, Blender or your own code after download.
Will the surface keep its real size and survey position?
The numbers are not scaled, and OFF itself has no unit field, so the size is whatever units your XYZ used. Position is different: if any coordinate is above 100,000, the surface is moved close to the origin and the OFF file does not record by how much. Keep your original file for reference if you need to place the surface back in its survey location.
Is there a limit on point count or file size?
Clouds above 1,000,000 points are sampled down to 1,000,000 before the surface is built. File size is capped per plan: 50 MB without an account, 100 MB with a free account, 200 MB on Plus and 1 GB on Pro. Each conversion step also has a 10-minute limit.
What happens to my XYZ file after conversion?
Your upload is deleted as soon as the conversion finishes. The OFF file can be downloaded for about 4 hours through an unguessable link, then it is deleted automatically. Transfers use HTTPS. File names, sizes and conversion outcomes are logged for operations, and signed-in users keep a conversion history entry until they delete their account.