VOX to STL Converter

Drop a MagicaVoxel .vox file and get a mesh that is ready to print: touching cube faces are merged into large flat faces, cubes that only touch at an edge are joined, and the result is one closed, watertight mesh. Set how many millimetres one voxel is, then download STL, a 3MF with a part per colour, or a coloured GLB. It all runs in your browser.

Free · no signup · .vox in · STL, 3MF and GLB out

Loading the converter...

How it works

  1. 1

    Drop your .vox file

    Drop a MagicaVoxel .vox file up to 64 MB, or try the sample. Scenes with several models are placed as in MagicaVoxel.

  2. 2

    Set the voxel size

    Type how many millimetres one voxel should be (1 mm by default). The page shows the model size in mm and inches.

  3. 3

    Choose the options

    Fill hidden hollows makes closed air pockets solid. Merge by colour keeps colour borders sharp; turn it off for the fewest triangles.

  4. 4

    Download

    Save a binary STL for any slicer, a 3MF with one part per colour for multi-colour printers, or a GLB with colours.

Under the hood the converter keeps only the cube faces you can see, then merges neighbouring faces that point the same way (and, by default, share a colour) into the largest rectangles it can: this is called greedy meshing. Where a big rectangle meets smaller ones, the shared corners are added to its outline so no crack can open between them, and each outline is cut into triangles. Cubes that touch only along an edge or at a corner are joined with a few extra voxels first, because no slicer can print those as one manifold solid.

Supported formats

FormatOpenDownloadNotes
VOXYesNoMagicaVoxel files, version 150 and up: palette, several models and the scene layout. Files without a palette use the default colours.
STLNoYesBinary STL in millimetres. One closed mesh, no colour (STL has none).
3MFNoYesMillimetres, one object per colour with its colour set, for multi-colour slicers.
GLBNoYesglTF binary with a colour per vertex, Y up, sized in metres as glTF expects.

Going the other way? The STL to voxel converter turns an STL, OBJ or GLB into a .vox file. To check the result before printing, open it in the STL viewer or the 3MF viewer.

No voxel model yet?

Make a 3D model with The3DAI from one photo or a line of text, then voxelize it with the STL to voxel converter.

More free 3D tools

Frequently Asked Questions

Drop the .vox file into the converter above, type the voxel size in millimetres and click STL. The file is merged into large flat faces and checked for holes before you download it. Nothing is uploaded.
A voxel model exported cube by cube has two triangles for every visible cube face. This converter uses greedy meshing: neighbouring faces that point the same way are merged into one rectangle, so a solid 3×3×3 cube goes from 108 triangles to 12. The page shows the triangle count before and after.
Yes. Every edge is shared by exactly two faces and the page checks this after meshing. Cubes that touch only at an edge or a corner cannot be printed as one manifold mesh, so the converter adds the fewest extra voxels needed to join them, and tells you how many.
The voxel size is how many millimetres one cube is in the print. 1 mm is a good start: a 32-voxel model is then 32 mm tall. You can set anything from 0.01 to 100 mm. Very small voxels, close to your nozzle width, lose their crisp edges in print.
Yes, download the 3MF. It holds one object per palette colour, each with its colour set, in millimetres, so a multi-colour slicer can give each colour its own filament. STL has no colour; the GLB keeps colours for games, the web and other 3D apps.
Some voxel models have air pockets sealed inside them. Printed as they are, those pockets become hidden inner walls. With the option on, any empty space that does not reach the outside is filled, so you get one solid part. Turn it off to keep the inner shells.
No. The .vox file is read and converted by your own browser, so it never leaves your device and there is no signup.
Files can be up to 64 MB and up to 4 million voxels on a computer (1 million on a phone), so the page stays responsive. If a file goes over, the tool says so.

MagicaVoxel is a trademark of its owner. The3DAI is not affiliated with or endorsed by it.