Roll Shop Inventory for Dungeon Masters D&D Shop Generator

Need a shop stocked right now? This D&D 5e shop generator rolls a believable inventory for any store, from the village blacksmith to a magic shop in the capital. Pick the merchant type and town size and get items with base and shop prices, ready to read out at the table. It draws from over 2,600 items across the 2024 rules, the 5.1 SRD and third-party books.

Merchant Type
Town Size
Level Range
—
Sources

All active = no restriction

How the D&D 5e shop generator works

This shop generator (some call it a merchant generator) stocks a store the way a Dungeon Master needs it: instantly, with prices, ready to read out. Pick a merchant type, set the town size, choose a level range, and it rolls a believable inventory. Every magic item comes with a base value and the shop price your players pay. No table-flipping, no spreadsheets, no signup.

Shop prices and markup explained

Each item carries a base value in gold pieces. The generator applies a markup per merchant type to produce the shop price, the number you quote across the counter. That is why the same potion costs more in a dedicated shop than at its base value: the markup reflects who is selling it. Base and shop price are shown side by side, so you can haggle on the fly or let the party try to talk the merchant down. Third-party books list no prices, so their items show the guide value from the SRD 5.2.1 rarity table (Common 100 gp up to Legendary 200,000 gp, consumables at half), marked with ≈.

MerchantStockMarkup
Blacksmithweapons, magic weapons, ammunition+10 %
Armorsmitharmor and shields, mundane and magic+10 %
Apothecarypotions and poisons+20 %
General Storeadventuring gear and toolsbase price
Magic Shopwondrous items, rings, staffs, wands, rods, scrolls+50 %

Stock is themed to the shop, so a blacksmith never hands you a spell scroll.

How many items per town size

Settlement size controls how deep the shelves are, so a backwater hamlet feels different from a trade capital:

Town sizeItems in stockFeel
Village3A single trader with a thin selection
Town6An established shop with real choice
Metropolis12A well-stocked emporium for high-level parties

How the level range limits rarity

The generator averages the two ends of your level range. Mundane goods are always on the shelf; the average decides how far up the rarity ladder the magic items reach: up to uncommon below level 5, up to rare from 5, up to very rare from 11 and up to legendary from 17.

Which sourcebooks are included

The catalogue spans over 2,600 items, and you can toggle each source on or off before you roll. Mix official and third-party books freely, or lock it to exactly what your table allows:

  • SRD 5.1, the classic 2014 System Reference Document
  • SRD 5.2 (2024), the items from the updated 2024 rules
  • Vault of Magic (Kobold Press)
  • Level Up: Advanced 5e (EN Publishing)
  • Tome of Heroes (Kobold Press)
  • Critical Role: Tal'Dorei Campaign Setting

Want loot for a defeated monster instead of a shop? Use the D&D 5e loot generator for hoards and individual treasure by CR. To understand how rewards scale, see treasure by challenge rating and magic item rarity by level. Every item with its price is listed in the magic item price list.

Frequently Asked Questions

How does the D&D 5e shop generator work?

Pick a merchant type and town size and the generator rolls a randomized stock of items for that shop, each with a base price and a shop price. Set a level range to control how powerful the goods are, and optionally restrict which sourcebooks the items come from.

How are shop prices and markup calculated?

Every magic item has a base value in gold. Third-party books list no prices, so their items get the guide value from the SRD 5.2.1 rarity table, marked with ≈. Blacksmith and Armorsmith add 10 %, the Apothecary 20 % and the Magic Shop 50 %. The General Store sells at base value.

Does it support the 2024 rules and third-party books?

Yes. The catalogue spans over 2,600 items: the 5.1 SRD, the 5.2 SRD (2024 rules), plus third-party sources including Vault of Magic, Level Up: Advanced 5e, Tome of Heroes and Critical Role. You can toggle any source on or off before rolling.

How many items does each town size stock?

A Village stocks 3 items, a Town stocks 6 and a Metropolis stocks 12.