Sign in Sign up free Account

Sketch to G-code

A hand drawing straight to a toolpath. Centerline mode runs one pass down each stroke, which is what an engraver or a pen plotter wants.

Runs in your browser · Nothing uploaded

Opens inGRBLLightBurnMach3CandleUGS

Drop several files at once to convert the whole folder in one pass. Got a different format? A PNG, JPG, HEIC, PDF, SVG or DXF still comes out as G-code.

Or draw here with a mouse, a finger or a pen

Sketch to G-code converter: the complete guide

Sketch files are everywhere: turning a doodle into a cut file and tattoo and art designs. Paper texture, shadows from the phone and uneven pencil pressure all read as marks unless they are cleaned away first. That is when people search for drawing to G-code, and it is what this page does: machine geometry in real millimetres or inches, the right way up, with closed contours.

Searching for how to turn a drawing to G-code lands you here too. The steps are short: drop your sketch into the box above, check the result, and download a G-code when it looks right.

Sketch and G-code: what changes

  • Sketch: A drawing on paper, photographed or scanned, usually pencil or pen on white. Paper texture, shadows from the phone and uneven pencil pressure all read as marks unless they are cleaned away first.
  • G-code: Motion commands a controller runs directly: move here, at this speed, with the tool on. No interpretation left. The machine does exactly what the file says.

How the Sketch to G-code converter works

Your sketch is first traced in the browser into clean outlines. For a machine the trace is set up for cutting rather than colour: one outline where a cutter should go, with photos turned into line art instead of blotchy shapes.

The outlines are then scaled to the real size you choose and written as a G-code. The G-code is conservative: the tool is off before every reposition, retracted before every rapid, and the program ends tool-off and clear. You can see the toolpath before you download, cuts solid and rapids dashed.

What the G-code is used for

  • Laser cutting and engraving
  • CNC routing
  • Sending straight to the controller

What makes this Sketch to G-code converter different

  • Real units in the file. G-code output carries millimetres or inches, so it imports at the size you set.
  • The right way up. Image coordinates run downwards; machine coordinates run upwards. The conversion flips them so the part is not mirrored.
  • Closed contours. Outlines join up, and anything that does not is flagged before you download.
  • Preview the machine file itself. The download is parsed back and drawn, so what you see is what the machine will get.

Tips for the best G-code

  • Photograph the sketch in daylight, straight on, with no shadow from your phone across the paper.
  • High-contrast sketch artwork gives the cleanest toolpaths: dark shapes on a light background.
  • Set the finished width in the settings before downloading, then check the size the page reports.
  • Run a test cut on scrap before cutting good material, as you would with any new file.

On the blog: How to Convert Sketch to G-code Free, Step by Step

How it works

  1. Upload your artwork

    Mono mode is preset, a single cut outline is what a machine wants, not colour layers.

  2. Set your real size

    Choose millimetres or inches and the finished width. The file carries physical units, not pixels.

  3. Check the preview, then cut

    Inspect the toolpath before you download. Cuts draw solid, rapids dashed.

Drawing to G-code: turn a hand drawing into a toolpath

  • drawing to gcode
  • how to turn a drawing to gcode
  • sketch to gcode
  • image to gcode

Drawing to gcode in one step: photograph the drawing, drop it here and download G-code for GRBL, LightBurn, Candle, UGS or Mach3. Centerline mode runs the tool once down the middle of each line, which is what a laser engraver, pen plotter or V-bit wants, rather than tracing both sides of every stroke.

How to turn a drawing to G-code

  1. Draw in dark ink on white paper and photograph it square on.
  2. Upload it here; centerline mode is already chosen.
  3. Set the real width, the feed rate and laser power or cut depth.
  4. Download the .gcode and dry-run it above the material first.

People also search for

  • sketch to gcode
  • picture to gcode
  • drawing to laser file
  • pen plotter gcode

Why it matters

Correct units, stated in the file

DXF exports write $INSUNITS. Without it a part imports at 25.4x the intended size, which is the single most common cause of a ruined first cut.

Y axis the right way up

SVG puts +Y down the screen; CAD and CAM put it up. We flip it. Exporting without that correction gives a part mirrored about the X axis, it cuts, but backwards.

Closed contours

A cutter following an open outline leaves the part attached. Outlines are closed, and anything that is not is flagged before you download.

Conservative G-code

The tool is disengaged before every reposition, retracted before every rapid, and the program always ends tool-off and clear.

Is Sketch to G-code worth paying for?

A G-code is the file a shop actually runs. Walk through the artwork requirements a laser cutter, a CNC shop or a sign maker publishes and the same request appears: send something a machine can follow. What turns up instead is a screenshot or a logo pulled off a website at 600 pixels, and somebody redraws it by hand, twenty-five to forty minutes, or sends it to an art service at $25 to $60 a file.

The conversion and the preview here are free and unlimited. The G-code itself is $3.99 as a guest, with no sign-up, or comes with a plan, and it arrives clean: a machine file is never watermarked, because a mark in a cut file is extra cut paths a machine would run.

What the plan includes

Reviews

No reviews yet. Used this tool? Yours could be the first.

Used this tool? Sign in to write a review.

Questions

How do I convert Sketch to G-code?

Drop your sketch into the box at the top of this page and press Convert to G-code. The conversion runs in your browser in a few seconds. Check the result, then download a G-code.

What is the best drawing to G-code converter?

One that gives you machine geometry in real millimetres or inches, the right way up, with closed contours, shows the result before you pay, and does not upload your file. That is what this page is built to do.

How do I turn a drawing into G-code?

Upload a photo or scan of the drawing here, keep centerline mode for single-line engraving (or outline mode for cutting shapes out), set the size and feed, and download the G-code.

Does it work with a laser and a CNC router?

Yes. Laser mode writes M3/M5 with a power value; router mode retracts to a safe Z and plunges to your cut depth for each path.

What units does the file use?

Whichever you pick, millimetres or inches, and the choice is written into the file header so the receiving software does not have to guess.

Will this work with my laser?

DXF is written as R2000 by default, which LightBurn, Fusion, AutoCAD and current CAM packages all read. There is an R12 option for older controllers that predate LWPOLYLINE.

Can I trust the G-code?

Preview the toolpath first, and dry-run any new program above the material. The generated code assumes you have set your own work origin, and it homes nothing.

Sketch to G-code: here, by hand, or on a server

  Veconvert Illustrator, by hand A paid vectorizer
What it costsFree preview; one file for $3.49 as a guest ($3.99 for technical files), $6.50 in bulk$23 a month$8–15 a month
How long it takesSeconds30–60 minutes by handSeconds
Skill neededNone. Drop the fileYou have to be able to drawNone
Where your file goesNowhere. It stays in this tabStays on your machineUploaded to a server
G-code with real unitsYesYes, with setupUsually pixels
Machine files tooDXF, G-code, PLT, STL from the same traceSeparate export each timeRarely

Ready to convert your Sketch?

Free, unlimited, no account, and nothing leaves this tab.

Convert a Sketch now