Convert G-code to SVG (Free)
Also converts OBJ, GLB, DXF, DWG, 3DM, PDF from the same file.
Runs in your browser. No upload, no signup, nothing to install.
Also from Innerscene: Circadian Lab, a free lighting calculator for room illuminance, melanopic EML, and glare.
How to convert G-code to SVG
- 1
Open your .gcode file
Drag it onto the viewer above, or click "Open a G-code File". Files up to 200 MB open directly; the parse runs in a worker so the page stays responsive.
- 2
Pick Scalable Vector Graphics in the Export menu
Click Export in the toolbar, then SVG (.svg).
- 3
Download
The .svg is written in the browser and saved straight to your downloads folder. No queue, no email, no watermark.
What survives the conversion
A file conversion is a translation, and formats do not carry the same things. Here is exactly what moves from G-code into SVG, and what does not.
| Geometry | Reduced | The 3-D model is projected to the current view and written as 2-D paths, with hidden lines removed. It becomes a drawing, not a model. |
|---|---|---|
| Colors and materials | Reduced | G-code can hold material colors and SVG holds one color per object, so materials are flattened to that. |
| Layers and structure | Dropped | SVG is a single flat body with no layers or named parts. Everything merges into one object. If you need the structure, export to GLB, OBJ, DXF instead. |
| Units and scale | Dropped | SVG stores no unit. Coordinates are written in meters, so set the import unit to meters if the destination asks. |
What the SVG writer emits: From a 3-D model: the same visibility pass as the vector PDF, written as SVG paths, with hidden lines clipped. From a drawing: a direct translation of the line work, keeping strokes, fills, gradients, dash patterns, clipping and live text.
The source: G-code toolpath (.gcode, .gco, .gc, .nc, .ngc, .tap, .cnc)
Every move of a 3D printer, CNC or laser program as a line in millimetres, arcs and drilling cycles included: extrusion or cutting moves grouped by the slicer’s feature types or by tool, travel and rapid moves on their own layer, coloured by height layer by layer.
The target: Scalable Vector Graphics (.svg)
Resolution-independent vector art for web pages, documents and further editing.
Opens in: Illustrator, Inkscape, Figma, any browser.
Your file never leaves your computer
Both the G-code parser and the SVG writer are JavaScript and WebAssembly running in your own browser tab. There is no upload step, no server-side conversion queue, and no copy of your file anywhere but your machine. That matters for drawings under NDA, for client work, and for anything you would not email to a stranger.
Free to Use, No Signup
There are no accounts and no watermarks on this converter. If it saved you time, the one thing we ask is a mention: a post, a link from your blog or course page, or a reply to someone asking how to open a file.
Share it
Made something reusable? Add it to the Free Parts Library. Writing about it? Copy a link, badge or citation. Send us your post and we’ll feature it with a link to your site.
Hear about new formats
Occasional emails when the viewer learns a new format or gets a new tool.
Frequently asked questions
▶Is this G-code to SVG converter free?
Yes. No signup, no watermark, no per-file limit and no paid tier. Innerscene.
▶Is my G-code file uploaded anywhere?
No. The file is read with the browser file API and converted in the same tab. Nothing is sent to a server unless you explicitly click Share, which is a separate, opt-in feature.
▶Will my colors and materials survive the SVG export?
G-code can hold material colors and SVG holds one color per object, so materials are flattened to that.
▶Do layers and named parts carry into the SVG file?
SVG is a single flat body with no layers or named parts. Everything merges into one object. If you need the structure, export to GLB, OBJ, DXF instead.
▶Will the SVG open at the right size?
SVG stores no unit. Coordinates are written in meters, so set the import unit to meters if the destination asks.
▶How large a G-code file can I convert?
Up to 200 MB, and the ceiling adapts to how much memory your device reports. The conversion runs on your own hardware, so a desktop with plenty of RAM will handle more than a phone.
▶Can I convert SVG back to G-code?
Not here. We read G-code and write SVG, but not the reverse. the universal 3D viewer
▶Which browsers does it work in?
Chrome, Edge, Firefox and Safari, on Windows, macOS, Linux, iOS and Android. No plugin and no extension.
Convert G-code to something else
Convert something else to SVG
Or start from the universal 3D viewer.