GAllGcode

STL to G-code Converter

Slice STL models into G-code. Runs entirely in your browser — no uploads, your files never leave your device.

STL

Drop STL here or click to browse

.stl — max 20 MB

Model preview

Model info

No model loaded

Print estimate

Print settings

Fixed:Filament 1.75 mm · Travel speed 3000 mm/min. Set bed to 0 to skip fit checks.
Custom start / end G-code

Preview

Scroll to zoom · Drag to pan

G-code

No output yet.
How to use it

About STL to G-code Converter:STL is the most common 3D printing mesh format. This tool slices binary or ASCII STL files into G-code with print, adhesion and start/end G-code controls.

  1. Prepare your model. Export a watertight, manifold STL with the correct orientation for your printer. Repair non-manifold edges and remove stray geometry first. Accepted inputs: STL.
  2. Upload the model.Click the upload area to browse, or drag and drop a file onto it. Files up to 20 MB are supported. The model panel reports the decoded geometry and the preview lets you drag to rotate it.
  3. Set the print parameters. Layer heightcontrols detail and print time.Infill, Wall countandLine widthcontrol strength and material use. SetScaleif the model is not the size you want, then matchNozzle diameter, Nozzle temp, Bed tempandPrint speedto your printer and filament. STL also lets you tuneFirst layer height, Top / bottom layers, Infill pattern, Retraction, Fan speed, SkirtandBrim, the bed size, and custom start/end G-code. Filament is fixed at 1.75 mm.
  4. Check the preview.Compare the shaded mesh with the toolpath preview below. Drag the model to inspect it from every side and check the layer count, triangle count and print estimate. Confirm the head moves only where you expect before printing.
  5. Export and share.Slicing updates automatically when you change a setting, or you can pressConvert to G-code. UseDownload G-codeorCopy to clipboardto take the result to your printer.Sharecopies a link that restores all of these settings for the next user.
  6. Print safely.Level the bed, use temperatures that suit your filament, and watch the first layers closely. Keep the area ventilated and never leave a running printer unattended.

Please note:Very large meshes can take a moment to slice. Check the warnings panel for thin walls or unsupported features before printing.

Frequently asked questions

Is STL to G-code Converter free to use?
Yes. STL to G-code Converter is free, needs no account and runs entirely in your browser.
Are my files uploaded when I use STL to G-code Converter?
No. STL to G-code Converter processes files locally in your browser; nothing is uploaded to a server.
What can I do with the output from STL to G-code Converter?
Download the G-code result and check it before using it with your printer, router or laser.

Related tools

All tools