SVG to G-code
Convert SVG files to G-code. Runs entirely in your browser — your files never leave your device.
SVG file
Drop file here or click to browse
SVG — max 20 MB
Output size
- Result size
- —
- Raster
- —
- Est. run time
- —
Height is derived from the image aspect ratio.
Machine & orientation
Engraving settings
Advanced options
G-code dialect
Image adjustments
Simplify and minimum outline apply to vector mode. Set simplify to 0 for maximum contour detail.
Smart Setup suggestion
Preview
G-code
No output yet.
How to use it
About SVG to G-code: SVG is rendered to a bitmap before engraving. Filled areas burn best; very thin strokes may disappear at low detail settings.
- Prepare your artwork. Use filled black shapes on a white background rather than thin strokes. Remove anything you do not want engraved. Accepted inputs: SVG.
- Upload the file. Click the upload area to browse, or drag and drop a file onto it. Files up to 20 MB are supported. The file panel shows the decoded pixel dimensions.
- Set the physical size and position. Width (mm)is the most important setting: it scales the artwork to the size you want on the material.Maximum pixelscaps the engraving detail,Originplaces the result at a corner or the centre of your work area, and the work-area check warns you if it will not fit.
- Tune the engraving. Thresholddecides how dark a pixel must be before it is burned. UseInvertfor light artwork on a dark background. Dithering and tone modes turn greys into dots or varying laser power. Pick the right machine, then set laser power, feedrate, travel speed and the number of passes. The presets are only starting points — fine-tune for your material.
- Check the preview.Compare the source image with the engraving result below. Click either canvas to zoom in. The statistics panel reports output size, raster resolution and estimated run time. Use the toolpath view to confirm the head moves only where you expect before cutting real material.
- Export and share.G-code is generated automatically when you change a setting, or you can pressConvert to G-code. Then useDownload G-code, Copy to clipboard, orDownload bundlefor the G-code, SVG, DXF, proof image and settings together.Sharecopies a link that restores all of these settings for the next user.
- Work safely.Test on a scrap piece at reduced power first. Use eye protection and adequate ventilation, keep the material flat, and never leave the machine running unattended. Laser and plasma tools can produce fumes and fire hazards.
Please note: SVG is rasterized here - the output is an engraving trace, not a true vector cut.
Frequently asked questions
- Is SVG to G-code free to use?
- Yes. SVG to G-code is free, needs no account and runs entirely in your browser.
- Are my files uploaded when I use SVG to G-code?
- No. SVG to G-code processes files locally in your browser; nothing is uploaded to a server.
- What can I do with the output from SVG to G-code?
- Download the G-code result and check it before using it with your printer, router or laser.