MUMeshUnpack

Free Online G-code to STL Converter — Rebuild Meshes from .gcode Locally

Lost your original STL and only have the sliced .gcode file left on your SD card? Reconstruct extruded G1 toolpaths back into a 3D Binary STL mesh right inside your browser.

100% Local Browser Processing Zero File Upload Free up to 5 MB · No Signup

Drop a .GCODE file here to rebuild into 3D STL

Processed 100% locally in your browser memory — your files are never uploaded to any server. Free exports up to 5 MB (no signup).

No file loaded yet
Triangles
—
Dimensions (mm)
—
Binary STL Size
—
Mesh Health
—
Tinkercad Check
—
Volume & Est. PLA (20% infill)
—

How G-code to STL Reconstruction Works (And What to Expect)

Unlike an STL file, a .gcode file does not store a clean surface mesh — it stores thousands of machine toolpath commands (G0 travel moves and G1 X Y E filament extrusion moves). When you lose the original CAD or STL file and only have an SD-card .gcode backup, MeshUnpack parses every positive-extrusion G1 move (supporting both absolute M82 and relative M83 extrusion modes) and sweeps each bead into a solid 3D rectangular prism at your exact nozzle width and layer height.

Best Practices After Converting G-code Back to STL

  • Match the Nozzle Width (typically 0.45 mm for a 0.4 mm nozzle) and Layer Height (typically 0.20 mm) used when the G-code was originally sliced so adjacent walls touch cleanly.
  • Because reconstructed toolpaths contain internal infill beads, exported files can exceed 5 MB on tall prints — use MeshUnpack Pro (up to 200 MB local export) or run our Tinkercad Safe Reducer to simplify dense meshes.

Frequently Asked Questions

Can I convert Bambu Lab .gcode.3mf files?

Yes! If your file ends in .gcode.3mf, use our 3MF to STL converter (/3mf-to-stl/) first — Bambu .gcode.3mf files often still contain the original clean 3D/Objects/*.model mesh inside the archive, which gives far cleaner geometry than raw G-code!

Does this work with PrusaSlicer, OrcaSlicer, and Cura G-code?

Yes. MeshUnpack supports standard G90/G91 positioning and M82/M83/G92 extrusion tracking generated by Cura, PrusaSlicer, OrcaSlicer, and Bambu Studio.

Are my G-code files uploaded to a server?

Never. Parsing and mesh reconstruction run 100% in your local browser memory.