Stardew Valley Items Codes 2026: Get Free Prismatic Shard, Starfruit, And More

Stardew Valley is a wonderful game about building a peaceful farm, but sometimes you just want to skip the grind and get straight to the good stuff. This list of Stardew Valley items codes has been refreshed and verified for Stardew Valley 1.6.x, so every ID below is current and working. These codes are not traditional cheat codes you type into a console. They are clever workarounds that use the game’s item ID system: name your farmer or an animal with an item’s code in square brackets, like [74], and the matching item appears in your inventory whenever an NPC says that name. As a bonus, version 1.6.16 added built-in diagnostic chat commands such as /daysPlayed, /animalInfo, and /doesItemExist that work without enabling chat cheats, which makes testing your farm easier than ever.

Essential Stardew Valley Items Codes
| Item | Code |
|---|---|
| Prismatic Shard | [74] |
| Iridium Bar | [337] |
| Iridium Ore | [386] |
| Diamond | [72] |
| Emerald | [60] |
| Ruby | [64] |
| Amethyst | [66] |
| Jade | [70] |
| Gold Bar | [336] |
| Iron Bar | [335] |
| Copper Bar | [334] |
| Coal | [382] |
| Stone | [390] |
| Clay | [330] |
| Hardwood | [709] |
| Wood | [388] |
| Fiber | [771] |
| Sap | [92] |
| Ancient Seed | [114] |
| Ancient Fruit | [454] |
| Starfruit | [268] |
| Sweet Gem Berry | [417] |
| Rare Seed | [347] |
| Void Egg | [305] |
| Dinosaur Egg | [107] |
| Duck Egg | [442] |
| Large Egg | [174] |
| Milk | [184] |
| Large Milk | [186] |
| Truffle | [430] |
| Truffle Oil | [432] |
| Honey | [340] |
| Cheese | [424] |
| Goat Cheese | [426] |
| Mayonnaise | [306] |
| Duck Mayonnaise | [307] |
| Void Mayonnaise | [308] |
| Wine | [348] |
| Beer | [346] |
| Coffee | [395] |
| Triple Shot Espresso | [253] |
| Pumpkin | [276] |
| Melon | [254] |
| Blueberry | [258] |
| Cranberries | [282] |
| Strawberry | [400] |
| Cauliflower | [190] |
| Potato | [192] |
| Garlic | [248] |
| Corn | [270] |
| Wheat | [262] |
| Hay | [178] |
| Prismatic Jelly | [876] |
| Golden Pumpkin | [373] |
| Magic Rock Candy | [279] |
| Treasure Chest | [166] |
| Golden Walnut | [73] |
| Dinosaur Mayonnaise | [807] |
| Galaxy Sword | [4] |
| Iridium Sprinkler | [645] |
| Rabbit’s Foot | [446] |
| Battery Pack | [787] |
| Solar Panel | [231] |
| Coffee Bean | [433] |
Some old code
| Item Code | Item Name | Primary Use |
|---|---|---|
[74] | Prismatic Shard | Enchanting tools & weapons at the Forge |
[166] | Treasure Chest | Sells for 5,000g or contains rare loot |
[72] | Diamond | Valuable gift & high-selling gem |
[337] | Iridium Bar | Crafting top-tier tools & sprinklers |
[114] | Ancient Seed | Grows valuable Ancient Fruit |
[268] | Starfruit | Base for the most profitable wine |
[279] | Magic Rock Candy | Powerful buff food for mining |
[446] | Rabbit’s Foot | Universal loved gift & bundle item |
[107] | Dinosaur Egg | Donate to museum or hatch a dinosaur |
[165] | Auto-Petter | Automatically pets barn animals |
What Are Stardew Valley Item Codes?
Think of item codes as a secret catalogue for the valley. Each object, from a common Stone (ID 390) to a rare Magic Rock Candy (ID 279), has a corresponding number. These codes are built into the game’s data. Using them is like giving the game a specific order. When you name your character [166][74][72], the game reads that as a request for a Treasure Chest, a Prismatic Shard, and a Diamond.
The beauty of this system is its simplicity. You don’t need mods for the basic method, though mods like SMAPI offer more advanced command options. It’s a tool for players who want to experiment, speed up a second playthrough, or simply enjoy creative freedom without the lengthy resource gathering.
Why Use Stardew Valley Item Codes?
The primary advantage is saving time. Grinding for rare resources like Iridium Bars or Ancient Seeds can take dozens of hours. Item codes give you instant access. This is perfect for testing different farm layouts, completing the Community Centre quickly, or experimenting with late-game crafting recipes without the usual wait.
Furthermore, codes allow for greater creative expression. You can design elaborate, decorated farms using furniture IDs or host in-game events with rare gifts for multiplayer friends. For many veteran players, these codes open up a sandbox of possibilities that aren’t easily accessible in a standard playthrough.
How to Redeem Stardew Valley Item Codes
Redeeming item codes is straightforward. Here are the two most common methods, followed by a more advanced option using game commands.
- The Character Name Method. When starting a new game or editing an existing save file, you can name your farmer using up to three item IDs in brackets. For example, naming your farmer
[337][268][74]will spawn an Iridium Bar, a Starfruit, and a Prismatic Shard whenever an NPC says your name. A popular trick is to visit Gus at the saloon on a Monday, as he will greet you by name repeatedly, allowing you to collect hundreds of items quickly. - The Animal Name Exploit. This is the most flexible method. When buying an animal from Marnie, you can name it using a single item code in brackets. Every time that animal’s name is mentioned in dialogue, you receive the item. You can repeat this with multiple animals to collect a variety of resources.
- Using Debug Commands (Advanced). For players using the SMAPI mod loader, you can use console commands. After enabling chat cheats in your save file, you can type commands
/debug additem 74to add a Prismatic Shard directly to your inventory. The command/debug iq ALL_ITEMSwill open a menu of every item in the game for you to click and spawn.

Also check: How to Get Hay Out of Silo in Stardew Valley.
Best Practices and Common Mistakes
To ensure a smooth experience, follow these guidelines. Always use the correct format: square brackets [ ] are mandatory. You can only use a maximum of three codes in a character name at once. Remember, items only spawn when your name or your animal’s name is spoken in dialogue, so be patient.
A common mistake is using an incorrect item ID. One wrong digit can give you a completely different item. Always double-check your code from a reliable source. Finally, before making any major changes, especially when editing save files to enable debug commands, create a backup of your save game. This protects your progress from any accidental corruption.
FAQs: Stardew Valley Items Codes
Are Stardew Valley item codes considered cheating?
Using item codes certainly bypasses the intended progression. For a first-time player, it can diminish the sense of achievement. However, in a single-player game like Stardew Valley, it ultimately comes down to personal preference. Many experienced players use codes to experiment with new builds or decorate their farms without the grind.
Do item codes work on Nintendo Switch, PlayStation, or Xbox?
The primary naming exploit historically worked on all platforms. However, with recent updates, many players report that the exploit has been patched out on consoles. The methods remain consistently functional on PC and Mac versions of the game.
Can I use more than three Stardew Valley item codes at once?
No, the character name field is limited to three item IDs enclosed in brackets. If you try to add more, the game will not recognise the extra codes. To spawn more than three different items, you need to use the animal naming method or debug commands.
What is the easiest way to spawn items repeatedly?
The animal name exploit is the most repeatable method. Buy a chicken from Marnie, name it with your desired code, and then speak to an NPC like Gus or Pierre. Each time they mention the chicken’s name, you’ll get the item. You can do this with multiple animals for a steady supply.
Do Stardew Valley item codes work in multiplayer?
Yes, but with caution. If you are the host, you can use the character or animal naming tricks. However, using them can disrupt the balance for other players in your world. It’s considered good etiquette to discuss it with your friends before spawning items in a shared game.
Get More Game Codes:
- Resident Evil Village Cheats
- Devil Hunter Codes
- StarCraft Cheats
- Spear Fishing Codes
- Tank Force Codes
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Codes You May Like
Blood Strike Codes (October 2026): Working Redeem Codes & How to Use Them
Pokemon UNITE Codes (October 2026): Working Gift Codes & How to Redeem
Watcher of Realms Codes (October 2026): How to Redeem & Where to Find Them
Brawlhalla Codes (October 2026): Skins, Titles & How to Redeem
Lords Mobile Codes (October 2026): Working Redeem Codes & How to Use Them
BreakDoor Codes (October 2026)- All working Codes
Berry Avenue Codes: Get Free Bangs, Cute Face, Denim Shorts, And More
Four Elements Trainer Cheats 2026: Sets Free Your money, Respect Level, And More