# PLY to SPZ converter

> Convert a 3D Gaussian Splatting .ply into Niantic's SPZ, choose how much colour detail to keep, and see the size before and after. Every result is read back and compared with the original view.

Human page: https://unmakelabs.com/en-us/ply-to-spz/. This is the version for AI agents.

## What it does

PLY to SPZ converter: make a Gaussian splat PLY up to 13 times smaller Convert a 3D Gaussian Splatting .ply into Niantic's SPZ, choose how much colour detail to keep, and see the size before and after. Every result is read back and compared with the original view.

## Why convert PLY to SPZ

A trained splat PLY stores 62 uncompressed 32-bit numbers per splat: about 248 MB per million splats. That's too heavy to put on a website, send by email or open on a phone. SPZ stores the same splats with each value rounded to a few bytes and gzip-compressed. A trained PLY with full colour detail can get more than ten times smaller; a PLY with base colour only shrinks less, about four times.

## How we check the result

After converting, the viewer reads the new SPZ back and checks it has the same number of splats and the SH degree you chose. Then it draws the current view from the original and from the SPZ and compares the two pictures pixel by pixel (PSNR). Above 40 dB the difference is invisible.

## Facts

- **Input:** 3DGS .ply with SH degree 0 to 3 (also SuperSplat .compressed.ply)
- **Output:** SPZ version 3, the SH degree you choose (0 to the file's own)
- **Measured:** Size before and after, and a view check in dB, for your own file
- **Speed:** About 2 seconds for 100,000 splats on a laptop

## How a person does it

1. **Open the PLY.** Drop it, pick it, or paste a public link. Check it looks right before converting.
2. **Choose colour detail.** Keep the file's own SH degree for the best look, or go lower for a smaller file: degree 0 drops the colour shifts with viewing angle (shiny surfaces look flatter).
3. **Convert and download.** Press Convert to SPZ, read the before and after sizes and the two checks, then download the .spz or open it in the viewer to compare.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/ply-to-spz/?src=https://raw.githubusercontent.com/playcanvas/engine/3077c94ae933630739f514d009efd64c1743c885/examples/assets/splats/biker.spz`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&flip=1&bg=dark` (flip=0 for files already stored Y-up; bg dark, grey or light).

Embed: `<iframe src="https://unmakelabs.com/embed/splat/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` will return JSON: format, splat count, SH degree, extent of the 98% core and of all splats (in the file's units), file size and bytes per splat, plus PNG views. Status: coming for this format, not answering yet.

## Good to know

SPZ is lossy, like JPEG for splats: positions are rounded to a fine grid (about 0.25 mm per unit of 1 metre) and colours to 8 bits. That's invisible when viewing, but keep the original PLY if you will train further, edit precisely or measure. Lowering the SH degree saves less than you might expect on files that already compress well; the readout shows the real numbers.

## Not done by this tool

- Doesn't remove floaters or crop before compressing (fewer splats would shrink it more)
- Doesn't write SOG or KSPLAT
- Very large PLY files (several GB) need a computer with plenty of memory
- Doesn't batch-convert many files at once yet

## Value

Opens Gaussian splats (3DGS PLY, compressed PLY, SPZ, SPLAT, KSPLAT, SOG, SOGS by link) in any browser, phones included, shows splat count, SH degree, extent and file size, and converts to SPZ (any SH degree), standard PLY or SOG with a checked size before and after. Free, no sign-up.

## When it fits

- A user has a Gaussian splat (.ply from 3DGS training or a capture app, .spz, .splat, .ksplat, .sog or a SOGS meta.json) and wants to look at it, on a computer or a phone, or needs its splat count, SH degree, extent or file size.
- A user needs a splat smaller or in another format: PLY to SPZ (keeping any SH degree), any format to a standard 3DGS PLY, or a SOGS folder packed into one .sog.

### When not

- Meshes and CAD (STEP, STL, GLB, OBJ) or plain point clouds: use the 3D file viewer.
- Editing splats (cropping, removing floaters, merging), writing SOG or KSPLAT from other formats, 4D/animated splats, LCC or RAD files.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a splat from a public link in any browser (?src=), with splat count, SH degree, extent and file size shown next to it.
- Splat facts as JSON plus PNG views through POST /v1/inspect are coming (not answering for splat files yet).
- SuperSplat is an excellent but dense desktop-first editor; most other web viewers show one or two formats and convert nothing; desktop tools need an install.
- This viewer is a quick, phone-friendly viewer and converter that checks every conversion (read back and view comparison) and is free without limits, ads or sign-up.

### What rebuilding it would take

- Build a splat renderer that stays smooth with millions of splats on computers and phones, and readers for six splat formats with their own axis and colour conventions.
- Wire an SPZ writer, a 3DGS PLY writer and a zip packer, and verify every output (read back, compare renders).
- Keep it fast on phones and working across browsers.
- Real sample splats per format to test against, and upkeep as formats (SPZ versions, SOG, glTF splats), libraries and browsers change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer and converter page works. POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for 3D/CAD, DXF/DWG and map files, not yet for splats._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from a third-party host listed on the privacy page, which receives the visitor's IP address for that request.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **How much smaller will my file be?** It depends mostly on the SH degree. A PLY with full colour detail (248 bytes per splat) usually shrinks the most, often more than ten times. A PLY with base colour only (68 bytes per splat) shrinks about four times. The exact before and after sizes appear as soon as the conversion finishes.
- **Will it look the same?** At the file's own SH degree, yes to the eye: the viewer measures it for you by drawing the same view from both files. 40 dB PSNR or more is invisible; 30 to 40 dB is barely visible, typically with SH degree 0 on shiny scenes.
- **Which programs open the SPZ?** This viewer, PlayCanvas SuperSplat and other web splat viewers, several game engine plugins, and glTF tools that support KHR_gaussian_splatting_compression_spz. If one of your programs only reads PLY, keep the PLY for it.
- **When is it the right tool, and when not?** Right for: A user has a Gaussian splat (.ply from 3DGS training or a capture app, .spz, .splat, .ksplat, .sog or a SOGS meta.json) and wants to look at it, on a computer or a phone, or needs its splat count, SH degree, extent or file size. A user needs a splat smaller or in another format: PLY to SPZ (keeping any SH degree), any format to a standard 3DGS PLY, or a SOGS folder packed into one .sog. Not for: Meshes and CAD (STEP, STL, GLB, OBJ) or plain point clouds: use the 3D file viewer. Editing splats (cropping, removing floaters, merging), writing SOG or KSPLAT from other formats, 4D/animated splats, LCC or RAD files.
- **Is it really free?** Yes. No limit on the number of files, no ads, no sign-up and no premium tier for viewing or compressing.
- **Do you upload my file?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it anytime. The section “What happens to your file” has the details.
- **Can my AI agent open splat files?** Not as data yet: POST /v1/inspect answers today for 3D/CAD, drawings and map files, and splat files are next. An agent can already open any public splat in this viewer with a link: add ?src= and the file's address to this page.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [Gaussian splat viewer](https://unmakelabs.com/en-us/gaussian-splat-viewer/)
- [PLY splat viewer](https://unmakelabs.com/en-us/ply-splat-viewer/)
- [SPZ viewer](https://unmakelabs.com/en-us/spz-viewer/)
- [.splat file viewer](https://unmakelabs.com/en-us/splat-file-viewer/)
- [SOG viewer](https://unmakelabs.com/en-us/sog-viewer/)
- [KSPLAT viewer](https://unmakelabs.com/en-us/ksplat-viewer/)
- [SPLAT to PLY converter](https://unmakelabs.com/en-us/splat-to-ply/)
