Open Viewer
3D View 2D View G-Code Analysis Convert About FAQ Privacy G-Code Guide

GCodex

Free online G-Code viewer, analyzer, simulator & editor.

What is GCodex?

GCodex is a free, browser-based G-Code viewer and CNC machine simulator. It lets you visualize, analyze, and simulate G-code toolpaths for CNC machines and 3D printers — entirely in your browser, with no file upload and no account required.

When you open a G-code file in GCodex, the entire file is read locally using the browser's FileReader API. It is parsed in JavaScript, rendered in 3D using WebGL and Three.js, and displayed in 2D using the Canvas API. Nothing is ever transmitted to any server. Your file stays on your device throughout the session and is discarded from memory when you close or refresh the tab.

GCodex was built as a faster, more feature-rich alternative to NCViewer and gcode.ws. It handles larger files, renders toolpaths more smoothly, and includes features those tools don't have — layer filtering, a full analytics dashboard, an in-browser G-code editor with Find & Replace, model scaling with bounding box, and export to eight different file formats.

Features

GCodex has six main tabs, each serving a specific purpose:

Supported Machines & Firmware

GCodex works with all standard G-code generated by any slicer or CAM software:

Supported commands include G0, G1, G2, G3, G4, G20, G21, G28, G29, G90, G91, G92, M82, M83, M104, M109, M106, M107, M140, M190, and more.

GCodex vs NCViewer

NCViewer is the most widely known browser-based G-code viewer and ranks highly for the keyword "gcode viewer". However, its feature set is limited. GCodex was built specifically to be a better alternative.

NCViewer has a basic 3D and 2D viewer, no analytics, no layer filtering, no editor, no export options, and minimal documentation. GCodex adds layer filtering with real-time 3D and 2D update, a full analytics dashboard with per-layer charts, an in-browser editor with Find & Replace and undo, model scaling with bounding box, eight export formats including STL and OBJ, toolpath animation, Arduino and GRBL guides, and bioprinter support.

Contact

For bug reports or feature requests, open an issue on the GitHub repository. For privacy-related questions, see the Privacy Policy. For usage questions, see the FAQs.

Website: gcodex.tech

Keywords: gcode viewer · g-code viewer online · free gcode viewer · gcode analyzer · gcode simulator · CNC toolpath viewer · 3D printer gcode viewer · ncviewer alternative · gcode.ws alternative · marlin gcode viewer · klipper gcode viewer · grbl gcode viewer · bioprinter gcode · verify gcode online · gcode viewer no upload