Embed

Put the G-code viewer on your site

Free to embed, no sign up and no key. Paste one line of HTML and your visitors get the full 3D toolpath viewer. Files are read in their browser, never uploaded. It always stays up to date, because it runs live from UltraNC.

Quick embed

Paste this where you want the viewer to appear:

<iframe
  src="https://ultranc.com/gcode-viewer/embed/"
  title="UltraNC Free G-code Viewer"
  loading="lazy"
  style="width:100%;max-width:1100px;height:752px;border:0;border-radius:12px">
</iframe>
options update the snippets and the preview below

Live preview

This is exactly what your visitors will see, with the options above applied. Take it for a spin.

Heads-up: the viewer loads live from UltraNC, so it only appears when you're online and can reach ultranc.com. It works in any web page, including a local HTML file opened in your browser, as long as you have an internet connection.

Step by step

  1. Copy the snippet above (the Copy button puts it on your clipboard).
  2. Paste it into your page's HTML wherever you want the viewer: a blog post, a docs page, a product page, anywhere you can add HTML.
  3. Publish. That's it. There's no account, no API key, and nothing to install or maintain. Fixes, updates and new features flow through automatically.

Full example page

A complete, minimal HTML page you can copy wholesale:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>My G-code Viewer</title>
</head>
<body>

  <iframe
    src="https://ultranc.com/gcode-viewer/embed/"
    title="UltraNC Free G-code Viewer"
    loading="lazy"
    style="width:100%;max-width:1100px;height:752px;border:0;border-radius:12px">
  </iframe>

</body>
</html>

Good to know

  • Private by design. Your visitors' G-code is read and rendered in their browser. Their files are never uploaded.
  • Always current. It runs live from UltraNC, so improvements and fixes appear automatically, with nothing for you to update.
  • It links back. The viewer carries the UltraNC.com mark, which opens our site in a new tab. That's the only "cost" of using it for free.
  • Works on mobile. The layout adapts, and on narrow screens the viewer stays usable.

Sites using the viewer

Thanks to these sites for embedding the viewer. Each listing links to the live embed, so you can see a real deployment before adding your own.

If you have embedded it somewhere, say so on the feedback board and we'll add you here.

For questions or feature requests, head to the feedback board.