Updated November 2026

CNC router files for wood are the digital instructions that tell a machine where to move its bit, how deep to cut and in what order. This guide shows you which file formats to use, how to prepare a design for cutting and how to check the file before you commit a board to the spindle. By the end, you will have a clean file ready to run on most hobby and shop machines.

Choose the Right File Format

Most CNC router files for wood start as a vector drawing. Vector formats store lines, arcs and curves as math rather than pixels, so the machine can follow them precisely at any size. The formats you will see most often are:

Shopping for one? See our guide: 5 Best Hobby CNC Wood Routers of 2026: Buyer's Guide.

  • DXF for flat 2D profiles, pockets and simple engraving paths
  • SVG for artwork exported from illustration programs
  • STL for 3D relief carvings, which your CAM software converts into toolpaths
  • G-code (.nc, .gcode, .tap) for the final machine instructions, usually generated by CAM software rather than drawn by hand

As a rule, design in vector form or 3D form, then let your CAM program produce the G-code. Editing G-code directly is practical only for small fixes.

Prepare the Design for Cutting

Before exporting, confirm the drawing is at true scale. Set your units to inches or millimeters to match your controller, and draw one test rectangle to the exact size of your stock. Then check these details:

  1. Close all open paths. An unclosed outline can cause a pocket to fill incorrectly or a profile to skip.
  2. Delete duplicate lines stacked on top of each other, which can make the machine cut the same path twice.
  3. Keep interior corners in mind. A round bit cannot cut a sharp inside corner, so you may need to add a fillet of at least the bit radius.
  4. Place the design with clearance from the edges of the stock, usually at least half an inch, so clamps and tabs stay out of the cut.

Generate and Verify Toolpaths

Import your vector or 3D file into CAM software, assign each shape an operation (profile, pocket, drill or engrave), and select a bit for each. Set the cutting depth per pass rather than cutting full depth at once. For hardwoods, many hobbyists use shallow passes that remove a fraction of the bit diameter each time, but the right value depends on your machine’s rigidity and the bit you choose.

Always simulate the toolpath on screen before cutting. Look for paths that run outside the stock, plunges into the wrong spot and any sequence that would leave a part loose before the final cut. Simulation catches the errors that cost the most time.

Check Your Post-Processor

The post-processor converts the toolpath into G-code your specific controller understands. Choose the post-processor that matches your machine’s firmware. A mismatch can cause wrong spindle commands, missing tool changes or incorrect units, and it is the most common reason a correct drawing cuts badly.

Common Mistakes

  • Exporting a file at the wrong scale, then discovering the mistake only after the first cut.
  • Forgetting to zero the machine on the top surface of the actual stock, not the spoilboard.
  • Using a profile path that cuts exactly on the line, which leaves the part slightly undersized.
  • Skipping the dry run in the air above the stock to check travel limits.
  • Leaving tabs out of profile cuts, so finished parts shift or fly off the bed.
  • Vector drawing software: A program that exports clean DXF or SVG files is the foundation of every project. View on Amazon
  • Spiral upcut router bits: These clear chips well in solid wood and are a common choice for through-cuts and profiles. View on Amazon
  • Digital calipers: Measuring your stock and test cuts before you change a file saves material and time. View on Amazon

For more on setting up the machine itself, see How to Use a CNC Wood Router: A Step-by-Step Guide for Beginners, and for choosing cutters that match your designs, read Top 7 Best CNC Router Bits for Wood Compared for Every Project. If you plan to set feeds and speeds for your files, Cnc Wood Router Feed and Speeds Calculator: A Practical Guide (2026) covers the numbers.

FAQ

What file format do CNC routers use for wood?

Most machines run G-code, but you design in vector formats such as DXF or SVG for 2D work and STL for 3D carvings. CAM software converts those designs into G-code.

Can I use a regular drawing file directly on a CNC router?

Usually not. A plain image or PDF has no cutting paths, so you need a vector file that CAM software can turn into toolpaths.

Why does my cut come out a different size than my drawing?

The most common causes are a scale error on export, an incorrect units setting, or a toolpath that runs on the line instead of offset from it. Check all three before cutting again.

Conclusion

Good CNC router files for wood start with clean vector drawings, closed paths and correct scale. Generate toolpaths with the right post-processor, simulate them, and only then cut. Following these checks will save material and make each project more predictable.

Claire Whitaker

About Claire Whitaker

Claire Whitaker is part of our editorial team and reviews and edits our woodworking guides, checking product details against manufacturer specifications and owner feedback.