The most obvious stand-in is the humble onion. Specifically, a sweet or white onion is your best bet. Chop it up fine, and nobody will know the difference in most cooked dishes.
Just remember: shallots are milder, so you might want to use a bit less onion than the recipe asks for. You can also soak your chopped onion in cold water for ten minutes to tame its fiery bite.
Mix and Match: The Onion + Garlic Combo
Here’s where it gets fun. Since a shallot tastes like a lighter, sweeter version of an onion with a hint of garlic, you can fake it. Use half the amount of finely minced onion plus a tiny pinch of minced garlic.
This combo is magic in vinaigrettes and sauces. You get the shallot’s essence without actually having one—sneaky, right?