How the desert pyramid finder works
In the game files a desert temple is called a desert_pyramid. In Java Edition 26.3 its structure set desert_pyramids uses a spacing of 32 chunks, a separation of 8 chunks and the salt 14357617. That means at most one temple attempt per 32 by 32 chunk region, and two attempts are never closer than 8 chunks.
The biome check is simple: the has_structure/desert_pyramid tag contains only desert. If the attempt lands anywhere else, no temple appears. This desert pyramid finder runs the check for you, so every marker on the map is a real temple. Use the biome finder if you want to see the size of each desert.
The TNT trap and the four chests
Under the main room is a hidden chamber. In its center is a pressure plate, and under that plate sits a block of TNT. Stepping on the plate blows up the room and everything in it. The safe way in is to dig down beside the chamber, or to break the pressure plate before you land on it.
The chamber has 4 chests, one in each wall. Mine the TNT afterward if you want to keep it.
Suspicious sand and archaeology
Since version 1.20, desert temples also contain suspicious sand. Use a brush on it to dig out items such as pottery sherds, which you can combine into decorated pots. Brush slowly, because breaking suspicious sand with a tool destroys the item inside.
Related maps
Look for nearby desert villages with the village finder, see every structure type in the structure finder, or go back to the main seed map.
Deserts are wide and flat, so a temple is easy to spot from a distance once you are close. Still, the coordinates save a lot of wandering. Visit during the day when possible, because husks spawn at night, and carry water since there is little of it in the desert. Several temples close together make a quick loot run.