FoliMesh
← All 3D tools
Free 3D viewer

G-code viewer: open .gcode files online

Drop a .gcode file to view it in 3D right in your browser. No install, no sign-up, nothing is uploaded.

G-code is the instruction file a 3D printer runs. The viewer draws the toolpath layer by layer.

More than a preview

24 formats in one window

GLB, glTF, FBX, OBJ, STL, PLY, DAE, 3MF, USDZ, 3DS, VOX, VRML, 3DM, AMF, LWO, KMZ, MD2, VTK, SVG, PCD, XYZ, BVH, G-code and PDB — plus .bin, .mtl and textures next to the model.

LODs and variants

Switch LOD0–LOD3, show one variant at a time or hide parts of the scene — handy for game assets with several levels of detail.

Real numbers

Triangles, vertices, meshes, materials, textures, bones and size in meters — check the budget before the asset goes into the engine.

Convert in one click

Save the visible model as GLB, OBJ, STL, PLY or USDZ. The conversion runs in your browser.

Private by design

Parsing and rendering happen on your device. The file is never sent to a server.

Free, no account

No limits on opening files, no watermark, works on desktop, tablet and phone.

What a G-code file can hold

3D printer toolpath

Geometry
Yes
Materials
No
Textures
No
Animation
No
Scene hierarchy
No
Typical use
3D printing

How to open a G-code file

  1. 01

    Drag the .gcode file into the window or click “Choose files”. If the model uses separate textures, select them together with it.

  2. 02

    Rotate with the left mouse button, zoom with the wheel, pan with the right button. On a phone use one and two fingers.

  3. 03

    Check the stats, switch LODs or variants, then save a screenshot or convert the model to the format you need.

Why a G-code file may not open

Only standard G0/G1 moves are drawn; arcs (G2/G3) and printer-specific commands are skipped.

What to do next with a G-code file

Convert it to GLB for engines and the web, reduce polygons, generate LODs or compress it — all free in the browser.

More ways to inspect your model

Questions

Is the G-code viewer free?+

Yes. Opening, inspecting and converting files is free, without an account or watermark.

Is my G-code file uploaded anywhere?+

No. The file is read and rendered locally in your browser and never leaves your device.

Why does my G-code model open without textures?+

The textures are probably stored as separate files. Select the model together with its texture images (and .bin or .mtl files) — the viewer links them by file name.

Can I convert G-code to another format?+

Yes. After opening, use “Convert and download” to save the visible model as GLB, OBJ, STL, PLY or USDZ.

Other 3D file viewers