Open GCODE files online
G-code is the toolpath sent to 3D printers and CNC machines. The viewer parses the extrusion moves and draws the print path as an interactive 3D preview — handy for checking a sliced model before printing.
Drop a GCODE file to open it
or click to choose — everything stays on your device
Choose file🔒 100% private — files never leave your browser
You can also edit GCODE online — change the content with find & replace, then save it back. Nothing is uploaded. Or turn GCODE into an image — snapshot the preview, add arrows or notes, and download a PNG.
What is a GCODE file?
G-code is the toolpath sent to 3D printers and CNC machines. The viewer parses the extrusion moves and draws the print path as an interactive 3D preview — handy for checking a sliced model before printing. The .GCODE extension identifies a G-code toolpath file, which is served with the text/x.gcode media type. You can open it here instantly — drop the file into the box above and it renders in your browser. Nothing is uploaded.
Besides this free online viewer, you can open G-code files in desktop apps such as PrusaSlicer, Ultimaker Cura, OctoPrint — but here all you need is a web browser.
Quick facts
| Format | G-code — G-code toolpath |
|---|---|
| File extensions | .gcode .gco |
| MIME type | text/x.gcode |
| Developer | RS-274 standard |
| Category | 3D, CAD & GIS |
| Also opens in | PrusaSlicer, Ultimaker Cura, OctoPrint |
How to open a GCODE file online
- Click Choose file above, or drag your GCODE file onto the box.
- The right viewer loads automatically and renders your file.
- Read, scroll or page through it. To open a different file, choose Open another file.
100% private — files never leave your browser.
Libraries used to render GCODE in the browser
This viewer is built entirely with open-source JavaScript that runs in your browser:
Frequently asked questions
What is a .GCODE file?
A .GCODE file is a G-code toolpath, identified by the text/x.gcode media type. You can open and read it instantly in the viewer above without installing anything.
What programs open GCODE files?
On the desktop, GCODE files typically open in PrusaSlicer, Ultimaker Cura, OctoPrint. Online, this page opens them in any modern browser — nothing to download.
Can I edit a GCODE file online?
Yes. Open your file, switch to Edit, change the text with built-in find & replace, then click Save. It all runs in your browser — nothing is uploaded.
How do I convert GCODE to an image?
Use Snapshot to capture the GCODE preview, optionally add arrows, text or highlights, then download it as a PNG image.
Is it safe to open my GCODE file here?
Yes. The file is read and rendered entirely by JavaScript inside your own browser. It is never uploaded to a server, so nothing leaves your device.
Do I need to install anything to view a GCODE file?
No. There is nothing to install and no account to create. Open the page, drop your file, and it displays instantly.
Does it work on my phone or iPad?
Yes. The viewer is fully responsive and works in modern mobile and tablet browsers such as Safari and Chrome.
Is there a file size limit?
There is no hard limit, but very large files depend on your device’s memory. Big files are processed in the background so the page stays responsive.