Everything but pigeon referenced from Greg Paul diagrams; pigeon referenced from various photographs of pigeon skeletons I could find.
Two interesting points as an animal becomes more "birdlike": the hallux moves towards greater mobility, and the tarsometatarsus fuses. The tarsometatarsus of Archaeopteryx represents a unique semi-fused "transition" state between unfused and totally fused metatarsal bones.
Seeing this side-by-side foot comparison makes me wonder why people seem to think theropod "hands" aren't that flexible when those bones aren't fused much at all... no more than the toes really in many cases.
Having raised pigeons for most of my teen years, I know just how flexible those toes are... pigeons are never so frustrating as when they curl their feet into a "fist" when you're trying to put a leg band on them. I'd rather deal with birds unwilling to come in from a flight day than wrestle with a squirming chick.