A software tool for optimal design of hexapod robots is proposed. The tool is based on Inverse Dynamics computation implemented in Matlab. A Genetic Algorithm is proposed and compared with other optimization methods. The method is tested with the optimal design of an hexapod robot for aeronautics applications.