G-code Viewer
Open and preview G-code files online. 3D toolpath view with layer-by-layer slider, extrusion and travel moves, print statistics and model dimensions — no install, fully local.
How to Use G-code Viewer
This G-code viewer renders 3D printing and CNC toolpaths right in your browser. The file is parsed in a background worker that understands G0/G1 moves, G2/G3 arcs, inch/millimeter units, absolute and relative positioning and extrusion tracking, then the path is drawn with WebGL: extrusion colored by layer height and travel moves hidden until you want them. Nothing is uploaded — parsing and rendering are entirely local.
- Click the upload zone or drop a .gcode / .gco / .nc / .txt file onto it — parsing starts immediately and a line counter shows progress.
- Explore the 3D view by dragging to rotate, scrolling to zoom, and right-dragging to pan; the model sits Z-up just like on the printer.
- Use the layer slider to clip the view to a specific layer; drag it down to inspect lower features and back up to see the full print.
- Tick "Show travel moves" to reveal non-extruding moves as faint gray lines, useful for spotting wasteful hopping.
- Check the statistics row for total lines, path segments, the X×Y×Z size in mm, the layer count and the estimated filament length.
- If the view feels off, press "Reset view" to re-fit the camera to the whole model.
Colors run from cool at the first layer to warm at the last, so a quick scroll through the layer slider is the fastest way to sanity-check how a print builds up.
Related Tools
- SVG Viewer & Editor Preview, edit and optimize SVG files online. Real-time preview, code editing, and optimization tools.
- GIF Split Frames Extract and download individual frames from GIF animations as PNG or sprite sheet. Free online tool with preview and ZIP export.
- GIF Reverse Reverse GIF animation playback order online for free. Upload, preview and download reversed GIFs instantly.
- GIF Speed Changer Change GIF animation speed online. Speed up or slow down GIF files instantly.
- Video to GIF Convert video to animated GIF online. Adjust quality, frame rate and resolution directly in your browser with no upload required.
- Meme Generator Free online meme generator. Add classic top and bottom captions to any image, drag text anywhere and download your meme as PNG or JPEG instantly.
- ID Photo Maker Free online ID photo maker. Remove the background from any portrait, auto-compose to standard sizes like 295×413, choose white, blue or red background and download PNG or JPG.
- Avatar Generator Free online avatar generator with 21 DiceBear styles. Pick a style, tweak the seed, background and radius, then download your cartoon profile picture as PNG or SVG.