Quick Answer
About 1.3 million Earths can fit inside the Sun by volume. A useful second fact: the Sun is about 109 Earths wide by diameter.
If you stack Earths in a straight line across the Sun's diameter, you get about 109. But when you compare full 3D volume, the number scales cubically: 109 x 109 x 109, which is about 1.3 million.