All Articles
Guides 6 min readApril 2, 2026

Connect Your CNC Machine Directly in a Browser Using Web Serial API

GRBL 1.1 machine control - jog, home, stream G-code and tune settings - from your browser tab with the Web Serial API. Available now in the Studio plan.

M
· CNC Specialist & Lead Developer
GRBLWeb SerialMachine Control

Running a CNC job usually means a pipeline of three separate applications: draw in your CAD tool, generate G-code in your CAM tool, then open a third-party sender application (bCNC, UGS, CNCjs) to talk to your machine. Design Swiftly puts all three in one browser tab. Machine control is available now in the Studio plan.

The Technology: Web Serial API

Modern versions of Chrome and Edge ship with the Web Serial API — a browser-native way for a web page to open a serial port and communicate with USB devices. This is the same port your GRBL controller listens on.

Because Web Serial runs inside the browser sandbox, it requires no drivers (beyond the CH340/CP2102 USB-serial chip driver your machine already uses) and no server. The bytes go directly from the browser to your machine.

What it replacesWhy it matters
bCNC, UGS, CNCjs, CandleNo separate install — everything stays in the browser tab
File → USB / SD card workflowStream G-Code directly from your design in real time
Manual $$ GRBL tuning via terminalVisual settings editor with plain-language parameter names
Touch plate scriptsOne-click Z-probe with automatic WCS origin set

What You Get in the Studio Plan

  • Port connection — Chrome/Edge serial port picker and baud rate selector (default 115200)
  • Live DRO (Digital Read-Out) — real-time X, Y, Z position display with GRBL status (Idle / Run / Alarm / Hold)
  • Jogging panel — arrow controls with 0.1 / 1 / 10 / 100mm step sizes; keyboard arrow key support
  • Homing — homing sequence from the panel
  • Work origin (WCS) — jog to material corner, click Set Zero to define G54 origin
  • Z-probe — touch-plate probing using G38.2 with auto work-Z offset
  • G-Code streaming — line-by-line GRBL buffer management with progress bar and feed hold
  • Emergency stop — soft reset and feed hold from the panel
  • GRBL settings editor — view and edit all $$ parameters with descriptions (step/mm, max feed, homing speed, soft limits)

Browser Compatibility

Chrome and Edge only

Web Serial API is only available in Chrome 89+ and Microsoft Edge 89+. Firefox and Safari do not support it. All CAD and CAM design features work in every browser.

Your Workflow

  1. 1Design your parts using all CAD tools (shapes, text, SVG import, boolean ops)
  2. 2Generate G-Code in the Simulator tab — 3D toolpath preview and multi-pass depth control
  3. 3Connect your GRBL machine from the Machine tab (Studio plan)
  4. 4Stream the job to the machine, or download the .gcode file and run it in a G-code sender you already use

Machine Compatibility

Machine control is built for GRBL 1.1 over a USB serial connection, as used on Arduino Uno and Nano based CNC shields and many hobby routers. It is developed and tested on our own GRBL 1.1 router. It should work with other GRBL 1.1 machines, but it is not tested on every machine: run an air cut first.

You can design, generate G-Code and export files on every plan. Streaming to a machine over Web Serial is part of the Studio plan.

Try it yourself →

Open Design Swiftly — Free, No Install

No account. No download. Just open and create.

Launch Design Swiftly

More Articles