Quick heads-up before you search any further: Stardew Valley doesn’t have promo codes or a redeem system. No gift boxes, no code-center, nothing like that. What it does have is something arguably more interesting — a built-in item spawning trick that’s been in the game since launch and works on almost every platform without mods. ConcernedApe knows about it and has never patched it out, so it’s less of an exploit and more of an unofficial feature at this point.
The trick works through the game’s name system. The engine reads numeric item IDs out of any name that contains them in square brackets — your farmer’s name, an animal’s name — and hands you those items whenever the game references that name in dialogue. That’s it. No console, no save editing, no SMAPI required (though mods do make this easier if you’re on PC).
Here’s everything you need to know.
Stardew Valley Item Codes: The Most Useful Ones
These are verified against the official Stardew Valley wiki and still work in v1.6.
| Item | Code | Why It’s Worth Getting |
|---|---|---|
| Prismatic Shard | [74] | Unlocks the Galaxy Sword; loved gift for nearly every villager |
| Iridium Bar | [337] | Tool upgrades skip straight to iridium — huge early-game shortcut |
| Ancient Seed | [114] | One of the hardest items to find naturally; plants the most profitable crop |
| Diamond | [72] | Universal loved gift, useful for relationship grinding |
| Rabbit’s Foot | [446] | Affects the harem ending; also a decent gift |
| Iridium Sprinkler | [645] | Covers a 5×5 crop area — the best sprinkler in the game |
| Legend Fish | [163] | Highest-value fish, sells for 5,000g+ at iridium quality |
| Treasure Chest | [166] | Contains random high-value loot |
| Stardrop | [434] | Permanently raises your max energy |
| Ancient Fruit (seed) | [454] | Skip the RNG on the Traveling Cart; plant immediately in your greenhouse |
| Void Egg | [305] | Needed for the Void Chicken, which is otherwise annoying to obtain |
| Omni Geode | [749] | Process these for minerals, artifacts, and resources |
A few notes on the 1.6 update: the game internally moved to “qualified” IDs like (O)74, but the old plain numbers still work for standard objects using the naming trick. The one exception is weapons — if you want to spawn the Galaxy Sword directly, the vanilla naming trick won’t work for it (weapons use a different prefix). Stick to the object IDs above and you’ll be fine.
How to Use Stardew Valley Item Codes
There are two methods: one you set up at character creation, one you can repeat as often as you want.
Method 1: Farmer Name (Set It Once)
This is the simplest method but has a catch — your farmer’s name is permanent at the start. You can change it later via the Shrine of Illusions in the Wizard’s basement, but that costs 500g and requires befriending the Wizard first.
- Start a new save (or wait until you can access the Shrine of Illusions to rename)
- In the character name field, enter up to three item codes in square brackets — for example:
[337][74][446] - Names must be at least five characters long, so if your codes come up short, add letters outside the brackets to pad it
- Load into the game and talk to a villager who addresses you by name — Gus at the Stardrop Saloon is the most reliable choice
- Every time an NPC says your name, those items drop into your inventory
One thing worth knowing: your name might get read aloud in some memorable moments — the wedding ceremony, for instance. So [337][74]Farmer is a lot less awkward than a bracket-only string.
Method 2: Animal Name (Repeatable)
This one costs a little gold each time but you can do it as often as you want, which makes it more practical for ongoing use.
- Head to Marnie’s Ranch (open most days, closed Mondays and some Tuesdays)
- Buy any animal — a chicken is cheapest at 800g
- When asked to name it, enter up to three bracketed item codes:
[74][337][114] - The items land in your inventory the moment you confirm the name
- If you want to run it again, buy another animal (or sell the first one and buy a new one)
You don’t need to wait for dialogue or talk to anyone — the items appear immediately on purchase confirmation.
Stardew Valley Item Codes: Platform Notes
The naming trick works on PC, iOS, and Android without any issues. On Nintendo Switch, the trick does not work — the input system handles brackets differently and the game won’t parse the IDs. On PS4 and Xbox, results are mixed; some players have reported it working, others haven’t. If you’re on console and want reliable item spawning, mods aren’t an option anyway, so you may just be out of luck.
If You’re on PC: The Mod Route
If you want more flexibility than the naming trick allows, SMAPI + CJB Item Spawner is the standard setup. It gives you a full in-game menu to spawn any item by name, at any quality, without any of the naming workarounds. You can find SMAPI at smapi.io and CJB Item Spawner on Nexus Mods.
The SMAPI console also accepts player_add [ID] commands — player_add 74 drops a Prismatic Shard directly, for example.
Where to Find More Stardew Valley Item Codes
The full item ID list lives on the official Stardew Valley wiki at stardewvalleywiki.com — search any item name and its ID is listed on the item’s page. It’s the most reliable and up-to-date source, especially since 1.6 added a fair amount of new content with its own IDs.
For mod-specific IDs (if you’re running expansions like Stardew Valley Expanded), check the respective mod’s wiki page, since custom content uses its own ID namespace
