G-code to STL (approximate)
Work with G-code and STL files. Runs locally in your browser — nothing is uploaded.
Input
Settings
Approximate export: extruded toolpaths (rectangular beads), not the original model mesh. Best for FDM print G-code with extrusion moves; CNC/laser paths are not meaningful as a print mesh.
Model preview
Upload a model to see its 3D preview
☝ Tap to interactEnable 3D rotation, zoom and pan
3D PreviewDrag: rotateScroll: zoomRight-drag: pan
Result
Output
No output yet.
How to use it
About G-code to STL (approximate): Extruded toolpaths become rectangular beads that are meshed into an approximate STL, useful for checking the shape of a print.
- Prepare your file. Use FDM G-code with extrusion moves. CNC and laser paths cannot form a printable mesh. Accepted inputs: G-code.
- Load the G-code.Paste a program into the input box, drop a .gcode / .nc file onto the upload area, or pressLoad sampleto try the built-in example. Tools that need two programs provide a second input.
- Set the options.Adjust the fields in the Settings card to match your machine, material and firmware. The note below them explains any limitation of this tool.
- Run the tool.PressConvert to STL. The result panel shows statistics, a report and a preview when the output is an SVG or STL. A warning appears instead of output when a conversion cannot run in the browser.
- Export and work safely.UseDownloadorCopyto save the result, then check it before sending anything to a machine. Dry-run the program above the material with the tool off, verify the bounds, and never leave the machine unattended.
Please note: The mesh is approximate and ignores the original model surfaces. Inspect the wireframe preview before downloading.
Frequently asked questions
- Is G-code to STL (approximate) free to use?
- Yes. G-code to STL (approximate) is free, needs no account and runs entirely in your browser.
- Are my files uploaded when I use G-code to STL (approximate)?
- No. G-code to STL (approximate) processes files locally in your browser; nothing is uploaded to a server.
- What can I do with the output from G-code to STL (approximate)?
- Download the STL result and check it before using it with your printer, router or laser.