CleanDXF

Image to G-Code Generator (GRBL & Laser Ready)

Trace PNG, JPG, or SVG artwork into clean, readable GRBL G-Code (.nc) with configurable feed rate, laser power (M3 S0–S1000), multiple cut passes, and real physical dimensions.

Drop your file here or

PNG, JPG, WEBP, or SVG → instant GRBL G-Code (.nc) in your browser

Try sample:
laser-star-coaster.png 0 Bytes Uploaded
CUT ENGRAVE

No vector contours detected. Adjust Threshold or toggle Invert.

Physical Size

—

Paths (Closed)

—

Vector Nodes

—

Duplicates Removed

—

Cut Readiness

Waiting

Vector & Machine Settings

Threshold140
Node Simplification (RDP)1.2 px
Curve Smoothing (Chaikin)1x
Despeckle Min Area12 px²

Why makers switch from generic online converters

Clean, inspectable GRBL output

Standard G21/G20 unit header, G90 absolute coordinates, automatic M5 laser-off rapids between paths, and clean M3 S-power cutting moves.

Multi-pass cutting built in

Cutting thicker plywood or acrylic? Set Passes from 1 to 10 and export a ready-to-run toolpath in one click.

Also exports matching DXF & SVG

Need to tweak nodes in LightBurn or Fusion 360 first? Download the exact same cleaned vectors as DXF or SVG anytime.

Frequently Asked Questions

Which laser cutters support CleanDXF G-Code?

CleanDXF outputs standard GRBL G-Code (G21/G20, G90, G0/G1, M3/M5, M2) compatible with diode lasers (xTool, Ortur, Atomstack, Sculpfun) and GRBL-based CNC routers.

Should I preview G-Code before running on my machine?

Always verify feed rate, laser power (S-value), and physical work area bounds in your machine controller or simulator before cutting.