Free calculator

Engraving G-Code Generator — Text and Serial Numbers with a Single-Line Font

Type a text and get engraving code at once. The font consists of single strokes, so a V-tool or a small ball-nose cuts each letter in one pass. Text can be rotated or placed on a circle.

Line width–mm
Cutting time–min, estimated
Cut length–mm
G-code

How it works

Line width = tip width + 2 × depth × tan(tool angle / 2)  ·  Letter grid = 4 wide × 6 high, scaled to the letter height.

Good starting values

  • Depth 0.1 to 0.25 mm is enough for most marks.
  • The line should not be wider than about one sixth of the letter height, or letters like A, B and 8 fill up.
  • An uneven surface is the usual reason for faint letters. Face the area in the same setup before you engrave it.
  • Use the highest RPM you have. The effective diameter of a V-tool near the tip is very small.

For serial numbers that count up automatically, many Fanuc and Haas controls can engrave from a macro variable. Haas uses the built-in cycle G47.

Embed this calculator on your site

Free for workshops, schools and forums — copy this snippet:

HTML
<iframe src="https://cnccode.com/embed/text-engraving-gcode/" width="100%" height="720" style="border:0" loading="lazy" title="Text Engraving G-Code"></iframe>

More free CNC tools

Frequently asked questions

Which characters are available?
A to Z, 0 to 9 and common signs such as . , : - + / = # ( ) & % * ° Ø ±. Lower case is converted to capitals, and accented letters lose their accent.
Which tool should I use?
For metal a 60° or 90° carbide engraver with a 0.1 to 0.2 mm tip. For soft plastics a small ball-nose also works well.
Was this page helpful?