We present a method to control protein levels under native genetic regulation in Caenorhabditis elegans by using synthetic genes with adapted codons. We found that the force acting on the spindle in C. elegans embryos was related to the amount of the G-protein regulator GPR-1/2. Codon-adapted versions of any C. elegans gene can be designed using our web tool, C. elegans codon adapter.