Packing Slip Generator
Operator: Abdulla Al Fahad. How tools are built and checked
A parcel needs a sheet in the box that says what is inside and where it goes. If your orders already sit in a CSV export from a shop, a marketplace or a spreadsheet, you can make those sheets directly: this tool reads the file, groups the rows into orders, and writes one packing slip per order into a single PDF.
A slip shows your logo and return address, the order number with an optional barcode a packer can scan, the ship-to block, a table of SKU, item and quantity, a total, and a notes box. It has no prices, which is what you want when the parcel goes to a gift recipient.
Key features
- Rows grouped by order ID into one slip per order, in one PDF
- Automatic column matching with a correction table; paste rows instead of uploading a file
- 4 x 6 inch label, A4 and US Letter; long orders continue on further pages
- Code 128 barcode of the order ID as vector bars
- Logo, return address, date, a notes box and a message under it on every slip
- Warnings for different addresses within an order, bad quantities and unprintable characters
Columns, grouping rules, paper sizes and how long orders paginate
The file is a CSV, TSV or XLSX with one row per ordered item. Columns are matched by header name using common spellings (order_id, Order Number, Shipping Address1, zip, Lineitem sku, quantity and so on), and a table of selectors lets you correct any guess. Only an order ID column and a column for the item name or SKU are required. Rows that share an order ID become one slip, in the order each ID first appears.
Ship-to details are taken from the first row of each order that has a value, field by field. If a later row of the same order has a different value for the name or any address line, the tool keeps the first and reports the order, so a data-entry slip is visible before it is printed. City, state and postal code share one line. A blank quantity means 1; a quantity that is not a positive number is printed as 1 and reported. Rows without an order ID are skipped and counted; orders with no item rows get no slip.
Paper is a 4 x 6 inch label (288 by 432 points, compact type), A4 or US Letter. An order with many items continues onto further pages with a 'continued' header and the table header repeated, and the pages are numbered 'Page 1 of 2'. Long item names wrap inside their column and a word longer than the column is broken by characters. A run handles up to 20,000 rows, 1,000 orders and 400 item rows per order.
The barcode is Code 128 of the order ID, drawn as vector bars (1.1 points per module on A4 and Letter, 0.9 on the label, narrowed to fit) on the right under the date. Code 128 accepts printable ASCII up to 80 characters; an ID with other characters gets no barcode and is listed. The text uses the standard Helvetica fonts, so letters outside the Latin set are swapped for plain letters or a question mark, and the result says which. A logo can be a PNG, JPG or WEBP of up to 5 MB, scaled to 600 pixels on its long side. Title, return address, footer message, paper and the two checkboxes are remembered in this browser; the logo and the date are not.
How it works
The table is read with the same reader as the other CSV tools here, then grouped in a single pass. Each order is laid out by a function that works in points from the top of the page and uses the real Helvetica widths to wrap text, so the preview and the PDF agree.
The preview is a real build of one order, drawn by the PDF viewer engine, so you see the exact slip that will be printed. The full run builds one order at a time, yields to the browser every ten orders so the page stays responsive, and can be cancelled.
Typical uses
- Printing the day's Etsy or Shopify order slips in one PDF instead of one by one
- Making 4 x 6 slips to slip into a sleeve next to a courier label
- Producing slips for a school fundraiser's pre-orders from a spreadsheet
- Generating slips for wholesale orders where one order has dozens of lines
- Providing a scannable barcode so a warehouse worker can confirm the right box
Building one
- Drop the orders file, or click Load sample orders to see the format.
- Check the column choices; the order ID and item column are required.
- Choose the paper, title, date text and whether to show a barcode and SKU column.
- Type the return address, add a logo, and a message for the foot of every slip.
- Flip through the preview of several orders, especially one with many items.
- Press Build and print the downloaded PDF.
Example
Three rows covering two orders in a CSV export
order_id,ship_name,address1,city,state,zip,sku,item_name,qty
SO-10451,Maria Gonzalez,48 Alder Street,Portland,OR,97205,MUG-BLU-12,Stoneware mug,2
SO-10451,Maria Gonzalez,48 Alder Street,Portland,OR,97205,TEA-EG-100,Earl Grey 100 g,1
SO-10452,Tom Hargreaves,7 Mill Lane,Leeds,West Yorkshire,LS11 5DQ,TOTE-NAT,Canvas tote,3PDF result on A4
2 slips, 2 pages
SO-10451: ship-to Maria Gonzalez, Portland, OR 97205; MUG-BLU-12 x2, TEA-EG-100 x1; '2 lines, 3 units'; barcode of SO-10451
SO-10452: ship-to Tom Hargreaves, Leeds, West Yorkshire LS11 5DQ; TOTE-NAT x3; '1 line, 3 units'Tips for best results
- Sort your export by order ID before loading it if you want the PDF to follow that order; slips come out in the order IDs first appear.
- Leave the date box blank for slips that go out later; it prints only what you type there.
- Use the 4 x 6 size only if your printer or label stock takes it. On A4 you can print two slips per sheet by using your printer's two-up option.
- A short message such as returns instructions belongs in the footer message field, which prints on every slip under the notes.
Things to check before you rely on it
There are no prices or totals in money, on purpose. This is not an invoice.
Only the first row of each order supplies the address; conflicts are reported, not merged.
The barcode encodes the order ID as written in the file, including case.
A very long item name can take several lines; a 400-line order will run to many pages.
Common errors and how to fix them
- "Choose which column holds the order ID."
- The headers were not recognised. Pick the column in the Columns table; without an order ID rows cannot be grouped.
- "Order X has different values for ... on different rows"
- Rows of one order disagree about the name or address. The first row was used; fix the export or correct the file.
- "No barcode for order ..."
- The ID has characters outside plain ASCII or is over 80 characters. Use a plain-ASCII order number if the packer scans slips.
- "This file has N rows; the limit is 20,000"
- Split the export, for example by date, and run each part.
Best practices
- Look at the sample orders once to see which columns the tool expects, and rename your own headers to match if you export often.
- Print one slip on plain paper and scan its barcode with your scanner before printing the batch.
How rows become orders
A marketplace export repeats the shipping address on every line of an order, while a spreadsheet kept by hand might only fill it in on the first line. Taking the first non-empty value of each field per order handles both. The cost is that a real difference between lines is hidden unless you read the warnings, so the tool reports every order whose name or address changes down the rows.
Frequently asked questions
Can I print slips for only some orders?
Filter the file to those orders first. The tool prints every order it finds in the file.
Does the barcode scan?
It is a standard Code 128 with a quiet zone. Test one with your scanner before printing the batch, and keep the bars at 100 percent scale when printing.