Skip to content
Call us: +1 (302) 219-6751 • Email: sales@theinnovativepackaging.com
Packaging Guide

What Is a Dieline? A Complete Guide to Packaging Dielines and How to Make One

IIjlal AhmedOctober 6, 20268 min read
Guide to packaging dielines with a flat box dieline beside finished tuck end boxes

What is a dieline? A dieline (also written die line) is the flat plan of a box. It shows exactly where the box will be cut, folded, glued, and printed. Every custom box starts with one, and a good dieline is what makes the finished box fold cleanly and print without white edges.

Below, we explain what a dieline in packaging includes, how it differs from a template, and how to make a dieline step by step. If you would rather not make one yourself, that is fine too: we build the dieline for every custom packaging order.

What Is a Dieline in Packaging and Printing?

A dieline is a flat, two-dimensional drawing of a package before it is folded. Think of it as the floor plan for your box. The designer places artwork on it panel by panel, and the factory uses the same drawing to make the cutting die, a set of steel blades that cut and crease the board.

A proper box dieline marks:

  • where the box is cut out
  • where the board is creased and folded
  • the bleed and safety margins, so the print reaches the edges and nothing important gets trimmed
  • where the glue goes
  • which artwork belongs on which panel

Skip the dieline and you are guessing. That usually ends in a reprint.

What Does a Dieline Include?

Every packaging dieline uses the same basic parts. Here is what each one means.

Labeled box dieline showing the cut line, fold line, bleed, safety margin, and glue flap
The main parts of a box dieline, shown on a tuck end box.

Cut lines (trim lines): The outer edge of the finished box. The die-cutting machine follows these lines exactly, so a small error here affects the whole box.

Bleed: Artwork that runs 3mm (0.125") past the cut line. It stops thin white edges from showing after the box is cut.

Safety margin (live area): The inner zone where logos, text, and barcodes must sit. Anything outside it could be trimmed off or hidden in a fold. This matters most on cosmetic boxes and CBD boxes, where ingredient lists and warning text have to stay readable.

Fold lines (crease lines): Lines pressed into the board so it bends cleanly. Accurate fold lines give a finished custom box its sharp edges.

Glue flaps: The strips where glue goes during assembly. Keep artwork off these areas.

Perforation lines (optional): Used on retail and mailer packaging for tear strips and easy-open features.

Dieline vs Template vs Die Cut

People use these words as if they mean the same thing. They don't.

A dieline is the exact technical drawing used in production. It is built to your box size, with each line type on its own layer.

A dieline template is a ready-made starting file for a standard box style. You change the sizes to fit your product, and once the sizes are right it becomes your dieline.

Die cutting is the factory process. A steel die is made from your dieline, and it cuts and creases every sheet the same way.

Hand-drawn box template on paper next to a precise dieline with measurements in Illustrator
A rough template (left) and a print-ready dieline with exact measurements (right).

How to Make a Dieline for Packaging

Making a dieline takes careful measuring and a basic idea of how boxes are built. Here is the full process.

Step 1: Set the box style and size

Start with three things:

  • Product size: length, width, and height, plus a little room for wrapping or inserts
  • Box style: tuck end, sleeve, rigid, mailer, display, and more
  • Material: paperboard thickness, corrugated flute, or rigid board

Build the dieline around the exact size of the product. A 2mm mistake gets repeated on every box in the run. If you are still choosing a board, our materials and printing guide compares the options. Kraft board is a popular pick for eco-friendly boxes. If you switch boards, update the dieline for the new thickness.

Step 2: Use vector software

Professional dielines are drawn in vector software. Adobe Illustrator is the most common choice. ArtiosCAD is built for structural packaging design, and Esko Studio is used to preview the folded box and prepare files for print.

To make a dieline in Illustrator, set up the document at the real box size, draw each panel to exact measurements, and give the dieline lines their own spot color so the printer can turn them off. Set that spot color to overprint so it never knocks out your artwork.

Save the file as .ai or .eps, or export a PDF/X-4. Avoid Photoshop. Pixels blur when you scale them and cannot match the precision die cutting needs.

Designer making a box dieline in Illustrator, with a cutting mat and finished tuck end boxes on the desk
Dielines are drawn in vector software such as Adobe Illustrator.

Step 3: Draw the flat layout

Picture the box unfolded and draw every part flat:

  • Front, back, side, top, and bottom panels
  • Glue flaps, tuck flaps, and dust flaps
  • Any window cutouts or special die-cut shapes

Window cutouts are common on food boxes, such as bakery and window cupcake boxes. Draw each window as a closed cut line inside its panel. Keep every measurement exact. Everything else is built on this drawing.

Step 4: Add bleed and safety margins

Extend all background artwork 3mm (0.125") past the cut line. That extra strip is the bleed. Then keep text and logos at least 3 to 5mm inside the cut and fold lines. That inner zone is the safety margin.

Both exist for the same reason: cutting machines shift slightly as they run. Without bleed you get white paper edges, and without a safety margin text can be cut off or lost in a fold.

Printed box sheet showing bleed past the red cut line and a dotted safety margin inside it
The teal print runs past the red cut line (bleed), while the logo stays inside the dotted safety margin.

Step 5: Put each line type on its own layer

Organize your dieline file with named layers, for example:

  • Dieline_Cut (solid red or magenta line, 0.25pt)
  • Dieline_Fold (dashed blue or green line)
  • Dieline_Perf (dash-dot line, if needed)
  • Art_Main
  • Text_Legal

Clear layer names speed up pre-press checks and prevent mix-ups at the print stage. Many manufacturers ask for layers set up this way, so check your printer's file guide for their naming rules.

If your box has foil, embossing, or spot UV, give each finish its own layer too. Still choosing a finish? Our guide to matte vs gloss lamination explains the difference.

Step 6: Place the artwork

With the structure done, add your design:

  • Line up graphics panel by panel
  • Keep text and logos inside the safety margin
  • Do not run important artwork across a fold line
  • Check which way each panel faces. Upside-down text on a top flap is a common and costly mistake.

Step 7: Test before full production

Before you commit to a full print run:

  • Load the dieline into a 3D preview tool such as Pacdora or Esko Studio to see the folded box on screen.
  • Print it on plain paper, cut it out by hand, and fold it. A paper mock-up takes a few minutes and catches structure problems while they are still cheap to fix.
Paper mock-up of a dieline cut out, folded by hand, and compared with the final printed box
A quick paper mock-up shows whether the dieline folds into the right box.

When you order from The Innovative Packaging, you get a digital proof within 24 to 48 hours of placing your order, so you can check the dieline and artwork before anything is printed.

Types of Lines in a Dieline

Most first-time designers trip up here. The three main lines are the cut line, the fold line, and the bleed line. Each one has a different job, and mixing them up gives you a box that cuts where it should fold.

Line typeHow it looksWhat it does
Cut lineSolid (red or magenta)Sets the final shape of the box after die cutting
Fold lineDashed (blue or green)Shows where the box will bend
Bleed lineOuter boundaryCarries artwork past the cut edge
Safety marginInner boundaryKeeps content safe from trimming
Glue flapShaded or marked areaShows where glue is applied
Perforation lineDash-dotCreates tear strips and easy-open features

Common Dieline Mistakes to Avoid

Even experienced designers make these. Run through the list before you send a file to your manufacturer.

  • No bleed on the artwork: leaves white edges after cutting
  • Text too close to fold lines: text gets hidden once the box is folded
  • Working in pixels: Photoshop files cannot meet die-cutting tolerances, so use vectors only
  • Wrong board thickness: if the dieline ignores the board thickness, panels will not meet flush
  • Fonts not outlined: missing fonts cause pre-press errors, so outline or package your fonts before export
  • Wrong file format: send a PDF/X-4 or a native .ai file unless your manufacturer asks for something else

Get a Dieline Made for Your Custom Boxes

Get the dieline right and the rest of the job gets easier. The box folds the way it should, the print reaches the edges, and there are no surprises when the first sheets come off the press.

At The Innovative Packaging, we create the dieline for every custom order at no extra cost, with orders from 100 units. Whether you need retail boxes, gift boxes, or packaging for your industry, our team handles the technical side so you do not have to. Request a free quote to get started.

I

Ijlal Ahmed

Founder & CEO, The Innovative Packaging · 10 years experience

Ijlal Ahmed founded The Innovative Packaging and runs its production facility in Pakistan. He is the third generation of his family in printing and packaging, a business they have been in for more than 50 years, and works directly with brands on quotes and dielines. He holds a BSc in Economics from the Lahore School of Economics.

Ijlal Ahmed on LinkedIn

Frequently Asked Questions

A dieline tells the factory where to cut, fold, and glue a box, and it shows the designer where to place the artwork. The steel cutting die is made from it, so every box in the run comes out the same.

The cut line (solid), the fold line (dashed), and the bleed line (the outer edge of the artwork). Most dielines also mark the safety margin and the glue areas.

Start with the solid cut lines, which give the outer shape of the box. Then find the dashed fold lines, which show where it bends. Glue flaps are usually shaded or hatched. Once you know those three, you can picture how the flat layout folds into a box.

Either one can. If you have a design team, they can build the dieline from a template your manufacturer provides. If not, most packaging suppliers, including The Innovative Packaging, will create it for you as part of the order.

PDF/X-4 is the preferred format because it keeps fonts, colors, and vector lines intact. Native Adobe Illustrator (.ai) files are also widely accepted. Check what your manufacturer needs before you send the file.

Neither is a good choice for building one. Photoshop works in pixels, which blur and cannot hold exact cut lines. Canva is fine for rough layout ideas, but it lacks the exact measurements and layer control a printer needs. Use vector software such as Adobe Illustrator instead.

Yes. Each size and style needs its own dieline, because the panel sizes, flap lengths, and fold positions all change. Once a dieline is final, you can reuse it across many print runs and only update the artwork.

Any packaging with folds, cuts, or assembly needs one. That includes retail boxes, gift boxes, mailer boxes, display boxes, tuck end cartons, sleeves, and the parts of rigid boxes. Simple flat labels with straight cuts usually do not.

Shop the packaging in this guide

Box by Style

We make custom packaging boxes in over 40 structural styles at The Innovative Packaging. Tuck end boxes, tray boxes, display boxes, specialty boxes, gift packaging. If there's a box style your product needs, we most likely make it. Every box ships fully custom printed to your exact dimensions and branding. Minimum order is 100 units per style, and design support is included at no extra cost.

Browse Box by Style →

Box by Industry

Browse our full range of custom packaging boxes by industry at The Innovative Packaging. We produce premium custom printed boxes for cosmetic, food, retail, gift, and personal care brands across the USA. Every box is fully custom made to your exact dimensions, branding, and product requirements with a minimum order of 100 units and free design support included.

Browse Box by Industry →

Custom Retail Boxes

Looking for high-quality custom retail packaging boxes wholesale that help your products stand out on shelves? At The Innovative Packaging, we produce fully custom retail boxes tailored to your brand identity, product dimensions, and retail environment. Whether you need packaging for cosmetics, food, paper bags, mailer boxes, or display packaging, we have a solution for every retail product in your lineup.

Browse Custom Retail Boxes →

Custom Cosmetic Boxes

Looking for premium custom cosmetic boxes wholesale that make your beauty brand stand out? At The Innovative Packaging, we produce fully custom cosmetic packaging tailored to your exact product dimensions, branding, and retail requirements. Whether you need boxes for perfume, serum, lip gloss, hair products, essential oils, or face care kits, we have a packaging solution for every product in your beauty lineup.

Browse Custom Cosmetic Boxes →

Ready to start your project?

Tell us what you need. We get back to you within a business day.

WhatsApp