.xml → .sdf
MJCF to SDF
Convert a robot description from MJCF to SDF in the browser. Nothing is installed and nothing is queued: the file is read, written in the other format, and handed back with a list of anything that could not be carried across.
Convert a file
Drop your MJCF here
Drop the folder too if the model references meshes.
Files are read on our server and deleted after a day. Nothing is published.
Reading the MJCF
Writing the SDF
Look at the file first
What this conversion costs
Nothing structural. Every bundled sample — a six-axis arm, a gripper, a generic quadruped and the Unitree A1 at 23 links — came through this direction with its links, joints, geometry and inertia intact. Your model may still hit something these do not cover, and if it does the converted file will say so at the top.
Two simulators, two idioms
Both describe a world, but MuJoCo's solver settings have no SDF equivalent and Gazebo's plugins have no MJCF equivalent. The robot crosses over; the tuning does not.
The two formats
- MJCF .xml
- MuJoCo's own format: the same robot, plus everything a solver needs to simulate it.
- SDF .sdf
- Gazebo's format, which describes a whole world rather than a single robot.
Converting is rarely the whole job. Once you have the SDF, the viewer shows what actually came across — collision geometry against visual, joint limits, where the mass sits — and the physics lab answers the question a file cannot: whether the robot stands up when gravity is switched on.