From the Super Mario Wiki
Super Mario series
Super Mario Bros. 3
The first appearance of Fire Snakes is in Super Mario Bros. 3, where they appear in Desert Hill. If a Fire Snake sees Mario, it begins to chase him by bouncing and trying to collide with him. A Fire Snake can only be defeated by either hitting it with a Shell or Hammer, by having Mario touch it while he is empowered by a Starman or by having Mario whack it with his tail as either Raccoon Mario or Tanooki Mario or a stomp from Statue Mario. He can also make them to fall into an abyss, however, they reappear after a few seconds. In the remakes of this game, Fire Snakes have eyes, while they never had them in the original NES version.
Super Mario World
While Fire Snakes did not appear in Super Mario World, a subspecies called Bound Fire did.
New Super Mario Bros.
Fire Snakes also appear as uncommon enemies in New Super Mario Bros. in the stage 2-5. These Fire Snakes will try to attack Mario by chasing him by bouncing and by trying to touch him, like in Super Mario Bros. 3. The Fire Snakes of New Super Mario Bros. can be defeated by throwing a Shell at them and by touching them when Mario is empowered by a Starman or Mega Mushroom. He can also make them to fall into an abyss, however, they reappear after a few seconds. They only appear twice. They have eyes in this game, similar to in the remakes of Super Mario Bros. 3.
New Super Mario Bros. Wii
They also appear in the game New Super Mario Bros. Wii acting like they did in New Super Mario Bros., but they have a new ability. After one or two hops, their heads will enlarge, then go back to normal size. They only appear in World 2-3 and can be defeated with a Starman or ice balls.
New Super Mario Bros. 2
New Super Mario Bros. U
Fire Snakes reapper in the Wii U title New Super Mario Bros. U acting exactly as in the predecessors, They also retain the ability adopted in New Super Mario Bros. Wii, in this game have their own level based called Fire Snake Cavern located in Layer-Cake Desert in which are very common alongside the Fire Bros, Fire Snake can now be eaten for any Baby Yoshi.
The Adventures of Super Mario Bros. 3
Fire Snakes make a few minor appearances in The Adventures of Super Mario Bros. 3.
Princess Toadstool for President
Crimes R Us
In "Crimes R Us", the Koopalings break in to the Mushroom Kingdom Treasury, using a Chain Chomp to open the barred window, a Ptooie to blast a hole in the wall, and a Fire Snake to bust a hole in the roof.
Nintendo Adventure Books
In Double Trouble, a swarm of Fire Snakes can be encountered in the Koopahari Desert if Mario decides to take a shortcut to Fort Koopa. Depending on how an accompanying puzzle is solved, Mario either dodges and escapes them, or is sent running after being singed twice, losing his Super Mushroom in the process. Far fewer Fire Snakes can be encountered on the main road to Fort Koopa, and Mario can easily avoid them.
Two Fire Snakes appear as competitors in the International Mushroom Games in Leaping Lizards, being members of a team called the Sneaks. During the Beetlebowl, an all-team game, they may (depending on who the reader chooses as their offensive line) leap into the middle of the ring when the event begins and flare up, blinding everyone nearby besides Roy Koopa and their Rocky Wrench teammate, due to their sunglasses. When one of the Fire Snakes grabs a Hoopster and tries to dunk it into the Mushroom Kingdom Royals's bucket, Mario unintentionally stops it when the Mushroom King (who had been turned into a rabbit) hops by, causing him to sneeze and blow the Fire Snake out. What other events the Fire Snakes compete in besides the Beetlebowl are unspecified.
In Koopa Capers, Wendy O. Koopa, needing some Fire Snake scales for a potion she is brewing, captures several and locks them in a freezing cave in the Magma Pits, causing them enter a catatonic state and begin shedding.
Mario Kart series
Mario Kart DS
Mario Kart Wii
Fire Snakes also appear in Mario Kart Wii, acting the same way as they did in Mario Kart DS. They appear on two courses; one of which is Desert Hills from Mario Kart DS itself. They also appear in Grumble Volcano where they are found near the end hopping out of pipes on the side of the course, attempting to spin out any racers that touched one. They have a new appearance in this game; they have eyes on their heads.
Names in other languages