We study the quark-hadron phase transition within an effective model of QCD, and find that in a reasonable range of the main parameters of the model, bodies with quark content between 10(-2) and 10 solar masses can have been formed in the early universe. In addition, we show that a significant amount of entropy is released during the transition. This may imply the existence of a higher baryon number density than is usually expected at temperatures above the QCD scale. The cosmological QCD transition may then provide a natural way of decreasing the high baryon asymmetry created by an Affleck-Dine-like mechanism down to the value required by primordial nucleosynthesis.