What it does
Pick a shop type (General Store, Blacksmith, Weaponsmith, Armorer, Alchemist, Apothecary, Enchanter or Magic Emporium), its quality, the size of the settlement, the party's level, how much stock it has and how rare its magic items can be, and press New shop. You get a named shop with a shopkeeper (name, race, personality and a quirk to roleplay) and an inventory that fits it: each item's category, rarity, quantity in stock, base price from the rules, the shop's price after quality and location, occasional stock notes ("last one", "made to order"), and the description when you click the item.
- Prices: mundane gear uses the official SRD prices. Magic items use the Dungeon Master's Guide suggested ranges (Common 50–100 gp, Uncommon 101–500 gp, Rare 501–5,000 gp, Very Rare 5,001–50,000 gp, Legendary 50,001+ gp), with consumables like potions and scrolls at half price. Small, remote settlements charge more; big cities a little less; luxury shops a lot more.
- Magic: on Auto, rarity follows the party's level and the settlement (a hamlet won't stock legendary items). Lower rarities are much more common than higher ones.
- Restock keeps the shop and shopkeeper but sells off some items and brings in new ones, for when the party comes back a week later.
- Shop codes: the same code and settings always make the same shop, so you can prep a shop and recreate it at the table, or share it with "Copy link".
- Buying and selling: type quantities to total a purchase with a haggle discount and split it between players; the sell calculator shows what this shop pays for loot.
- Export and print: save the shop as JSON for your notes or VTT, or print a clean shop sheet.
Homebrew
Add your own items with a name, category, rarity, price, description and which kind of shop sells them. "Save to my homebrew" keeps them in your browser and mixes them into every shop of that type (untick "Include my homebrew items" to leave them out); "Add to this shop only" puts a one-off item in the current shop. Export your homebrew as a JSON file to back it up or share it with another DM, and import theirs. Homebrew items are marked so you can tell them from SRD ones.
Example
Shop code TEST01 as a Wealthy Blacksmith in a City for a level 5–10 party, medium inventory, magic on Auto (with no homebrew saved) gives The Burning Bellows, run by Lidda Brushgather, a flirtatious halfling who gives nicknames to regular customers. It stocks 16 items: two rare magic items (Glamoured Studded Leather Armor at 2,100 gp and a Mace of Smiting at 1,700 gp), then ring mail (30 gp base, 33 gp here), splint armor (200 gp base, 220 gp here), smith's tools (20 gp, 24 gp here), halberds, mauls, flails, shortswords, a slightly used pike, and chain that's made to order. Code HAMLET1 as a Poor General Store in a Hamlet for a level 1–4 party gives The Lucky Barrel, run by Kathra Ironfist, with 10 items: a Potion of Acid Resistance (uncommon, 190 gp), acid, alchemist's fire, a miner's pick, brewer's supplies and other odds and ends at about list price.
About the data source
The D&D 5e SRD API is a free, open-source project by the 5e-bits community that serves everything in the 5th Edition System Reference Document: equipment with official prices, weapons, armor, tools and over 350 magic items with their rarities and descriptions. It needs no key. This page asks for the whole item list in one request and keeps it in your browser for a month, so generating, rerolling and restocking shops never contacts the API again. Magic item prices aren't in the SRD, so they're set from the Dungeon Master's Guide suggested price ranges for each rarity.
Visit D&D 5e SRD API · API documentation · Terms of use · Every data source this site uses
D&D 5e Shop Generator FAQ
Which items are included?
All the equipment and magic items in the 5e System Reference Document (SRD 5.1): 237 mundane items and about 350 magic items. Items from other books aren't in the SRD, but you can add any of them as homebrew.
Are the magic item prices official?
The SRD doesn't price magic items. These follow the Dungeon Master's Guide suggested ranges by rarity, which many DMs use; adjust anything you like, it's your table.
Where are my homebrew items stored?
Only in this browser. Export them to keep a backup or move them to another device.