BrickBuilder
Back
Your model, in voxels

OBJ to XYZRGB Converter

Turn your OBJ 3D model into XYZRGB voxel coordinates voxels. Choose the detail level and download a .xyzrgb file for your next project.

Upload your OBJ model

Up to 50 MB · Surface voxelization · Direct .xyzrgb download

Higher values add detail and increase processing time. Thin features may disappear at lower resolutions.

Convert OBJ meshes to XYZRGB voxel coordinates

Wavefront OBJ stores polygon mesh geometry and may contain vertex colors. This converter accepts standalone OBJ files. External MTL files and textures are not loaded; export a self-contained GLB when you need textured colors.

Create a plain-text .xyzrgb list of colored voxel coordinates. Each row contains integer x y z positions followed by red, green, and blue values from 0 to 255.

Choose XYZRGB to inspect, script, or process a sparse colored voxel grid. Only occupied cells are listed, making it easy to read in Python or another data pipeline.

XYZRGB is a simple text convention rather than a full voxel editor project. It does not include a scene, animation, voxel pitch, or source units. Your importer must expect six space-separated values per row.

Upload OBJ

Choose your .obj file and inspect the original mesh in 3D.

Set voxel detail

Pick a resolution between 8 and 64. Higher detail creates more occupied cells.

Download XYZRGB

Convert the mesh and save your .xyzrgb file for a compatible editor or pipeline.

Choose a voxel file format

Use VOX for MagicaVoxel, QB for Qubicle interchange, BINVOX for occupancy grids, or XYZRGB for colored coordinate data.

OBJ to XYZRGB FAQ

How do I convert OBJ to XYZRGB?

Upload a .obj mesh up to 50 MB, set a voxel resolution from 8 to 64, and select Convert to XYZRGB. When processing finishes, download the .xyzrgb file. Conversion runs on the backend without a separate desktop converter.

What is a XYZRGB file used for?

Choose XYZRGB to inspect, script, or process a sparse colored voxel grid. Only occupied cells are listed, making it easy to read in Python or another data pipeline.

Will colors and textures be preserved?

The converter samples available vertex colors and embedded GLB textures. QB and XYZRGB retain sampled RGB values. Standalone OBJ uploads do not include external MTL files or texture images. Transparency is not preserved.

Does the converter create solid or surface voxels?

It voxelizes mesh surfaces rather than filling the interior. The output uses a Z-up voxel grid and does not retain the source model’s units, rigging, animation, or object hierarchy. Fine details depend on your resolution.

What model limits apply?

Upload a nonempty file up to 50 MB with no more than 250,000 mesh faces, 500,000 vertices, and 256 scene instances. Very complex models may reach the 90-second conversion limit. Simplify the mesh or lower the resolution if conversion fails.

Can I turn the same 3D object into a LEGO design?

Yes. Try the GLB to LEGO converter to create a LEGO-compatible model from a 3D object. Export an OBJ as a self-contained GLB first. You can also start a brick design from an image or a text prompt using BrickBuilder AI.