SVG to G-Code Laser Engraver Converter

Convert SVG to G-Code for laser engravers and laser cutters. Supports GRBL, Smoothieware, and Marlin laser mode. Configure power and speed.

Digital Fabrication Pipeline

Maker & CNC Workflow Suite

Seamlessly move your design from vector artwork to machine-ready G-code. Use our connected suite of free, private fabrication tools.

All tools 100% browser-based & private
💡 Pro-Tip for Makers: Always inspect toolpaths in your controller simulator (UGS, LightBurn, Candle) before starting your laser or CNC spindle.View all 15+ CAD & CNC tools

How to Use

1

Upload SVG

Upload the vector artwork for laser engraving or cutting.

2

Set laser parameters

Set laser power (0–255 or 0–1000), feed rate, and choose laser mode (GRBL M3/M4, Smoothieware, or Marlin).

3

Download and engrave

Download the G-Code and send it to your laser via LaserGRBL, LightBurn, or bCNC.

SVG to G-Code for Laser Engravers and Cutters

Laser engravers use a subset of G-Code that is slightly different from CNC routers. Instead of spindle speed (RPM), lasers use power (0–255 for most GRBL controllers). Instead of Z-axis plunges, the laser is turned on (M3 or M4) and off (M5) as it follows the SVG paths.

This converter generates G-Code specifically for laser operation, with proper laser on/off commands, power settings, and feed rate. It supports the three major firmware variants: GRBL (the most common for diode lasers), Smoothieware (used in many Chinese CO₂ lasers), and Marlin (common in converted 3D printers).

Real-World Examples & Use Cases

Diode Laser Engraving

Engrave a logo or decorative design on wood or leather using a diode laser and GRBL firmware.

CO₂ Laser Cutting

Cut acrylic shapes from an SVG design using a CO₂ laser cutter.

Frequently Asked Questions

What is the difference between M3 and M4 in GRBL laser mode?▼
M3 (constant power) keeps the laser at the same power regardless of speed. M4 (dynamic power) scales laser power with speed — this produces better results on curves and corners.
How do I find the right power and speed?▼
Run a power/speed test grid on your material. Start at low power and increase until you achieve the desired mark or cut.
Does this support image engraving?▼
This tool is for vector (SVG path) engraving. For raster image engraving, you need a separate tool.

Related Tools

Explore other tools in this category.

Looking for something else?