Use this free tool to view your 3D G (G-code) files online without needing to install any software. Our G viewer tool will generate a real-time 3D preview of your G file with Pan and Zoom controls, allowing you to see your 3D model from any angle.
Our G viewing tool can load most G files, and we are working on improvements all the time to improve compatibility with all file formats. If you are looking to convert your 2D image files to 3D files, such as STL, then we have a 2D to 3D conversion tool here.
| Extension | G |
| Full Name | G-code |
| Type | 3D Model |
| Mime Type | text/plain |
| Format | Binary |
| Tools | G Converters, 3D Model Voxelizer, Create G Animation, G Viewer |
The G file format is a variation of the GCODE format, the native file format used by CNC machines and 3D printers as a means to coordinate the movement and actions of these machines. In the case of FDM 3D printers, the file contains commands to move the extruder to specific locations and the rate with which to extrude the plastic filament onto the build plate.
A G file is a plain text file containing lists of commands, with each command appearing on a new line within the file. These commands control how the CNC machine or 3D printer operates and how it creates a particular 3D object. GCODE is a standard format and is usually generated by 3D printing slicer software from standard 3D model formats such as STL.
First, click the "Upload..." button and select the G file you wish to view. Once your G file has been received it will be displayed in your browser.
We aim to process all G file viewing requests as quickly as possible, this usually takes around 5 seconds but can be more for larger or more complex files so please be patient.
We aim to create the most accurate rendition of your G file with our tools. Our tools are under constant development with new features and improvements being added every week.
Yes, of course! We do not store the G file you submit. The generated preview file within your browser is deleted after 1 hour.
Yes! Our G file viewer will run on any system with a modern web browser. No specialist software is needed to use our file viewing tools.

© 2026 ImageToStl. Convert your PNG and JPG Files to 3D STL files.