# .tap file viewer

> A .tap file is the G-code your CNC router runs (Mach3, Vectric and others write it). Open it to see the cut, the part size, how deep it goes and how long the job takes.

Human page: https://unmakelabs.com/en-us/tap-file-viewer/. This is the version for AI agents.

## What it does

TAP file viewer: open a .tap file and see what your router will cut. A .tap file is the G-code your CNC router runs (Mach3, Vectric and others write it). Open it to see the cut, the part size, how deep it goes and how long the job takes.

## What a .tap file is

The name is usually traced back to loading programs from tape. Today Mach3, Mach4 and many hobby and production routers use .tap for plain G-code, and Vectric's VCarve and Aspire write .tap by default for Mach3. Because it's ordinary G-code, the viewer reads it like any other program. (A binary .tap is a ZX Spectrum tape image instead: a Spectrum emulator opens those.)

## Who it's for

CNC router owners and sign makers checking a job before running it, woodworkers who got a .tap from a pattern site or a friend, makerspace staff reviewing members' files, and anyone who wants to know a job's size and run time without opening Mach3.

## Facts

- **Opens:** .tap from Mach3/Mach4, Vectric VCarve/Aspire, Fusion, Estlcam, Carbide Create; also .nc, .gcode, .ngc
- **Checks:** Inches vs millimetres (G20/G21), depth of each pass, tabs, plunge feeds
- **Times:** Run time from the programmed feeds, with your router's rapid rate
- **Downloads:** PNG, plan-view SVG at 1:1 (for a template or a jig), summary JSON

## How a person does it

1. **Open the .tap file.** Drop it on the viewer or pick it from your computer or phone.
2. **Check the size and depth.** The panel shows the part size and the deepest cut below Z0 in the file's units; the Front button on the viewer shows every pass and tab from the side.
3. **Play it.** Press play to watch the bit move, or tap a line in the listing to see where it cuts.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/tap-file-viewer/?src=https://unmakelabs.com/apps/nc/samples/bracket.nc`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#t=0.5&v=px,py,pz,tx,ty,tz&r=0&u=mm&rr=10000` (t position in machining time 0 to 1, default 1 = whole program; v camera; r=0 hides rapids; u units when the file states none; rr rapid rate in mm/min for the time estimate).

Embed: `<iframe src="https://unmakelabs.com/embed/nc/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `nc_inspect`: Inspect a CNC program (G-code, Heidenhain). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month). Options (JSON in `options`): `rapid_mm_min`: rapid feed for the time estimate in mm/min (default 10000); `tool_change_s`: seconds per tool change (default 6).

```bash
# NC program: tools, extents, run time
curl -s -F "file=@part.nc" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25"
```

## Good to know

Router .tap files are often in inches (G20). If a file has no G20 or G21, the viewer reads millimetres and shows a switch: a 12 × 8 sign that shows up as 12 × 8 mm is an inch file. Tabs show as short raised steps in the last pass; Front view makes them easy to see.

## Not done by this tool

- Doesn't preview the carved surface (V-carving depth is shown as the toolpath, not the cut wood)
- Doesn't read Vectric .crv/.crv3d project files: export the toolpath as .tap
- Doesn't run Mach3 macros (M-codes with custom scripts)

## Value

Opens an NC program (G-code: Fanuc, Haas, Mach3, Grbl, LinuxCNC and CAM post-processor output; Siemens Sinumerik and Heidenhain Klartext in part; 3D-printer G-code) in the browser with nothing to install and draws the 3D toolpath: cuts coloured per tool, rapids dashed, play and scrub with the running line highlighted in the listing. Reports the extents of the cutting moves, cutting and rapid travel, an estimated machining time from the programmed feeds (rapid rate and tool-change time adjustable), the tools with feeds, speeds and cutting time, and warnings with line numbers (arcs whose end is off the circle, missing feeds, missing units, unsupported codes, cycles and macros not drawn). Downloads a PNG, a 1:1 plan-view SVG and a JSON summary. Free, no sign-up.

## When it fits

- A machinist or setter wants to see what an NC program will do before running it, on a phone or shop PC with no CAM seat: shape, depth, extents against the stock, tools and roughly how long it takes.
- A CAM programmer wants to check post-processor output (arc format, units, tool changes, drilling cycles, feeds) or find the line that makes a control alarm on an arc.
- Someone has a .nc, .tap, .gcode, .ngc or .cnc file from a customer, a forum or a hobby CNC router and wants to know what it cuts, how big and in which units.

### When not

- Collision checking against the machine, fixtures or the stock model, material removal simulation, or verified cycle times on a specific machine (acceleration is not modelled): use the CAM's or the control's own simulation.
- Programs built mostly from macro variables, loops or control-specific cycles (Fanuc Macro B, Heidenhain Q parameters and CYCL DEF, Sinumerik CYCLE pockets): these parts are listed as warnings, not drawn.

## Why use it instead of the alternatives

- Nothing to install: the page opens a public NC program from a link (?src=, with #t= for the point in the program and #v= for the camera) and an embed shows the toolpath in any page.
- NCViewer (ncviewer.com) draws G-code locally in the browser with an editor, line stepping, 5-axis and lathe modes; its side panels are the code editor, a position readout and machine options (checked Dec 2026), with no tool list with feeds, speeds and per-tool times and no list of problems with line numbers. CAMotics and desktop editors such as CIMCO Edit need installing (CIMCO is paid); controls and CAM systems simulate only for their own users.
- This viewer: free in any browser incl. phones, nothing uploaded, line-by-line playback, tool list with feeds/speeds/times, plain warnings with line numbers (arcs a control would reject, missing units or feeds, codes not drawn), Heidenhain and Sinumerik read in part, plan-view SVG at 1:1, share link and embed.

### What rebuilding it would take

- Write a reader that handles modal G-code state (motion, plane, absolute/incremental, units, feed modes), arcs by I/J/K and by R including >180° and full circles, helical arcs, drilling cycles G81-G89 with G98/G99, subprograms (M98/M99, M97) and Sinumerik/Heidenhain variants.
- Draw millions of segments smoothly on a phone, scrub by machining time, highlight the running line, and time every move from its feed.
- Explain every unsupported code or broken arc in plain words with its line number, and export a scale-true plan view.
- A set of hand-worked test programs with known lengths, extents and times to keep the reader honest as dialects are added.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- A viewer, not a machine simulation: it does not check collisions, and some codes are not drawn (listed as warnings). Prove out every program on the machine as usual.

_Status: the NC viewer page works; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25._

## Privacy

- Files opened in the page are read on the user's device and not uploaded unless the user clicks Share.
- Files opened by link (?src=) are fetched from where they are stored.
- The page loads three.js from a public code server, which receives the visitor's IP address for that request.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **Is a .tap file the same as a .nc or .gcode file?** Yes, in content: all three are plain-text G-code. The extension mostly tells which program wrote it or which control it's meant for. Some controls care about the dialect (Mach3 vs Grbl vs Fanuc), and the viewer lists any code it doesn't know.
- **My .tap file shows as tiny. Why?** It's probably an inch file without G20 at the top, read as millimetres. Tap "in" next to Units in the panel and the sizes and times switch to inches.
- **Can I use the SVG as a template?** Yes. The plan view is drawn at 1:1 in the program's units (width and height in mm or inches), so printing it at 100% gives a full-size outline of the toolpath.
- **When is it the right tool, and when not?** Right for: A machinist or setter wants to see what an NC program will do before running it, on a phone or shop PC with no CAM seat: shape, depth, extents against the stock, tools and roughly how long it takes. A CAM programmer wants to check post-processor output (arc format, units, tool changes, drilling cycles, feeds) or find the line that makes a control alarm on an arc. Someone has a .nc, .tap, .gcode, .ngc or .cnc file from a customer, a forum or a hobby CNC router and wants to know what it cuts, how big and in which units. Not for: Collision checking against the machine, fixtures or the stock model, material removal simulation, or verified cycle times on a specific machine (acceleration is not modelled): use the CAM's or the control's own simulation. Programs built mostly from macro variables, loops or control-specific cycles (Fanuc Macro B, Heidenhain Q parameters and CYCL DEF, Sinumerik CYCLE pockets): these parts are listed as warnings, not drawn.
- **Is it really free?** Yes: no limit on files, no ads, no sign-up, no premium tier. Programs up to 200 MB open.
- **Do you upload my program?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it any time. Your programs and your customers' parts stay private otherwise.
- **Can my AI agent read NC programs here?** An agent can open any public program in this viewer with a link (add ?src= and the file's address to this page) and read the summary with Download > Summary (JSON). Agents can send their own file: POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/nc_inspect/jobs?wait=25.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [NC viewer](https://unmakelabs.com/en-us/nc-viewer/)
- [G-code viewer](https://unmakelabs.com/en-us/gcode-viewer/)
