APIs

D&D 5e Shop Generator

Your players walk into a shop you didn't plan. Generate the whole thing in a second: shopkeeper, stock, prices and magic items that fit the town and the party's level, with your homebrew mixed in.

Buying

Set a quantity in the Buy column.

Subtotal: 0 gp

Total: 0 gp

Selling to this shop

This shop buys at 50%: 50 gp

Better quality shops pay a little more. Magic items are often hard to sell at all; that's up to the DM.

Homebrew & custom items

    ⚠ This tool does not work offline. It gets its data live from D&D 5e SRD API.

    Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

    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.

    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.