iLoveConverter
Categories 11 categories
3DPLY

PLY, Explained

iLoveConverter Team 2 min read

On this page

PLY (Stanford Triangle Format, also called Polygon File Format) is a flexible 3D mesh format designed by Greg Turk and Marc Levoy at Stanford in 1994. While STL is triangles-only and OBJ is legacy, PLY offers a middle ground: it stores vertex and face data in a self-describing header that declares exactly what properties each vertex and face has — positions, colors, normals, confidence values, custom scalar fields.

Technical details

PLY has an ASCII text format (.ply header readable with any text editor) and a binary format (big-endian and little-endian variants). The header lists the element types (vertex, face, plus custom ones) and their properties (x, y, z, red, green, blue, alpha, nx, ny, nz). Faces can be triangles, quads, or n-gons. A comment field holds metadata.

FeaturePLYSTLOBJGLB
Vertex colorYesNoNoYes
Face colorYesNoYesPer-material
NormalsOptionalRequiredOptionalOptional
Custom propertiesYesNoNoLimited
ASCII variantYesYesYesNo

Conversion

PLY converts losslessly to STL, OBJ, and GLB. When converting PLY with vertex colors to GLB, colors become vertex color attributes in the mesh; STL conversion strips colors because STL has no color data. Reverse conversion (STL → PLY) gains the color data structure but no actual colors unless you paint them.

Common problems

  • Binary byte order. PLY supports both big-endian and little-endian binary; some tools mishandle the wrong variant.
  • Legacy tools. Older software may not parse modern PLY with custom element types.
  • Face encoding. The face list uses variable-length indices (list property type), which some parsers struggle with.

FAQ

Is PLY better than STL?

More flexible — yes, because it carries colors and normals. But STL is still the universal 3D printer format. Use PLY when you need vertex colors or when exporting from photogrammetry pipelines (which commonly output PLY).

Can PLY store point clouds?

Yes — a PLY with only vertex elements (no face elements) is exactly a point cloud. The Stanford 3D scanning repository uses PLY heavily for point cloud datasets.

What photogrammetry tools use PLY?

Agisoft Metashape, Meshroom, COLMAP, and most open-source photogrammetry tools output PLY by default because it preserves vertex confidence and color information.

How do I open a PLY file?

Blender, MeshLab, CloudCompare, and almost every 3D tool reads PLY. It’s also one of the easiest 3D formats to write code for — the ASCII header makes parsing trivial.

Does PLY support compression?

No — PLY is uncompressed. For compressed meshes, use Draco-compressed GLB or Google’s Meshopt. For quick compression, zip the PLY file; gzip typically achieves 80–90% reduction on binary PLY.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: PLY (.ply) , STL (.stl)