What importing a compendium means and why you'd do it
A compendium in Foundry Virtual Tabletop is a collection of game content — spells, items, monsters, character sheets, or entire rule sets — bundled into a single file that you can load into your game world. Importing means taking that file and adding its contents to your Foundry installation so you and your players can use them.
You import a compendium when someone shares one with you, when you download one from a community site, or when you want to move content between different Foundry worlds. The compendium file itself (usually a .json or .db file) sits outside your world until you bring it in.
The process is straightforward: you place the compendium file in the correct folder, restart Foundry, and the contents become available in your game. This guide walks you through each step so the compendium shows up where you expect it.
Key Takeaways
- Compendium files go into a specific folder on your computer — usually the Data folder inside your Foundry installation directory.
- You need to know the difference between a .json compendium (which you import once) and a .db compendium (which Foundry reads directly).
- After placing the file in the right location, you must restart Foundry completely for it to recognize the new compendium.
- Once imported, the compendium appears in the Compendium sidebar on the right side of your screen, organized by type.
Locate your Foundry data folder
Before you can import anything, you need to find where Foundry stores its files on your computer. This location varies depending on your operating system.
On Windows: Open File Explorer and paste this path into the address bar: %appdata%\FoundryVTT. This takes you directly to your Foundry data folder. If that doesn't work, navigate manually to C:\Users\[YourUsername]\AppData\Roaming\FoundryVTT.
On Mac: Open Finder, press Command+Shift+G to open "Go to Folder", then paste ~/Library/Application Support/FoundryVTT.
On Linux: Open your file manager and navigate to ~/.local/share/FoundryVTT.
Once you're in the FoundryVTT folder, look for a folder named Data. This is where all your worlds, modules, and compendiums live. Open the Data folder and continue to the next step.
Place the compendium file in the packs folder
Inside your Data folder, find or create a folder called packs. This is where Foundry looks for compendium files. If the packs folder doesn't exist, create it yourself — right-click in the Data folder, select "New Folder", and name it packs.
Now take the compendium file you want to import (it will be named something like spells.db or monsters.json) and move or copy it into the packs folder. The file name matters — Foundry uses it to identify the compendium, so keep the original name intact.
If you're importing a .json file, you may need to convert it to a .db file first. Some community tools can do this, but many modern compendiums are already in .db format. Check the instructions that came with the compendium to see if conversion is needed.
Restart Foundry to load the compendium
Close Foundry completely — not just the browser tab, but the entire application. On Windows, look for the Foundry icon in your system tray (bottom right of the screen) and close it from there. On Mac, quit the application normally. Wait a few seconds to make sure it's fully closed.
Reopen Foundry. When it starts up, it scans the packs folder and loads any compendiums it finds. This process happens automatically in the background — you won't see a progress bar or confirmation message, but the compendium will be there when Foundry finishes loading.
If Foundry was already running when you added the file, restarting is essential. Foundry does not check for new compendiums while it's open, so skipping this step is the most common reason an imported compendium doesn't appear.
Find your imported compendium in the sidebar
Once Foundry has restarted and fully loaded, look at the right side of your screen. You should see a sidebar with several tabs — one of them is labeled "Compendium". Click that tab to open the compendium panel.
Your newly imported compendium will appear here, usually listed under a category that matches its content type (Spells, Items, Actors, etc.). The compendium name comes from the file name you placed in the packs folder. If you imported spells.db, you'll see something like "spells" in the list.
Click on the compendium name to expand it and see what's inside. You can now drag items, spells, or actors from the compendium into your world, or right-click them to open and view their details.
Troubleshooting: compendium doesn't appear
If you've restarted Foundry and the compendium still isn't showing up, check these common issues. First, verify that the file is actually in the Data/packs folder — not in a subfolder, not on your desktop, but directly in packs. Open the folder in your file manager and confirm the file is there.
Second, make sure the file name hasn't been changed or corrupted. If you downloaded it and your browser added a number to the end (like spells (1).db), rename it back to the original. Some systems also add file extensions by mistake — check that the file ends in .db or .json, not .db.db or .json.json.
Third, check your Foundry console for error messages. In Foundry, press F12 to open the developer console and look for any red error text related to your compendium. If you see an error, it usually tells you what went wrong — a corrupted file, a naming conflict, or a format issue.
If the file is in the right place, named correctly, and Foundry has been restarted, try moving the compendium file out of the packs folder, restarting Foundry again, then moving it back and restarting once more. This forces Foundry to re-scan the folder.
Using content from your imported compendium
Once the compendium appears in your sidebar, you can use its contents in several ways. The simplest is to drag an item directly from the compendium into your world — open the compendium, find what you want, and drag it onto the canvas or into an actor sheet.
You can also right-click an item in the compendium to open it in a preview window, where you can read all its details before deciding whether to use it. Some compendiums are meant to be browsed this way, with the understanding that you'll copy what you need into your world manually.
If you're sharing a world with other players, they will see the compendium in their sidebar too, as long as they have access to the world. The compendium file itself doesn't need to be shared separately — Foundry handles that automatically.
Frequently Asked Questions
What's the difference between a .db and .json compendium file?
.db files are Foundry's native format and work immediately once placed in the packs folder. .json files are text-based and older — some need to be converted to .db format before Foundry can read them. Check the compendium's documentation to see which format it uses and whether conversion is needed.
Can I import a compendium into a world that's already running?
No. You must close Foundry completely, place the compendium file in the packs folder, and restart. Foundry only scans for new compendiums when it starts up, not while it's running.
Will importing a compendium affect my existing worlds or characters?
No. A compendium is a library that sits alongside your worlds. Importing one doesn't change anything in your existing games — it just makes new content available for you to use if you choose to.
What if two compendiums have the same name?
Foundry will show both, but you may see duplicate entries or confusion about which is which. Rename one of the files before placing it in the packs folder so each compendium has a unique name.
Can I delete a compendium after importing it?
Yes. Simply delete the file from your Data/packs folder and restart Foundry. The compendium will disappear from your sidebar. Any content you've already copied from the compendium into your world will remain — deleting the compendium file doesn't remove content you've already used.