3D & CAD · .gcode

Open a .gcode file online

Got a .gcode file and nothing on your computer opens it? Drop it below — it opens right here in your browser, and it is never uploaded.

3D & CAD3D viewer19580 uploads
.GCODE 3D & CAD

Drop your .gcode file here

or click to choose — you can also paste with Ctrl+V

Choose file

Detects the real format · never uploaded · works offline

Quick answer: To open a .gcode file (G-code Toolpath) online, drop it into the box above: OpenAnyFile opens it with its 3D viewer right in your browser, free, with nothing uploaded. .GCODE files usually come from Slicers, CNC controllers.

What is a .gcode file?

G-code Toolpath is a 3D/CAD format developed by RS-274 / NIST, first released in 1958. It is usually created by Slicers, CNC controllers.

Plain-text machine instructions, one move per line, generated from a 3D model. It describes motion, not shape — you cannot recover the original model from it.

File details

Full nameG-code Toolpath
Category3D & CAD
MIME typetext/x-gcode
DeveloperRS-274 / NIST
Introduced1958
Opens with3D viewer
Uploaded?No — read locally in your browser

How to open a .gcode file

OpenAnyFile routes .gcode files to its 3D viewer, which shows an interactive model you can rotate and zoom.

  1. Drop your .gcode file on the box above, click it to choose the file, or paste it with Ctrl+V.
  2. The real format is detected from the file's first bytes — not just its name.
  3. The file opens in the 3D viewer.
  4. Use fullscreen for a closer look, check its checksums, or download it back unchanged.

How to open a .gcode file on Windows, Mac, Android and iPhone

Windows

PrusaSlicer, Cura or an online G-code viewer

Mac

PrusaSlicer or Cura

Android

A G-code viewer app

iPhone

A G-code viewer app

Any device

OpenAnyFile, in the box above: free, nothing uploaded, nothing to install.

Why won't my .gcode file open?

G-code is the line-by-line instruction list for one specific 3D printer; printing it on another model can fail. The toolpath is drawn here.

What works — and what does not

Works

Viewing and inspecting: an interactive model you can rotate and zoom. Size, type, signature and checksums are always shown.

Does not work

Editing and saving back. OpenAnyFile is a viewer, not an editor — for changes you still need the original app.

Is it safe to open a .gcode file online?

Here, yes — because nothing is uploaded. Most "online viewers" send your file to their server. OpenAnyFile reads it with your browser's File API and decodes it on your own device, so there is no copy anywhere else. You can check: open your browser's network tab while opening a file — no upload appears.

Questions about .gcode files

How do I open a .gcode file on Windows?

PrusaSlicer, Cura or an online G-code viewer. Or drop it into OpenAnyFile in any browser, with nothing to install.

Why won't my .gcode file open?

G-code is the line-by-line instruction list for one specific 3D printer; printing it on another model can fail. The toolpath is drawn here.

Can I open a .gcode file without installing software?

Yes. OpenAnyFile opens .gcode files in your browser using its 3D viewer. You get an interactive model you can rotate and zoom, with nothing installed and no account.

How do I know a file is really a .gcode file?

Check its first bytes instead of its name. This format has no fixed signature, so the detected type and the readable content are the best clues. OpenAnyFile shows the detected type, so a renamed file is easy to spot.

Is my .gcode file uploaded anywhere?

No. The file is read locally by your browser and never sent to a server — it even works offline once the page has loaded.

Does it work on phones?

Yes — on Android and iPhone, in any modern browser. You can also install OpenAnyFile as an app.

Related formats

Other formats from the same family:

All 3d model and cad files we can open (63)

Format facts checked and page updated on November 23, 2026.

Open a .gcode file now All 1084 file types