Skip to content

Features ​

Every feature of pcbjs with a board that shows it, compiled in your browser. Beta means it works with a gap still open, which the support matrix names.

Design

A drawn schematic, placed and wired for you Beta

The netlist drawn as symbols, placed and wired automatically, with your own placements and wires checked against the board.

A board is a TSX module Shipped

The board is a default export of JSX: the fab preset, the outline and the parts, in mm with y down.

A standard library of footprints Shipped

Passives, ICs, connectors and mechanical parts with their pins, frames and generated 3D models.

Another board as a mechanical reference Beta

Mate a board to the one it plugs into, see both in 3D and check the mate and every collision.

Automatic placement and followers Shipped

Leave a slot of at to the placer, a solver or a cost of your own, and freeze the result with pcbjs place --write.

Circuits with ports and indexed instances Shipped

A block of parts with enforced ports and private nets, placed once per index, its refs following the hierarchy.

Compiler plugins Shipped

Stages, hooks and checks of your own in the compile, with the same findings as the built-in checks.

Elements, shapes and text Shipped

Outlines, holes, vias, keepouts and silk are elements and helpers, with shape helpers for the common outlines.

Named groups Shipped

A named group gives a block of parts a path that findings, inspect and the viewer print.

Named placement grids Beta

Parts and groups placed in units of a named pitch, with origins on pads and rotated frames.

Nets and parts as values Shipped

A net is a value and a part is a footprint factory called with its value; .connect() gives each pin its net by name.

Sourcing and the BOM Shipped

Part numbers and BOM fields per part or in a separate sourcing module, with tags per fab target.

Stackups and project defaults Shipped

Stackup builders, fab stackups and one place for the defaults every board of a project starts from.

Stroke and outline fonts Beta

Hershey Simplex, KiCad NewStroke or any TrueType and OpenType file, drawn by the compiler with their licences kept.

The binding name is the ref Shipped

The constant a part is bound to is its ref on the silk, in the BOM and in every finding, so a rename in the editor renames the part.

Your own footprints, typed pins Shipped

Footprint factories whose pin and pad names the editor checks, so a wrong pin is a type error.

Routing

Pours, thermals and islands Beta

Pours fill around other copper, join their pads through thermal spokes and drop islands.

Route by hand, or leave a leg to the router Shipped

A chain such as .H(12).V(5) draws a route your way; ends alone leave the leg to the autorouter.

A negotiating autorouter Beta

A maze router that picks layers and vias, negotiates contested space between legs and caches every leg by its surroundings.

Arcs in routes and outlines Beta

Circular arcs in route chains and board outlines, kept as arcs in the Gerbers.

Copper on no net Shipped

Pours, vias and routes with no net, foreign to every net in DRC, to fill a board or draw isolated copper.

Custom routers and solvers Shipped

Hand a leg or a placement to code of your own when no built-in strategy fits.

Differential pairs with impedance Shipped

A pair routed as one centre line with its gap from the stackup impedance, via pairs, necks and pair DRC.

Edits by reference Shipped

Move a part, add a via or hold a route by its reference when the copper has no source line of its own.

Keepouts with exceptions Shipped

Areas no copper may enter, except the nets you list, honoured by DRC, pours and the router alike.

Length targets and match groups Beta

Targets per route and skew per group, met by meanders the tuner lays and reported by inspect --lengths.

Route cache and holds Shipped

An unchanged board routes from its cache; a held route keeps its copper while the board changes around it.

Stitching vias Shipped

Vias laid on a pitch through the fill of a pour, kept clear of everything else.

Widths, teardrops and net classes Shipped

Builder methods on a route, net classes that merge field by field and teardrops at pads and vias.

Checks

DRC points at the line Shipped

Every finding names its rule, the items involved and the source line to change.

Board tests and golden fab sets Shipped

Assert design intent against the compiled board, and catch any change to the copper with a golden set.

Declared current-width checks Shipped

Checks declared route widths against the IPC-2152 baseline for the stated current and copper thickness. Automatic pad neck-downs are not checked; inspect their widths separately.

ERC on the netlist Beta

Unconnected pins, single-pin nets and the schematic checks, run with every compile.

Positions and lengths with inspect Shipped

Where every part, pad, net and route ended up in absolute mm, and every route with its length and target.

Rule values and overrides Shipped

Clearances and widths per board, net class, part and pad, by the kind of the other item.

Rule values with their sources Shipped

Every stackup and rule value of the presets traced to the fab or standard it comes from.

The edit loop in one command Shipped

Compile, route, DRC, ERC and the type check without writing a file, one line per board and per finding.

Visual diff against a commit Shipped

Before, after and a tinted diff image of each board against git, with the findings delta for a pull request.

Output

Ready to order Shipped

Gerber X2, drills, IPC-D-356, BOM and placement in one zip, with a self check and STATUS: ORDERABLE.

3D with generated part models Shipped

Every part drawn in 3D from its model file or a generated body, the copper and mask built from the board.

A project as an npm package Shipped

Publish parts, circuits and boards with the board as GLB and STEP, and place boards together with compose().

Boards on your own site Shipped

The viewer's views as Vue components and a Vite import that hands them a board, as this site uses them.

Fab presets Shipped

One import sets the stackup, rules and sourcing of JLCPCB, PCBWay, OSH Park, Eurocircuits or AdvancedPCB.

Fetch and fit STEP models Shipped

Fetch a STEP, glTF or WRL model, align it to the placed part and keep its licence beside it.

One design, several fab targets Shipped

Build one design for several fabs, each with its own rules, stackup and sourcing.

Editor

Drag on the board, written to the source Beta

Move, turn and flip parts and edit a route's control points; each drag writes once into the source or a patch.

A language server for any editor Shipped

Findings as diagnostics, hovers, definitions and lenses in Neovim, Helix, Zed, JetBrains and Claude Code.

A live viewer in 2D, 3D and schematic Shipped

The board updates on save, with findings, BOM, nets and every view of the same items.

An open editor protocol Shipped

The frames between the session and an editor, versioned, for a client of your own.

Code and board select each other Shipped

The cursor in the code lights what it drew, and a click on the board opens its line.

Defined viewer operations Shipped

Selection, camera changes and source edits have distinct effects; move and rotation preview the same eligible objects that the source edit changes.

Edit instance and library layouts Beta

Edit an instance's own placement overrides or the reusable template shared by its instances, with synchronized source and preview focus.

One key map Shipped

Every key and gesture from one table that the views, the palette and the docs read.

Project-bound editor actions Shipped

Sidebar and fabrication actions retain their project and target; pane undo uses the named source document's chronological history.

Source ranges on every item Shipped

Every item carries the ranges of the code that made it, so hover and cursor name the same thing.

The VS Code extension Shipped

The viewer in a pane beside the code, hovers with previews, findings as diagnostics and a sidebar of boards.

Agents

An MCP server for coding agents Shipped

Checks, queries, renders, docs and source edits as tools, and boards and findings as resources.

A versioned JSON report Shipped

Every board, finding and route of check, build and test in the pcbjs.check/1 report.

Agent skills Shipped

What an agent needs to work on a board, installed into the project as Agent Skills.

Events, queries and scripts Shipped

Wake on a finished check, look up any reference, or measure the board from code.

One reference grammar Shipped

Parts, pads, nets, routes, items and findings named by one slash path on every surface.

Renders without a browser window Shipped

A PNG of any view, framed on a part, net or finding, with a one-line legend.

Tooling

The compiler in a browser Shipped

The same compile in a Web Worker, equal to Node byte for byte; every board on this site compiles in your browser.

A cached compile stage graph Shipped

Each stage keyed on its inputs, so an edit recompiles only what it changed.

A first board in nine steps Shipped

The basic path from an empty folder to an orderable board, one topic per step.

A project in one command Shipped

A board and its config, or a whole example board to start from.

A support matrix with evidence Shipped

What is supported, partial and missing, generated from this gallery with the test or the gap behind each entry.

A workspace of projects Shipped

One session for every project under some folders, each loaded on first use.

Docs in the terminal Shipped

Every topic of this site printed by the installed CLI, basic first, searchable.

KiCad conventions mapped Shipped

The frame, the back side, refs, text and pads carried over from KiCad one to one.

KiCad import Shipped

A KiCad board or footprint becomes code to refine, its rules converted where they can be.

One CLI for every step Shipped

Check, build, inspect, shot, import and the rest, with doctor for versions and setup.

One session for editor and agents Shipped

One process compiles the boards and serves the viewer, the language servers and every client.

Small packages, one build Shipped

Core, compiler, exporters, library, fab presets, viewer and CLI as packages with stable entry points.

Roadmap

Design

  • Synthetic bold and italic text

Routing

  • Any-angle tracks
  • BGA escape patterns
  • Blind, buried and micro vias
  • Bus routing with fly-by and star topologies
  • Interactive routing in the viewer
  • Routing past a thousand nets
  • Via-in-pad and back drilling

Checks

  • Crosstalk spacing checks
  • Electrical pin roles in ERC
  • Return path continuity across plane splits
  • Silk to pad and courtyard over edge checks
  • Stitching vias at layer changes

Output

  • Assembly and fab drawings
  • Enclosure clearance against a STEP model
  • Flex stackups and bends
  • KiCad export
  • ODB++ and IPC-2581
  • Panelization with rails, mouse bites and fiducials
  • Stencil files

Editor

  • Editable snippets in the browser

Tooling

  • Vendor libraries and part search

MIT licensed. A proof of concept, pre 0.1.