SizeSTL

Box with lid generator

A printable box made to measure, with a lift-off or sliding lid and compartments if you want them.

  • Nothing uploaded
  • No sign-up
  • Free, no limits
Building the box…
  1. Set the inside size
  2. Pick the lid and compartments
  3. Download STL or 3MF

Good to know

How to make a box with a lid

  1. Set the inside size: measure what has to fit and add a millimetre or two.
  2. Pick the lid: lift-off (a lip that sits inside the walls), sliding (slides in from the front along grooves), or none for an open tray.
  3. Add compartments if you want them, and round the corners.
  4. Download the box and lid as one STL, a 3MF, or a zip with each part separately.

Getting the lid to fit

The fit is the gap between lid and box on each side. 0.2 mm suits most well-tuned printers. If the lid is too tight, go up to 0.3–0.4 mm; if it rattles, go down to 0.1–0.15 mm. Printing a small box first (the size doesn't change the fit) saves filament while you find your number.

  • Lift-off lids print flat with the lip facing up, so no supports are needed.
  • Sliding lids print flat; the grooves in the box print as small overhangs, which most printers manage without supports.

Walls and strength

Wall thicknesses that are multiples of your line width print cleanest: with a 0.4 mm nozzle, 1.2, 1.6 or 2 mm (3, 4 or 5 lines). For boxes that get carried around or dropped, 2 mm walls and a 2 mm floor are sturdy in PLA or PETG.

Want a name or a label on it? Download the lid and put text on it with Add text to STL. For holes (a cable, a hinge pin) use Merge and cut STL.

Questions

How do I make a custom-size box to 3D print?

Set the inside width, depth and height on this page, pick a lid, and download the STL. The box is built to fit those inside measurements.

Why is my printed lid too tight or too loose?

Every printer prints a little differently. Raise the fit (the gap on each side) if it's too tight, lower it if it's loose; 0.2 mm is a good start.

Can I add compartments?

Yes. Set how many across and front to back; the walls stay below a lift-off lid's lip so the lid still fits.

Is it free?

Yes. It runs in your browser with no sign-up, and you can download as STL or 3MF.