Start with the maker’s age label. It exists because of small parts, strings and materials. For under 3s choose large, fixed pieces. For 3 to 5 chunky blocks, puzzles and colours are a good fit.
When unsure
Choose the lower age. A toy that is a little easy is safer than one that is too hard.