A browser tool for designing dovetail joints. Set the width, the boards, the slope, the kind of joint and how the pins and tails are spaced, and it shows the corner in 3D, draws a dimensioned layout of the tail board at full size, and lists every pin and tail for marking out.
- Designs through, half-blind, mitered, mitered half-blind and secret mitered dovetails, with pins and tails that can stand proud of the faces and chamfered ends. A mitered joint has either a half pin or a half tail beside each miter.
- Spaces the joint evenly, graduated, at random from a seed, or with every pin width you give.
- Shows the assembled corner in 3D in the woods' colors, and takes it apart.
- Draws the layout of the tail board's outside face, or of a secret mitered joint inside its laps, with every dimension, or with the distance of each edge from the top edge.
- Prints the layout at full size, across several pages when it doesn't fit on one.
- Saves and opens designs as JSON, and keeps the current design in the browser between visits.
Lengths are in inches or millimeters.
Controls. Every field of the design has a control on the right, and every change shows at once. Type a length as 0.75, 3/4, 1-1/2 or 19mm, or drag its slider. Fields marked Suggested follow the rest of the design, the way a woodworker would size them; set one to fix it, and Use suggested lets it follow again. Pin widths are measured at the baseline, where each pin is at its widest, so you can set them to match a chisel. When a design doesn't work, the problem shows beside the field at fault, or across the top of the 3D view when no one field is to blame, such as pins too wide for the tails between them. The views keep the last design that worked, dimmed.
End pins. The pins at the top and bottom edges can be Half, half as wide as the other pins at the baseline, Full, as wide as the other pins, or Custom, a width you give in End pin width at baseline. Choosing Custom starts the width where the choice before it left the end pins; going back to Half or Full drops it. In a design file, "end_pins" is "half" (the default when left out), "full" or "custom", and "end_pin_width" goes with "custom" only, as in {"type": "even", "end_pins": "custom", "end_pin_width": "1/2"}. Joints whose edges end in half tails or full pins have no end pins, so the choice isn't shown.
Starting. With no design saved in the browser, it opens offering a new design or a design file; close that to start from a sample joint.
New design. The New design button asks a few questions in turn: units, width, boards, slope, the joint, how far the ends stand proud, the layout and its sizes, and a chamfer for proud ends. Each question offers a suggestion worked out from the answers before it, written the way you would type it. Before you finish, it shows the layout your answers make, to use or change.
3D view. Drag to turn the corner, right-drag to move it, and scroll to zoom. Take apart pulls the tail board away from the pins; Put together brings it back. Hide pin board and Hide tail board take a board out of the view, assembled or apart, and Show brings it back. Reset view brings the camera back to its starting position and zoom, leaving the boards as they are.
Layout. The drawing is the tail board's outside face, with the pin board's end grain beside it. Above the drawing, choose what it shows: None, Dimensions or Distances from the top edge. Dimension chains give every pin and tail at the baseline and at the end of the board. Distances from the top edge give each tail corner's distance from the top edge, with a line from the corner to its number, and arrows leading down from 0 at the top edge to each distance in turn. A ~ before a size means it is rounded to the nearest 1⁄64″. To read small labels, zoom in with + and − beside Show (or the + and − keys), pinch or Ctrl-scroll over the drawing, or double-click a spot; drag to move around, and Fit shows the whole drawing again. Zooming doesn't change the printed layout.
Mitered joints. Miter the top corner, the bottom corner or both, and choose the miter style. Half-pin keeps an end pin beside each miter, so the miter is cut from what would be a wide end pin. Half-tail puts a half tail there instead, square on its outer side and running straight to the miter, so the miter is cut from what would be a wide end tail. With Half-tail, the Tails count is the number of full tails; each half tail takes half the share of the tail beside it, and the end pin settings apply only to an edge that isn't mitered. A custom layout keeps one more pin than full tails, but the pin beside a half tail slopes on both sides, and its tail weights get one more entry for each half tail: first for a half tail at the bottom edge, last for one at the top. In a design file, a mitered joint's "miter_style": "half_tail" chooses half tails; left out, it is "half_pin". A joint with a miter needs both boards the same thickness, so the miter is a true 45°; a board whose thickness is left out takes the other's.
Mitered half-blind joints. The tails, and the pin board in front of them, are cut back to one miter running the length of the corner from the outer corner to the inner corner. The pins show on the tail board's outside face, nothing shows on the pin board's, and both edges show a miter. It always ends in a half tail at each edge, running straight to the edge, so it has no Miter style: the Tails count is the number of full tails, and a custom layout's tail weights get an entry for each half tail, first and last. Pins may come to a point at the outer corner, and nothing stands proud. In a design file, the joint is just {"type": "mitered_half_blind"}.
Secret mitered joints. Also called a full-blind dovetail, this joint shows on neither face. Each board keeps a lap on its outside, the two laps meet in a 45° miter along the corner, and the dovetails sit between the laps: the tails are as long as the pin board's thickness less the lap, and the pins as deep as the tail board's less the lap. One Lap setting sets both laps; it is suggested at a third of the boards' thickness (1⁄4″ on 3⁄4″ stock) and must be thinner than the boards, which must be the same thickness. At each edge a plain miter runs through both boards before the first pin; Edge to first pin sets how far, measured at the baseline and the same at both edges. The joint always uses the even layout and the Tails count is the number of full tails. Left unset, each edge's miter is spaced like a half tail, half as wide as the tails; set, it is used as given and the pins and tails share the width left between the two miters. The pin beside each miter is a full pin, sloped on both sides, so there are no end pin settings. Nothing stands proud. Assembled, the corner looks like a plain miter; Take apart shows the dovetails. The layout drawing shows the joint inside the laps, which is what you mark out after rebating both ends: the pins on the pin board's end, and the tails on the tail board's inside face, where they read top for bottom. In a design file, the joint is {"type": "secret_mitered", "lap": "1/4", "edge": "1/2"}, with edge left out for half a tail, and the layout must be even.
Files. Save JSON writes the design to a file named after it, such as half-blind-even-6in.json, mitered-half-tail-even-6in.json, mitered-half-blind-even-6in.json or secret-mitered-even-6in.json, and Open JSON reads it back.
Printing. Print prints only the layout, at full size. Each page has a calibration bar: if it doesn't measure what it says, print at 100% ("Actual size"), not "Fit to page". A layout bigger than a letter page is split across overlapping pages; lay each over the next so the crosses meet, then tape them together.
It needs Node.js 24 or later. To start it locally:
npm install
npm run devOther commands:
npm test: the unit and component tests.npm run gates: formatting, lint, type check, and the tests with coverage.npm run build: the static site, indist/.npm run build:lib: the React component, inlib/.npm run e2e: browser smoke tests in Chrome, WebKit and Firefox (runnpx playwright install webkit firefoxonce first).
The package also builds a React component, DovetailDesigner, into lib/ (npm run build:lib, which runs on install). Install it from GitHub at a release tag, with React 19 alongside. It draws its 3D view with three, which installs with it.
npm install github:jpstroop/dovetail_designer#<tag>import "dovetail-designer/style.css";
import { DovetailDesigner } from "dovetail-designer";
<DovetailDesigner />;Its styles and its light and dark themes are scoped to its own container.
GNU Affero General Public License, AGPL-3.0-or-later.