BoxGen

Box Generator with Lid

Add a removable lid to a box sized from the inside. Choose an inset lid that drops into the opening or a flat panel that rests on the rim, then export SVG, DXF or STL.

Box

Inside dimensions — the space your object needs.

Lid

Both lids are removable. The inset lid sits down inside the box; the flat lid covers the rim.

Material

Kerf is the width your laser removes. It sets how tightly the inset lid fits.

Inset lid or flat lid?

Both options give you a box with a lid you can lift off. The difference is where the lid sits and how the edges look when it is on.

Inset lid (friction fit)Flat lid panel
Cut sizeInternal footprint (inside opening)Outer footprint
When closedSits down inside the opening, flush or slightly below the rimRests on top of the rim and overhangs the walls
LookClean top with no visible edge from aboveVisible lip all around
Fit depends onKerf — it is the entire clearanceNothing; it simply rests on the box
Best forStorage boxes, display boxes, anything that should look closedQuick prototypes, boxes you open constantly, lids you want to lift by the edge
DownsideToo tight if your kerf is under-measured; can be awkward to lift outNo location — it can slide around

How the inset lid fits

The inset lid is generated at exactly the internal length by internal width, so it matches the top opening. On a real laser, the cut path removes material on both parts: the opening ends up slightly larger and the lid slightly smaller. The result is roughly one kerf of clearance per side.

At 0.15 mm kerf that is a snug push fit — enough to hold the lid in place when you tip the box, loose enough to lift out with a fingernail. If you have not measured your kerf, cut a 50 mm test line in the same material first; a lid is the one part where being 0.1 mm out is immediately obvious.

Laser-cut box with a lid

In laser/CNC mode the lid is simply a sixth closed path in the same SVG or DXF, laid out beside the five box panels. It has no finger joints, so it is the easiest part in the file. Import at 1:1, check the lid reads the expected size in millimetres, and cut it from the same sheet as the walls.

Use the same material thickness for the lid as for the walls. The thickness is what the generator uses to place the lid relative to the rim, and a mismatched lid will either sit proud or drop too deep.

3D printed box with a lid

In 3D print mode the lid is a separate solid body placed next to the box in the same STL. Print both in one job. The lid is modelled 0.2 mm undersized on each side, so it drops in on a well-calibrated printer without needing sanding.

Print the box with the opening facing up and the lid flat as modelled — neither needs supports. If the lid is too tight, the usual cause is over-extrusion rather than the model; calibrate flow before scaling the part.

Hinged and sliding lids

BoxGen does not generate hinged or sliding lids. It would be easy to put those words in the title and disappoint everyone who arrives, so here is the honest version.

If a hinged or sliding lid is the whole point of your project, a CAD tool such as Fusion 360 or a parametric OpenSCAD script will get you there faster than editing a generated flat pattern. BoxGen is the right starting point when a removable lid is enough.

Template or generator?

A box template is a fixed drawing at one size. This is a generator: change the numbers and the panels, joints and lid all update. If what you actually need is a box with lid template, download the SVG at your size — it is a clean, closed-path template you can keep, edit, or reuse without returning to this page.

There is no printable PDF template. Paper templates are for hand cutting; these files are in millimetres at 1:1 and are meant for a laser, CNC router or 3D printer.

Frequently asked questions

Do the dimensions include the lid?

No. Length, width and height describe the usable space inside the box. Adding a lid does not change the outer size: an inset lid sits inside the opening, and a flat lid rests on the rim without adding to the height in the model.

Does the lid add height to the box?

Not in the generated geometry. An inset lid finishes flush with or just below the rim. A flat lid sits on top of the rim, so in real life it adds one material thickness to the overall height — plan for that if the box has to fit a drawer or a shelf.

Can I cut the lid from thinner material?

The generator uses one thickness for every panel. If you want a thinner lid, generate the box first, then scale only the lid path in your laser software, or generate a second file and keep just its lid. Do not change the thickness field for the whole box just for the lid — it would alter the finger joints.

Is the STL a box with a lid I can print in one piece?

The STL contains two bodies: the box and a separate lid. They print in one job but remain separate parts, which is what makes the lid removable. It is not a print-in-place hinge.

Can I use the files commercially?

Yes. The files you generate are yours — sell the boxes, the cut files or the printed parts. No attribution required.

Is anything uploaded?

No. All geometry is generated in your browser. The page makes no network requests after it loads.

Other box generators