Ok, look, we've all been there - you blow up your farm and lose a precious machine, or you fall in the mines and lose your iridium hoe. Thankfully, with these Stardew Valley item codes, you can replace your accidentally lost produce without modding your game. Is it cheating? Technically, but ConcernedApe never patched it out of the game, so we're alright with it.
Perhaps it was a rare Stardew Valley fish you lost that you meant as a gift for a Stardew Valley character - our guides can help you find a replacement for it.
Here's everything you need to know about Stardew Valley item codes:
How do I use Stardew Valley item codes?
You can use item codes in Stardew Valley in a couple of different ways. Neither requires mods or any downloads, and given you can't mod the game on Switch, these codes are super handy.
The first method is to buy any animal from Marnie. You then name it with the item code of the thing you wish to spawn. For example, if you purchase a chicken and then name it [Broccoli], a broccoli item spawns in your inventory. This only works once, so make sure you choose something good. This can get tedious if you want lots of items, but if you just want one obsidian to give to Sebastian, well, go ahead.
Some of the item codes are too long to do this with, so you may need to use the second method involving Stardew Valley's Gus. For this, all you need to do is name your character with the corresponding item code, or more than one if you can fit it. You can go to the Wizard's basement and change your character's name with the golden statue in his back room as much as you want, so if you suddenly really need a hot pepper and a crab, you can easily get one.
Once you name yourself something fancy like [Raisins][Goby], head to the Saloon and talk to Gus. He's the most reliable, as he says your name whenever you talk to him, but really, any character that calls you by name can spawn the items into your inventory.
You can use these item codes on Switch, mobile, and every other platform. It does not change your game files or add any outside software.
All Stardew Valley item codes
Book item codes
These are all the skill books available in Stardew Valley.
| Code | Item |
| [Book_AnimalCatalogue] |
Animal Catalogue |
| [Book_Artifact] | Treasure Appraisal Guide |
| [Book_Bombs] | Dwarvish Safety Manual |
| [Book_Crabbing] | The Art O'Crabbing |
| [Book_Defense] | Jack Be Nimble, Jack Be Thick |
| [Book_Diamonds] | The Diamond Hunter |
| [Book_Friendship] | Friendship 101 |
| [Book_Grass] | Ol' Slitherlegs |
| [Book_Horse] | Horse: The Book |
| [Book_Marlon] | Mapping Cave Systems |
| [Book_Mystery] | Book of Mysteries |
| [Book_PriceCatalogue] | Price Catalogue |
| [Book_QueenOfSauce] | Queen of Sauce Cookbook |
| [Book_Roe] | Jewels of the Sea |
| [Book_Speed] | Way of the Wind pt. 1 |
| [Book_Speed2] | Way of the Wind pt. 2 |
| [Book_Trash] | The Alleyway Buffet |
| [Book_Void] | Monster Compendium |
| [Book_WildSeeds] | Raccoon Journal |
| [Book_Woodcutting] | Woody's Secret |
| [PurpleBook] | Book of Stars |
| [SkillBook_0] | Stardew Valley Almanac |
| [SkillBook_1] | Bait and Bobber |
| [SkillBook_2] | Woodcutter's Weekly |
| [SkillBook_3] | Mining Monthly |
| [SkillBook_4] | Combat Quarterly |
Crop item codes
Here are the codes for seeds, grown crops, and produce introduced in 1.6.
| Code | Item |
| [Broccoli] |
Broccoli |
| [BroccoliSeeds] |
Broccoli Seeds |
| [Carrot] |
Carrot |
| [CarrotSeeds] |
Carrot Seeds |
| [DriedFruit] |
Dried Fruit |
| [DriedMushrooms] | Dried Mushrooms |
| [MixedFlowerSeeds] |
Mixed Flower Seeds |
| [MysticTreeSeed] | Mystic Tree Seed |
| [Powdermelon] |
Powdermelon |
| [PowdermelonSeeds] |
Powdermelon Seeds |
| [Raisins] |
Raisins |
| [SummerSquash] | Summer Squash |
| [SummerSquashSeeds] | Summer Squash Seeds |
Fishing item codes
A few underwater critters came to the game in 1.6, so here are their item codes along with some bait and bobbers.
| Code | Item |
| [SpecificBait] | Bait |
| [CaveJelly] | Cave Jelly |
| [ChallengeBait] | Challenge Bait |
| [DeluxeBait] | Deluxe Bait |
| [Goby] | Goby |
| [GoldenBobber] | Golden Bobber |
| [TroutDerbyTag] | Golden Tag |
| [RiverJelly] | River Jelly |
| [SeaJelly] | Sea Jelly |
| [SmokedFish] | Smoked Fish |
| [SonarBobber] | Sonar Bobber |
Mining item codes
A new Stardew Valley update wouldn't be complete without some rock deposits, so here are the codes to spawn the corresponding items.
| Code | Item |
| [CalicoEgg] | Calico Egg |
| [CalicoEggStone_0] | Calico Egg Stone |
| [CalicoEggStone_1] | Calico Egg Stone 1 |
| [CalicoEggStone_2] | Calico Egg Stone 2 |
| [BasicCoalNode0] | Coal Node |
| [BasicCoalNode1] | Coal Node 2 |
| [VolcanoGoldNode] | Gold Stone |
| [PotOfGold] | Pot of Gold deposit |
| [VolcanoCoalNode0] | Volcano Coal Node |
| [VolcanoCoalNode01] | Volcano Coal Node 2 |
Miscellaneous item codes
This section covers other items, including artifact spots, transport items, rewards, and tools.
| Code | Item |
| [SeedSpot] | Artifact Spot |
| [BlueGrassStarter] |
Blue Grass Starter |
| [ButterflyPowder] |
Butterfly Powder |
| [FarAwayStone] |
Far Away Stone |
| [GoldCoin] |
Gold Coin |
| [GoldenAnimalCracker] |
Golden Animal Cracker |
| [GoldenMysteryBox] | Golden Mystery Box |
| [GreenRainWeeds0] | Green Rain Weeds |
| [GreenRainWeeds1] | Green Rain Weeds 1 |
| [GreenRainWeeds2] | Green Rain Weeds 2 |
| [GreenRainWeeds3] | Green Rain Weeds 3 |
| [GreenRainWeeds4] | Green Rain Weeds 4 |
| [GreenRainWeeds5] | Green Rain Weeds 5 |
| [GreenRainWeeds6] | Green Rain Weeds 6 |
| [GreenRainWeeds7] | Green Rain Weeds 7 |
| [Moss] | Moss |
| [MossSoup] | Moss Soup |
| [MossySeed] | Mossy Seed |
| [MysteryBox] | Mystery Box |
| [MysticSyrup] | Mystic Syrup |
| [PetLicense] | Pet License |
| [PrizeTicket] | Prize Ticket |
| [StardropTea] | Stardrop Tea |
| [TentKit] | Tent Kit |
| [TreasureTotem] | Treasure Totem |
Cooking and food item codes
Here are item codes for all the foodstuffs - that's cooked meals and ingredients - in the game.
| Code | Item |
| [456] | Algae Soup |
| [605] | Artichoke Dip |
| [235] | Autumn's Bounty |
| [198] | Baked Fish |
| [904] | Banana Pudding |
| [207] | Bean hotpot |
| [611] | Blackberry Cobbler |
| [234] | Blueberry Tart |
| [216] | Bread |
| [618] | Bruschetta |
| [874] | Bug Steak |
| [209] | Carp surprise |
| [197] | Cheese Cauliflower |
| [220] | Chocolate Cake |
| [727] | Chowder |
| [648] | Coleslaw |
| [201] | Complete Breakfast |
| [223] | Cookie |
| [732] | Crab Cakes |
| [612] | Cranberry Candy |
| [238] | Cranberry Sauce |
| [214] | Crispy bass |
| [242] | Dish O' The Sea |
| [231] | EggplantParmesan |
| [729] | Escargot |
| [240] | Farmer's Lunch |
| [649] | Fiddlehead Risotto |
| [403] | Field Snack |
| [728] | Fish Stew |
| [213] | Fish taco |
| [202] | Fried Calamari |
| [225] | Fried Eel |
| [194] | Fried Egg |
| [205] | Fried mushrooms |
| [610] | Fruit Salad |
| [903] | Ginger Ale |
| [208] | Glazed yams |
| [210] | Hashbrowns |
| [233] | Ice Cream |
| [730] | Lobster Bisque |
| [204] | Lucky Lunch |
| [279] | Magic Rock Candy |
| [228] | Maki Roll |
| [905] | Mango Sticky Rice |
| [731] | Maple Bar |
| [459] | Mead |
| [243] | Miner's Treat |
| [247] | Oil |
| [195] | Omelet |
| [303] | Pale Ale |
| [457] | Pale Broth |
| [211] | Pancakes |
| [199] | Parsnip Soup |
| [215] | Pepper Poppers |
| [873] | Piña Colada |
| [221] | Pink Cake |
| [206] | Pizza |
| [604] | Plum Pudding |
| [906] | Poi |
| [651] | Poppyseed Muffin |
| [608] | Pumpkin Pie |
| [236] | Pumpkin Soup |
| [609] | Radish Salad |
| [230] | Red Plate |
| [222] | Rhubarb Pie |
| [232] | Rice Pudding |
| [607] | Roasted Hazelnuts |
| [244] | Roots Platter |
| [196] | Salad |
| [212] | Salmon dinner |
| [227] | Sashimi |
| [733] | Shrimp Cocktail |
| [224] | Spaghetti |
| [226] | Spicy Eel |
| [921] | Squid Ink Ravioli |
| [606] | Stir Fry |
| [203] | Strange Bun |
| [239] | Stuffing |
| [245] | Sugar |
| [237] | Super Meal |
| [241] | Survival Burger |
| [218] | Tom Kha Soup |
| [229] | Tortilla |
| [253] | Triple Shot Espresso |
| [907] | Tropical Curry |
| [219] | Trout Soup |
| [271] | Unmilled rice |
| [200] | Vegetable Medley |
| [246] | Wheat flour |
Artifact item codes
The codes in this section relate to artifacts you can donate to the Pelican Town Library, including gemstones and more.
| Code | Item |
| [96] | Dwarf scroll I |
| [97] | Dwarf scroll II |
| [98] | Dwarf scroll III |
| [99] | Dwarf scroll IV |
| [100] | Chipped amphora |
| [101] | Arrowhead |
| [102] | Lost book |
| [103] | Ancient doll |
| [104] | Elvish jewelry |
| [105] | Chewing stick |
| [106] | Ornamental fan |
| [107] | Dinosaur egg |
| [108] | Rare disc |
| [109] | Ancient sword |
| [110] | Rusty spoon |
| [111] | Rusty spur |
| [112] | Rusty cog |
| [113] | Chicken statue |
| [114] | Ancient seed |
| [115] | Prehistoric tool |
| [116] | Dried starfish |
| [117] | Anchor |
| [118] | Glass shards |
| [119] | Bone flute |
| [120] | Prehistoric handaxe |
| [121] | Dwarvish helm |
| [122] | Dwarf gadget |
| [123] | Ancient drum |
| [124] | Golden mask |
| [125] | Golden relic |
| [126] | Strange doll |
| [127] | Strange doll |
| [557] | Petrified slime |
| [577] | Fairy stone |
| [578] | Star shards |
| [579] | Prehistoric scapula |
| [580] | Prehistoric tibia |
| [581] | Prehistoric skull |
| [582] | Skeletal hand |
| [583] | Prehistoric rib |
| [584] | Prehistoric vertebra |
| [585] | Skeletal Tail |
| [586] | Nautilus fossil |
| [587] | Amphibian fossil |
| [588] | Palm fossil |
| [589] | Trilobite |
| [538] | Alamite |
| [539] | Bixite |
| [540] | Baryte |
| [541] | Aerinite |
| [542] | Calcite |
| [543] | Dolomite |
| [544] | Esperite |
| [545] | Fluorapatite |
| [546] | Geminite |
| [547] | Helvite |
| [548] | Jamborite |
| [549] | Jagoite |
| [550] | Kyanite |
| [551] | Lunarite |
| [552] | Malachite |
| [553] | Neptunite |
| [554] | Lemon stone |
| [555] | Nekoite |
| [556] | Orpiment |
| [558] | Thunder egg |
| [559] | Pyrite |
| [560] | Ocean stone |
| [561] | Ghost crystal |
| [562] | Tigerseye |
| [563] | Jasper |
| [564] | Opal |
| [565] | Fire opal |
| [566] | Celestine |
| [567] | Marble |
| [568] | Sandstone |
| [569] | Granite |
| [570] | Basalt |
| [571] | Limestone |
| [572] | Soapstone |
| [573] | Hematite |
| [574] | Mudstone |
| [575] | Obsidian |
| [576] | Slate |
Mining item codes
These codes give you items found while mining, like stone, coal, and ore nodes. Note that most of the 'stone' codes spawn the nodes you find in the mines, volcano caves, and quarry.
| Code | Item |
| [2] | Stone |
| [4] | Stone |
| [25] | Stone |
| [75] | Stone |
| [76] | Stone |
| [77] | Stone |
| [95] | Stone |
| [60] | Emerald |
| [62] | Aquamarine |
| [64] | Ruby |
| [66] | Amethyst |
| [68] | Topaz |
| [70] | Jade |
| [72] | Diamond |
| [74] | Prismatic shard |
| [80] | Quartz |
| [82] | Fire quartz |
| [84] | Frozen tear |
| [86] | Earth crystal |
| [290] | Stone |
| [330] | Clay |
| [334] | Copper bar |
| [335] | Iron bar |
| [336] | Gold bar |
| [337] | Iridium bar |
| [338] | Refined quartz |
| [343] | Stone |
| [378] | Copper ore |
| [380] | Iron ore |
| [384] | Gold ore |
| [386] | Iridium ore |
| [382] | Coal |
| [390] | Stone |
| [450] | Stone |
| [535] | Geode |
| [536] | Geode |
| [537] | Frozen geode |
| [668] | Magma geode |
| [670] | Stone |
| [816] | Stone |
| [817] | Stone |
| [818] | Stone |
| [819] | Stone |
| [843] | Stone |
| [844] | Stone |
| [845] | Stone |
| [846] | Stone |
| [847] | Stone |
| [848] | Cinder shard |
| [849] | Stone |
| [850] | Stone |
| [749] | Omni geode |
| [751] | Stone |
| [760] | Stone |
| [762] | Stone |
| [764] | Stone |
| [765] | Stone |
| [909] | Radioactive ore |
| [910] | Radioactive bar |
Farming item codes
Here are all the codes for seeds, fully grown crops, animal products, and other items you find and grow on your farmstead.
| Code | Item |
| [24] | Parsnip |
| [174] | Egg |
| [176] | Large egg |
| [178] | Hay |
| [180] | Egg |
| [182] | Large egg |
| [184] | Milk |
| [186] | Large milk |
| [188] | Green bean |
| [190] | Cauliflower |
| [192] | Potato |
| [248] | Garlic |
| [250] | Kale |
| [251] | Tea sapling |
| [252] | Rhubarb |
| [254] | Melon |
| [256] | Tomato |
| [258] | Blueberry |
| [260] | Hot Pepper |
| [262] | Wheat |
| [264] | Radish |
| [266] | Red cabbage |
| [268] | Starfruit |
| [270] | Corn |
| [272] | Eggplant |
| [274] | Artichoke |
| [276] | Pumpkin |
| [278] | Bok Choy |
| [273] | Rice shoot |
| [280] | Yam |
| [282] | Cranberries |
| [284] | Beet |
| [299] | Amaranth seeds |
| [300] | Amaranth |
| [301] | Grape starter |
| [302] | Hops starter |
| [304] | Hops |
| [305] | Void Egg |
| [306] | Mayonnaise |
| [307] | Duck mayonnaise |
| [308] | Void mayonnaise |
| [340] | Honey |
| [342] | Pickles |
| [344] | Jelly |
| [346] | Beer |
| [347] | Rare seed |
| [348] | Wine |
| [350] | Juice |
| [400] | Strawberry |
| [419] | Vinegar |
| [417] | Sweet Gem berry |
| [421] | Sunflower |
| [423] | Rice |
| [424] | Cheese |
| [426] | Goat cheese |
| [428] | Cloth |
| [430] | Truffle |
| [432] | Truffle Oil |
| [395] | Coffee |
| [433] | Coffee bean |
| [436] | Goat milk |
| [438] | L. goat milk |
| [440] | Wool |
| [442] | Duck egg |
| [444] | Duck feather |
| [446] | Aged roe |
| [447] | Rabbit's foot |
| [454] | Ancient fruit |
| [472] | Parsnip seeds |
| [473] | Bean Starter |
| [474] | Cauliflower seeds |
| [475] | Potato seeds |
| [476] | Garlic seeds |
| [477] | Kale seeds |
| [478] | Rhubarb seeds |
| [479] | Melon seeds |
| [480] | Tomato seeds |
| [481] | Blueberry seeds |
| [482] | Pepper seeds |
| [483] | Wheat seeds |
| [484] | Radish seeds |
| [485] | Red cabbage seeds |
| [486] | Starfruit seeds |
| [487] | Corn seeds |
| [488] | Eggplant seeds |
| [489] | Artichoke seeds |
| [490] | Pumpkin seeds |
| [491] | Bok Choy seeds |
| [492] | Yam seeds |
| [493] | Cranberry seeds |
| [494] | Beet seeds |
| [495] | Spring seeds |
| [496] | Summer seeds |
| [497] | Fall seeds |
| [498] | Winter seeds |
| [499] | Ancient seeds |
| [427] | Tulip bulb |
| [429] | Jazz seeds |
| [453] | Poppy seeds |
| [455] | Spangle seeds |
| [431] | Sunflower seeds |
| [425] | Fairy rose seeds |
| [628] | Cherry sapling |
| [629] | Apricot sapling |
| [630] | Orange sapling |
| [631] | Peach sapling |
| [632] | Pomegranate sapling |
| [633] | Apple sapling |
| [634] | Apricot |
| [635] | Orange |
| [636] | Peach |
| [637] | Pomegranate |
| [638] | Cherry |
| [613] | Apple |
| [614] | Tea leaves |
| [591] | Tulip |
| [593] | Summer spangle |
| [595] | Fairy rose |
| [597] | Blue jazz |
| [376] | Poppy |
| [802] | Cactus seeds |
| [803] | Iridium milk |
| [807] | Dinosaur mayonnaise |
| [815] | Tea leaves |
| [69] | Banana sapling |
| [91] | Banana |
| [829] | Ginger |
| [830] | Taro root |
| [831] | Taro tuber |
| [832] | Pineapple |
| [833] | Pineapple seeds |
| [834] | Mango |
| [835] | Mango sapling |
| [745] | Strawberry seeds |
For item codes of all previous in-game additions, check out the Stardew Valley vanilla ID's page right here. Now you can cover Pelican Town with all manner of weeds at any time of year.
What are Stardew Valley item codes?
Stardew Valley item codes relate to every single thing in the game. That's animals, crops, furniture, artifacts, fish, and things you find on the floor - you name it, it's got a code. The codes are either a small string of numbers or a descriptor for the item. With these codes, you can spawn items. It's sort of a cheat, but sometimes you've just got to get a prismatic shard the easy way.
If you're bored of farming and want to flirt, here are our guides to the town's best bachelors - Stardew Valley Sebastian, Stardew Valley Emily, Stardew Valley Leah, and Stardew Valley Elliott.


