Stardew Valley Item Codes – Full ID List & How to Use

If you’ve ever dreamed of transforming your humble Stardew Valley farm into a flourishing paradise overnight, there’s a secret only seasoned players know: item codes. A whisper of digital alchemy that turns text into treasure, item codes give you instant access to anything from a Prismatic Shard to a Dinosaur Egg. But the real magic? Knowing exactly how and when to use them without disrupting the natural charm of your farming journey.
This guide unpacks the full catalog of item codes, teaches you how to use them like a pro, and offers a refined perspective on balancing shortcuts with discovery. Whether you're fine-tuning your inventory or experimenting with late-game luxuries, this is your blueprint to mastering Stardew Valley item codes in 2025.
Table of contents
How Item Codes Work in Stardew Valley

Item codes in Stardew Valley are numerical identifiers attached to every object in the game—from rare minerals to humble crops. When used correctly, they act as a bypass to traditional farming, fishing, and mining mechanics. The trick lies in inserting these codes into your character or animal names at specific points in the game.
This isn't a developer console cheat. It’s a clever workaround built into the name system that leverages in-game dialogues and character interactions to deliver you the items—disguised as NPC gifts. And if you’re thinking this is a gimmick, you’re not entirely wrong. It’s a stylish one.
What Are Items in Stardew Valley?
Items in Stardew Valley cover a vast spectrum of tools, resources, food, weapons, decorations, and miscellaneous curiosities that fuel every inch of the game’s life. From the common Stone ([390]) and Fiber ([771]) to luxurious ingredients like Truffle Oil ([432]) and the elusive Magic Rock Candy ([279]), every item serves a purpose.
Some are used in bundles at the Community Center. Others are needed for crafting, cooking, or upgrading tools. Mastering these items is as central to the game as watering crops. Knowing how to spawn items can transform your approach to these mechanics, especially during the grind-heavy middle chapters of your playthrough.
Where to Use Item Codes

There are two main ways to use item codes in Stardew Valley:
1. Character Naming Trick
When you begin a new save, you're prompted to name your character. Instead of something charming like "Farmer Joe," you can enter up to three item IDs inside square brackets. Each code will spawn the respective item every time your name appears in dialogue.
Example: Naming your character [166][74][72] grants you a Treasure Chest, a Prismatic Shard, and a Diamond whenever an NPC references your name.
This method is permanent—once the name is set, it can’t be changed. So choose wisely.
2. Animal Name Exploit
The second, and more repeatable, method involves naming animals. After building a barn or coop, you can buy animals from Marnie. When she asks you to name your new companion, insert the item ID in brackets. Each time an NPC refers to that animal, you'll get the item in your inventory.
Example: Name your chicken [114] to receive Ancient Seeds when its name appears.
The advantage here is flexibility. You can rename multiple animals to different item codes, or even the same one repeatedly.
Best Stardew Valley Item Codes for 2025
Stardew Valley is filled with hundreds of unique items, but a few consistently stand out due to their value, utility, or rarity. Here’s a handpicked list of the most practical and popular item codes to know.
| Item | Code |
|---|---|
| Prismatic Shard | [74] |
| Treasure Chest | [166] |
| Diamond | [72] |
| Iridium Bar | [337] |
| Ancient Seeds | [114] |
| Starfruit | [268] |
| Coffee | [395] |
| Galaxy Sword | [4] |
| Rabbit’s Foot | [446] |
| Magic Rock Candy | [279] |
| Dinosaur Egg | [107] |
| Qi Gem | [858] |
| Enchanted Pants | [801] |
| Ostrich Egg | [289] |
| Auto-Petter | [165] |
These items aren’t just high-value—they’re either difficult to obtain or critical for high-efficiency farming and combat. Use them to expand your greenhouse, gift villagers, upgrade tools, or fuel deep mine dives.
Full Stardew Valley Item Code Categories
If you’re aiming for variety, knowing the types of items and how they're grouped is helpful. Here's how most item codes break down by category:
Crop and Seed Codes
Parsnip Seeds: [472]
Strawberry Seeds: [745]
Melon Seeds: [479]
Ancient Seeds: [114]
Resource and Mineral Codes
Stone: [390]
Iron Ore: [380]
Gold Ore: [384]
Iridium Ore: [386]
Coal: [382]
Food and Artisan Goods
Coffee: [395]
Cheese: [424]
Truffle Oil: [432]
Wine: [348]
Salad: [196]
Weapons and Tools
Galaxy Sword: [4]
Obsidian Edge: [9]
Lava Katana: [50]
Slingshot: [15]
Decor and Furniture
Crystal Chair: [1614]
Stardew Hero Trophy: [1630]
Singing Stone: [809]
How to Spawn Items After the 1.6 Update
With the release of the Stardew Valley 1.6 update, the item spawning methods remain largely the same, but there are a few quality-of-life changes and new items introduced that deserve attention. The new update added a host of items—more furniture, more seeds, more cooking recipes—that are already assigned their respective item IDs.
Players who’ve explored every corner of the pre-1.6 world will now find fresh content to unlock and experiment with. The best part? These new additions can also be spawned with the same bracket-naming trick, making the 1.6 update fertile ground for players who enjoy creative freedom through item spawning.
Some notable 1.6 update items and their codes:
Radioactive Bar: [910]
Mushroom Wine: [920]
Gold Star Tea Sapling: [935]
Fairy Dust: [872]
If you’re just discovering the game or returning after a break, now is the perfect time to integrate new spawn items into your routine.
Is Using Item Codes Considered Cheating?
Let’s be honest—this is a sandbox game wrapped in cozy farming mechanics. The joy of Stardew Valley isn’t bound to rigid rules. That said, using item codes can change the way you interact with the world. If you're a first-time player, it might rob you of some delightful surprises. But if you're a returning player looking to explore new strategies, item codes can unlock creative possibilities.
Here’s a quick breakdown:
Use Item Codes If:
You’ve already played through the game and want to experiment
You’re speedrunning or testing specific builds
You want to build a showcase farm without grinding
Avoid Item Codes If:
You're new and want the full experience
You're participating in a shared multiplayer world
It’s about intent. Are you using codes to explore, or to escape the grind? There’s no wrong answer—only different playstyles.
Common Mistakes and Fixes
Even experienced players make slip-ups. Here are a few to avoid:
Wrong Format: Always use square brackets
[123], not parentheses or curly braces.Too Many Codes: You can use a maximum of three codes at a time.
No NPC Interaction: Items only spawn when your name or animal's name is mentioned. Don’t expect instant results.
Incorrect ID: Double-check the item ID if nothing shows up. One digit off can mean a completely different item—or nothing at all.
Pro tip: Keep a list of your most-used codes in a text file for quick reference. It’s a small detail that saves time.
Final Thoughts
There’s something satisfyingly rogue about slipping a few brackets into a name and watching a rare artifact pop into your bag. It doesn’t break the game. It bends it—just enough to offer a new perspective.
Use these item codes as tools, not crutches. Whether you’re building a pristine orchard with auto-petters and iridium sprinklers or farming coffee beans like you own the valley’s first espresso bar, remember: it’s your story. Your farm. Your rules.
And if a dinosaur egg helps you write a more interesting chapter? So be it.