URDF, Xacro & SDFormat: online viewer for .urdf .xacro .sdf files
Kinematic chains, joints and mesh references of URDF, Xacro and SDFormat, with thumbnails and a 3D viewer that moves the joints.
- .urdf
- .xacro
- .sdf
Capabilities
What it reads and its limits
Inspect URDF, Xacro and SDFormat (.sdf) files without starting ROS or Gazebo. You can see the kinematic chain of links and joints, joint types and limits, collision and inertial counts, and the meshes, textures and models a description refers to. URDF and single-model SDF files have thumbnails and a 3D viewer with a slider for each joint. Source files are read only.
What you can see
- Links: from the root link down the kinematic chain, depth first, each with its depth (root for the root link); joints follow the order of the links they move.
- Joints: type and limits (radians or metres to three decimals, with SDF's default ±1e16, written out or left out, shown as ∞) and a count per type. Only joints directly under
<robot>or<model>count: the<joint>elements in ros_control<transmission>blocks and Gazebo plugins only refer to real joints. - Physics: the number of collisions and inertials on the links.
- Xacro: the macros it defines with their parameter counts, the files it includes and the mesh paths written out in full. A path built with
${…},$(arg …)or another substitution is only known after expansion and is left out;$(find name)and$(dirname)are resolved. Macros are not expanded and expressions are not evaluated, so Xacro has no 3D preview. Neither has a.urdfthat still holds Xacro macros, properties or arguments. - References: visual and collision meshes listed apart, URDF textures, SDF PBR maps and included models.
- Viewer: the joint sliders are below the view. Revolute and prismatic joints slide between their limits, and continuous joints turn a full circle. Mimic joints follow the joint they mimic and have no slider of their own. Fit is a toggle: while it is on, the view frames the current pose from the opening direction and reframes it when the window changes size. Orbiting, panning or zooming turns it off. A file with nothing to draw (links alone, or meshes that are all missing) has no thumbnail, and the viewer lists its structure instead.
- Structure: for a file that cannot be previewed in 3D, the viewer lists the links as a collapsible tree along the kinematic chain. Each link shows the joint it hangs from, with the joint’s type and limits. Joints outside the chain are listed apart, such as joints to an included model or to a link that does not exist. In an SDF world with several models, each model has a row with its links below it.
Finding packages and models
package://name/…and Xacro's$(find name)/…: each folder above the file is checked forpackage.xml, and so is a folder named after the package inside each of them; it counts only when its<name>is that package. The reference becomes a path relative to the file. Xacro's$(dirname)is the folder of the file itself.model://name/…: Gazebo finds models by folder name, and so does the plugin. It looks formodel.configin a folder of that name above the file or in amodels/folder;<name>is only a title and is not compared. When the model folder itself is opened, its folder name is in no path, so the<name>inmodel.configis compared instead, ignoring case, spaces and symbols (Ground Planematchesground_plane). Opening themodels/folder above works best. A baremodel://nameloads the newest<sdf>listed inmodel.config, ormodel.sdfwithout one. A model that is not found is listed by its name alone.- What is not found is listed without the prefix so Vormio can still find it by file name, with a note naming the package or model. A package outside the opened folder, or in a folder named differently that is not above the file, is not found. Opening the whole ROS workspace (
src/) works best.
Limits
- Meshes are read from STL, OBJ and DAE only. OBJ MTL files and images named inside a DAE are not loaded: OBJ meshes take the URDF color and DAE meshes the color of their own materials. URDF textures are read through Vormio, never fetched from the network.
- SDF previews a single model only. Files with
<include>, several or nested models, named frames (frame,relative_to,expressed_in) or closed loops of joints list their structure and say why. Included models are not opened, so their links are not listed; joints to them (camera::link) are. SDF carries over colors, not textures. Shapes URDF has no form for (capsules, ellipsoids, heightmaps and so on) are not shown, and ground planes are left out on purpose. Joints one slider cannot drive, such as ball and universal joints, are drawn in the pose the file gives. - There is no physics simulation and no editing, and Gazebo plugins are not run.
- Descriptions are limited to 16 MiB, 100,000 elements and 256 levels of nesting. For previews, a single mesh or texture is limited to 32 MiB and all of them to 64 MiB; anything beyond is not shown and counted as such. DTDs are not read.
Samples
Primary samples come from Open Robotics official repositories: urdf_tutorial/ is the ROS 2 URDF/Xacro tutorial package (BSD-3-Clause) with interactive joints (06-flexible.urdf), Xacro macros (08-macroed.urdf.xacro) and PR2 gripper DAE meshes; double-pendulum.sdf (gazebosim/sdformat, Apache-2.0) previews a single SDF model in 3D; diff-drive.sdf (gazebosim/gz-sim, Apache-2.0) shows a multi-model Gazebo Sim world. Additional CC0 fixtures (arm.urdf, demo_description/, models/demo_arm/, world.sdf, missing-first.urdf, links-only.urdf) remain for missing-package, links-only and cross-format tests. Sources and licenses are in samples/README.txt.
Where to inspect
Choose how to inspect your files
Start in your browser
The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.
Working across folders?
Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.
Related formats
Related formats
3D Tiles
Inspect the tables, child tiles and references of 3D Tiles tiles, with model and point cloud previews.
.b3dm.i3dm.pnts.cmpt
USD scenes
Thumbnails and a 3D viewer for USD, USDA, USDC and USDZ that composes referenced layers, switches variants and plays animation and skinning; lists layers, prims, materials and references.
.usd.usda.usdc.usdz
Classic 3D models
Thumbnails and a 3D viewer for 3DS, LightWave LWO2/LWO3 and Quake II MD2 models, with meshes, surfaces, texture references and vertex animation.
.3ds.lwo.md2
Collada models
View DAE models and animations, inspect composition, texture references and mesh properties.
.dae
FBX
Thumbnails and an animated 3D viewer for FBX models, with wireframe, normal and UV views; lists meshes, materials, textures, animations and bones, and checks that textures are present.
.fbx
glTF
Thumbnails and a 3D viewer for glTF, GLB, VRM models and VRMA animations; draws VRM's MToon materials with outlines and adjusts expressions, plays standalone VRMA animations on a standard mannequin, lists meshes, materials, textures, humanoid bones and animations, and checks external buffers and textures.
.gltf.glb.vrm.vrma