Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_right3D Printing Toolschevron_rightG-code EditorG-code Editor

G-code Editor

Change temperatures, speeds, fan settings and custom commands in a sliced G-code file, with a preview of every affected line.

upload_file

Click to browse or drag & drop files here

Select a sliced G-code file — .gcode, .gco, .g or .nc

Accepted: .gcode,.gco,.g,.nc,.ngc

The file is read in your browser. Nothing is uploaded, and nothing is written until you press download.

Similar Tools

G-code Analyzer

G-code Analyzer

Measure a sliced G-code file: filament, cost, print time, layer heights, features, speeds, temperatures and every header setting.

G-code Viewer

G-code Viewer

Preview a sliced G-code file in 3D: layer by layer, coloured by feature, move type, speed or extruder.

G-code Flavor Converter

G-code Flavor Converter

Convert G-code between Marlin, RepRapFirmware, Klipper, Smoothieware and Repetier where the mapping is exact — and list everything that is not.

G-code Thumbnail Extractor

G-code Thumbnail Extractor

Pull the preview images a slicer embedded in a G-code file back out, view them, and save them as PNG or JPEG.

Video Poster Frame Picker

Video Poster Frame Picker

Seek a video and capture the perfect poster frame as PNG or JPG. Fully private, runs in your browser.

Roman Numeral Converter

Roman Numeral Converter

Convert integers (1–3999) to Roman numerals and Roman numerals back to integers instantly.

PDF Crop Tool

PDF Crop Tool

Crop and trim white margins from PDF pages automatically or with manual margin control.

apps

More Tools

Browse our full collection of free online tools.

Editing a sliced file without re-slicing

Sometimes the slicer is not where the change belongs. You want this one print ten degrees hotter, or a filament change at layer 84, or every feed rate slowed to 70% because the part is on a wobbly bracket. Re-slicing means re-checking every setting; this tool changes the four lines that matter and leaves the other forty thousand exactly as they were.

What it can change

  • First-layer temperature. Rewrites the M104/M109 in effect during layer 0 and inserts a command at the layer-1 boundary that puts the original value back, so only the first layer is hotter.
  • Speeds. Rewrites every F word, with separate multipliers for printing and travel moves and an optional ceiling in mm/min.
  • Temperatures. Set or scale hotend and bed temperature globally or from a chosen layer onward.
  • Fan. Set a speed from a layer, force it to full, or disable it everywhere.
  • Filament change. M600 (or your own block) inserted exactly at a layer boundary.
  • Arbitrary G-code at a layer boundary, before or after the layer change.
  • Find and replace over the raw text, plain or regular expression, with a match count.

Nothing happens until you say so

Every operation shows a dry run first: how many lines match, which lines, and the text before and after. Only when you press download is a file produced.

Byte-level care

The file is edited as text, not re-generated from a model. Embedded thumbnails, the slicer's configuration footer, ;TYPE: annotations and custom start and end scripts all survive untouched. Line endings are preserved, so a CRLF file stays CRLF, and an operation that matches nothing leaves the file byte-for-byte identical.

What it does not do

It does not recalculate extrusion: slowing a move does not change how much plastic comes out of it. It does not check the result against a machine. Edited G-code is still G-code your printer will run without asking questions — read the preview, and watch the first minutes of the print.

Everything runs in your browser. The file never leaves your computer.