Skip to main content
Vecaria

DXF to G-code

Local

Convert DXF outlines to laser and engraving G-code toolpaths — feed, laser commands, per-layer cut/engrave mapping in your browser, no upload. Pro feature.

Drag files here, or click to browse

Supports DXF

Choose file

Tool library

Presets:

G54–G59 only calls the selected work coordinate system (WCS) in the output header — geometry values are never rewritten. The origin is determined by your machine's coordinate system (set by tool touching / work offset setup).

Per-path tool parameters are written into the G-code (F feed / S speed); stored in this browser (last-used + named presets) and shared with the other G-code generator tool.

Feed & laser

Heights (mm)

Tabs & passes

The origin is determined by your machine's coordinate system: G54–G59 only calls the selected work coordinate system (WCS) in the output header — geometry values are never rewritten. Set up work offsets on the controller before cutting.

Simple laser/engraving toolpath from DXF outlines with per-layer cut/engrave mapping; verify on your machine before cutting.

What is it? DXF to G-code converts DXF outlines into G-code toolpaths for laser cutters and engravers, with configurable feed rates and laser on/off commands — generated locally in your browser. Pro feature: the Free plan shows an upgrade prompt on this page.

TL;DR: Turn DXF outlines into laser/engraving G-code — feed, laser commands and per-layer mapping, generated in your browser.

How to use

  1. Open a DXF file (dropzone — no paste box).
  2. Set feed rate, power and laser on/off commands (optionally register tools in the tool library).
  3. Map each DXF layer to an operation — cut / engrave / exclude — with per-layer feed & power overrides if needed.
  4. Generate and download the G-code.

FAQ

Which laser commands are supported?

You can configure the on/off commands (M3/M5 or similar) to match your controller.

Is it local?

Yes, generation is in your browser.

Is it free?

No — DXF to G-code is a Pro feature; on the Free plan this page shows an upgrade prompt.

Which DXF entities produce toolpaths?

Lines, polylines (including bulge arcs), circles and arcs. Entities outside the toolpath whitelist — SPLINE, INSERT, HATCH and similar — produce no toolpath and never reach the output; the result panel reports per-type counts so you can see exactly what was skipped.

How are arcs and circles converted?

They are approximated as polylines: a full circle becomes 64 segments and arc segments are sampled proportionally to the sweep angle. Polyline bulge arcs are expanded and sampled the same way.

Can it add tabs or cut in multiple passes?

Yes on cut layers — tabs lift the cutter over the bridge and multi-depth step-downs repeat the contour at the configured step. Engrave layers are single shallow passes at the surface (Z0), with no tabs or depth stepping.

How is this different from CAM Profile Toolpath?

That tool is milling-style 2.5D contouring — cutter radius compensation, plunge and spindle speed. DXF to G-code targets laser cutters and engravers: configurable laser on/off commands, per-layer power overrides and single-pass engraving.

Can I check the toolpath before running it?

Yes — an inline SVG preview draws the paths with optional rapid-move dashes, and it links straight into the G-code viewer for a line-level check. Still dry-run on the machine before cutting.

Which controllers does the output work with?

Output is generic G-code (G0/G1 moves, absolute coordinates). The laser on/off commands are configurable so you can match M3/M5 or your controller's wording — there are no controller-specific post-processors, so verify the program before running it.

Examples

  • Drop in a DXF → export the .nc toolpath

Supported formats

DXFGCODENC

Limitations

  • Optimized for 2D cutting/engraving.
  • Arcs are approximated as polylines (64 segments per full circle, sampled proportionally to the sweep angle).
  • Entity types outside the toolpath whitelist (e.g. SPLINE/INSERT/HATCH) produce no toolpath — the result panel reports per-type counts, including types the parser silently drops such as HATCH.
  • ASCII DXF only.

Privacy

Privacy first: this tool runs entirely in your browser — your input and files never leave your device, and everything is cleared when you close the page.