Hex key handle: print a grip for Allen keys and bits
A hex key handle that fits your hand
A hex key handle, or Allen key handle, turns a tiny L-shaped key into a proper tool. Anyone who has tightened thirty M5 screws on an aluminum extrusion frame knows how the short leg of a bare key bites into the palm. This generator builds a lobed grip that you print yourself, sized to the key you actually own, from a 1.5 mm key for grub screws up to an 8 mm key for furniture bolts. A second mode makes a socket for hex screwdriver bits, in the style of a finger wrench: a short knob that turns a 1/4 inch bit between your fingers or a longer driver handle for a full-size bit.
Browse the examples to see the range, for instance the handle for a 5 mm key, the round handle for a 1.5 mm key or the finger wrench for 1/4 inch bits.
How the generator works
Everything runs in your browser. Nothing is uploaded, and the whole design lives in the link you get from “Share”. You choose what the handle holds, enter the hex size, set the shape of the grip and download an STL or a 3MF file. The handle is a single part in a single color, so it prints on any printer without a multi-material setup.
The editor has three sections:
- Key or bit: what the handle holds, the hex size, the clearance and, for bits, the socket depth.
- Grip: length, diameter, lobes, lobe depth and chamfer.
- Magnet: an optional pocket for a disc magnet.
The 3D preview updates while you change a value. If a combination does not work, the generator corrects it and tells you why, for example when the handle is too thin for the hex hole.
Hex key or bit
“Holds” switches between two modes.
Hex key
In “Hex key” mode the L-shaped key goes through the handle along its long leg. The short leg lies in a slot on the back of the grip, with the flats of the key facing the slot. That slot is what keeps the key from spinning in the hole when you apply torque.
The slot is cut across the corners of the hexagon, so the cross-section of the short leg fits whichever way the key is bent. A very short handle gets a shallower slot, and the generator then warns you that the key stands out a little.
Bit
In “Bit” mode you get a closed socket for a hex bit, like the 4 mm and 1/4 inch bits of screwdriver sets. “Socket depth” sets how far the bit goes in, 12 mm by default; standard 25 mm bits sit well at 10–12 mm. Below the socket there is room for the optional magnet pocket. Make the grip 16 mm long for a finger wrench, around 24 mm for a stubby handle and 45–50 mm for a driver you can really lean on.
Measuring and the common sizes
“Hex size” is the width across flats of your key or the shank of your bit, from 1.5 to 10 mm. The easiest way is “Common size”, a list of ready-made values:
| Size | Typical use |
|---|---|
| 1.5 mm, 2 mm | grub screws, precision work |
| 2.5 mm, 3 mm | M3 screws, printers, small electronics |
| 4 mm, 5 mm | M5 and M6 screws, aluminum extrusions, bikes |
| 6 mm, 8 mm, 10 mm | M8 to M12, furniture, machinery |
| 1/8, 5/32, 3/16 inch | inch keys (3.18, 3.97, 4.76 mm) |
| 1/4 inch (6.35 mm) | standard screwdriver bits |
| 5/16 inch (7.94 mm) | large inch keys and sockets |
Pick a value and “Hex size” follows; type your own number and the list shows “Custom”. Measure with calipers across two parallel flats, not across the corners, and measure the key once in the middle of its long leg.
Clearance
Printed holes come out slightly small, so “Clearance” is added to the hex size (0 to 1 mm, default 0.35 mm). With 0.35 mm a key slides in with a little resistance. If your printer prints tight, go to 0.4–0.45 mm. For a bit that should be held by the walls alone, without a magnet, 0.25–0.3 mm gives a press fit, as in the stubby handle without magnet. Print a short test grip first when you change printers or filaments.
Shaping the grip
The “Grip” section sets the outside of the handle.
- Grip length: 8–150 mm, default 60 mm. The handle is printed standing on its front face.
- Diameter: 12–60 mm, default 26 mm, measured over the lobes. If the hex hole needs more room, the diameter grows by itself and a warning tells you.
- Lobes: 3–24, default 9. More lobes give a finer, rounder feel; fewer give strong ridges you can grab with wet hands.
- Lobe depth: 0–5 mm, default 2 mm, called “Rillentiefe” in German. With 0 the handle is a plain cylinder, as in the small round 1.5 mm handle.
- Chamfer: 0–5 mm, default 1.6 mm. The bevel at both ends keeps the edges comfortable and lets the first layer sit cleanly on the bed.
As a rule of thumb, take a diameter of about five times the hex size for a hand tool and more if you want to apply a lot of torque. The 8 mm handle uses 38 mm and 12 lobes, the precision handle for a 2 mm key only 16 mm.
The magnet pocket
“Magnet” cuts a pocket for a disc magnet into the back. The magnet holds a steel bit in the socket, so it does not fall out when you lift the screwdriver, and the handle sticks to steel, which makes it easy to park on a tool wall. “Magnet diameter” (3–20 mm, default 10 mm) and “Magnet height” (1–5 mm, default 1.8 mm) are the size of your magnet; the pocket is 0.4 mm wider and about 0.2 mm deeper. Glue the magnet in with the right polarity.
The pocket is open at the top while the handle prints, so it needs no bridge. If the magnet does not fit into the handle, the generator leaves the pocket out and warns you, so make the grip wider or longer.
Printing the handle
The handle prints standing on its front face. At the bed there is the socket, closed by a pointed hex roof at 65° with a small vent, and the magnet pocket points up. With this orientation nothing needs supports and the lobes run in the print direction, so the handle is strong against twisting. We checked all 13 examples with PrusaSlicer for the Prusa MINI at 0.20 mm SPEED with Prusament PLA, and none needed automatic supports.
| Example | Filament | Time |
|---|---|---|
| Finger wrench 1/4 inch | 2.5 g | 18 min |
| Handle for 2.5 mm key | 6.3 g | 49 min |
| Handle for 5 mm key (default) | 11.9 g | 1 h 7 min |
| Bit driver 1/4 inch | 11.7 g | 58 min |
| Handle for 6 mm key | 21.1 g | 1 h 25 min |
| Handle for 8 mm key | 33.6 g | 2 h 2 min |
Use PLA or PETG, 0.2 mm layers and at least three perimeters. The hex hole carries the load, so more perimeters help more than more infill; 15–20 % infill is plenty. For a handle that sees a lot of torque, PETG is tougher than PLA. If the first print is too tight, raise “Clearance” by 0.05 mm and print again.
Use cases
- Workshop: one handle per key size, color coded with different filaments, hung on a rail.
- 3D printer upkeep: a 2.5 mm handle for M3 screws on a printer and a 4 mm handle for extrusion frames.
- Bike repair: a 5 mm or 6 mm handle for saddle and stem bolts in your saddle bag.
- Precision work: a slim driver handle for 4 mm bits for electronics and repairs.
- Gifts: a handle in the color of the receiver’s favorite team.
If you are building an organizer for your tools as well, the ball joint arm is a good companion for a workshop lamp or a camera over the bench.
Origin and license
The lobed grip, the hex socket with oversize and the magnet pocket come from the Printables model Finger Hex Wrench (4 mm and 1/4 inch) by jdegs, licensed CC BY 4.0. This generator ports that idea: the lobe outline is rebuilt as a parameter-driven curve, and the part is printed upside down with a pointed roof so it needs no supports. New are the mode for L-shaped hex keys with the slot on the back, the size list and all the parameters. All texts and code of this site are described on the license page.
Ready to print? Open the generator and start with the 5 mm key handle.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Key or bit | |||
| Hex size | 5 mm | 1.5 – 10 mm | Size across flats of the key or of the bit shank, e.g. 5 mm or 6.35 mm (1/4 inch). |
| Clearance | 0.35 mm | 0 – 1 mm | Added to the hex size because printed holes come out small. 0.3–0.45 mm fits most printers; less for a tighter fit. |
| Socket depth | 12 mm | 4 – 40 mm | How deep the bit sits in the handle. Standard 25 mm bits: 10–12 mm. |
| Grip | |||
| Grip length | 60 mm | 8 – 150 mm | Length of the handle along the key or bit. It is printed standing on its front face. |
| Diameter | 26 mm | 12 – 60 mm | Outer diameter over the lobes. Grows by itself if the hex hole needs more room. |
| Lobes | 9 | 3 – 24 | Number of rounded lobes around the grip. |
| Lobe depth | 2 mm | 0 – 5 mm | How deep the grooves between the lobes are; 0 gives a round handle. |
| Chamfer | 1.6 mm | 0 – 5 mm | Bevel at both ends of the grip; 0 leaves sharp edges. |
| Magnet | |||
| Magnet diameter | 10 mm | 3 – 20 mm | Diameter of the disc magnet; the pocket is 0.4 mm wider. |
| Magnet height | 1.8 mm | 1 – 5 mm | Thickness of the disc magnet; the pocket is about 0.2 mm deeper. |
Frequently asked questions
Do I need supports?
No. The handle prints standing on its front face with a pointed roof over the hex socket, so every overhang stays at 65° or steeper. A PrusaSlicer check of all 13 examples found no need for automatic supports.
Which clearance should I choose?
The default 0.35 mm suits most printers and a hex key sits snugly. Use 0.4–0.45 mm for a loose, easy fit with bits and 0.25–0.3 mm if you want to press the bit in without a magnet.
How do I hold the key in the handle?
In “Hex key” mode the key goes through the handle and its short leg lies in a slot on the back. The leg locks the key against turning, and you can pull it out any time.
What is the magnet for?
The pocket on the back takes a disc magnet. It holds a steel bit in its socket and lets the handle stick to a toolbox or a steel wall. Glue the magnet in with a drop of cyanoacrylate.
Does it work with inch hex sizes?
Yes. “Common size” lists 1/8, 5/32, 3/16, 1/4 and 5/16 inch next to the metric sizes, and you can type any value between 1.5 and 10 mm in “Hex size”.
Origin & license
- Finger Hex Wrench by jdegs · CC BY 4.0 · code ported – Ported: lobed grip with chamfers at both ends, oversized hex socket and magnet pocket; new: parameters, support-free printing and the mode for L-shaped hex keys.