Preview your G-code toolpath in 2D

See where your tool will go before you run it. G0, G1, G2 and G3 moves are drawn in a simple 2D view. Zoom, pan and check your paths.

Stays on your device Free
1. Add a G-code file

See the toolpath in 2D. G0, G1, G2 and G3 moves.

Drop a G-code file, or click to choose .gcode or .nc, up to 50 MB
Wheel to zoom · drag to pan

Add one G-code file.

How to use g-code viewer

  1. Add a G-code file. Drop a .gcode or .nc file. We read the moves.
  2. View the toolpath. Zoom and pan to see where your tool will go.
  3. Check the bounds. Read the size and the layer count. Zoom in to check small shapes.

What you get

  • G0, G1, G2 and G3 moves
  • Zoomable 2D canvas
  • Layer and travel filtering
  • Bounds and move count

G-code Viewer questions

Which G-code moves are supported?

G0 travel moves and G1, G2 and G3 cut moves. Arc moves are drawn as smooth curves.

Can I filter by layer?

Yes. If the file has more than one layer, a layer menu appears. Pick one layer to focus on it.

Why is the view flat?

G-code paths are in the flat XY plane. The Z height is not shown in the 2D view.

Why are some moves grey?

Grey lines are G0 travel jumps. Untick the box to hide them and see only the cut moves.

Does this tool work offline?

Yes. When you see the crossed wifi mark, the tool is ready. You can turn off the internet and keep using this open page. To open it again later, load the page once while online.