Caenorhabditis elegans embryos have been widely used to study cellular processes and developmental regulation at early stages. However, most existing microfluidic devices focus on the studies of larval or adult worms rather than embryos. To accurately study the real-time dynamics of embryonic development under different conditions, many technical barriers must be overcome; these can include single-embryo sorting and immobilization, precise control of the experimental environment, and long-term live imaging of embryos. This paper reports a spiral microfluidic device for effective sorting, trapping, and long-term live imaging of single C. elegans embryos under precisely controlled experimental conditions. The device successfully sorts embryos from a mixed population of C. elegans at different developmental stages via Dean vortices generated inside a spiral microchannel and traps the sorted embryos at single-cell resolution through hydrodynamic traps on the sidewall of the spiral channel for long-term imaging. Through the well-controlled microenvironment inside the microfluidic device, the response of the trapped C. elegans embryos to mechanical and chemical stimulation can be quantitatively measured. The experimental results show that a gentle hydrodynamic force would induce faster growth of embryos, and embryos developmentally arrested in the high-salinity solution could be rescued by the M9 buffer. The microfluidic device provides new avenues for easy, rapid, high-content screening of C. elegans embryos.