Board Game Shelf Calculator

Pack your collection — BGG sync, smart packing, multiple shelves

❓ Help & Guide
📦 My Games
🗄️ Shelves
📊 Packing Results
🚛 Moving House
✏️ Layout Editor
📋 My Layout

🌐 Import from BoardGameGeek

🔗 Live API
📄 CSV File
📋 XML File

Logs in to BGG and fetches your owned games. Password only needed for private collections. If this fails, use the CSV or XML method.

Advanced: custom BGG proxy
The public proxy is often rate-limited or blocked. Deploy your own free Cloudflare Worker (see proxy/bgg-cors-worker.js) and paste its URL here — it's saved on this device and used for all BGG calls. Leave blank to use the default public proxy.
How to export your BGG collection as CSV:
1. Go to boardgamegeek.com and log in
2. Click your username → Collection
3. Click Export (top-right of the page) → Export Collection to CSV
4. Save the file, then drop it below
📄

Drop BGG CSV file here, or click to browse

File looks like: your-collection.csv
How to save your BGG collection as XML:
1. Enter your BGG username in the Live API tab above, then open this URL in your browser:
https://boardgamegeek.com/xmlapi2/collection?username=YOUR_USERNAME&own=1
2. Wait for it to load fully (may say "please try again" — refresh until you see game data)
3. Ctrl+S → save as type Webpage, XML only or XML file
4. Drop the saved file below — or just drag it straight from your Downloads folder
📋

Drop BGG XML file here, or click to browse

File looks like: collection.xml — or a BGG XML you saved earlier

🔍 Search & Add from BGG

➕ Add Game Manually

Units:

🎮 Game Collection (0 games)

☁ Cloud sync Use the same code on your PC and phone to share your games, shelves & layouts. ⚠ Anyone who knows the code can read/overwrite it — pick something long and unique (it's like a password).
# 🖼 Name Width Depth Height Qty Dims In Box Actions
📭

No games yet — sync from BGG or add manually

📐 Add Shelf / Storage Box

Units:

💡 Width / Depth / Height = outer dimensions  ·  Wall = board thickness subtracted from each side (5 mm default for cardboard, 0 for IKEA Kallax which uses inner dims)

🗄️ My Shelves (0)

🗄️

No shelves yet — add one above

⚡ Common Shelf Presets

⚙️ Packing Options

Orientation Mode
🤖 Auto Best-Fit
📚 Upright (Spine Out)
📦 Flat Stacked
🎯

Configure your games and shelves, then click Calculate Packing

🚛 Moving House — Pack Collection Into Boxes

Define your removal boxes below, then click Pack Everything to find the most efficient way to move your entire collection.

Units:
Preparing…

✏️ Layout Editor

Build a layout manually or edit a saved one. Select a container to view its 3D packing and add/remove games.

✏️

Select a layout source above to start

📋

No layout saved yet.

Pack your collection (📊 Packing Results or 🚛 Moving House) then click 💾 Save as Layout.