A powerful command-line tool that converts Roblox place files (.rbxlx) to fully structured Rojo projects for Visual Studio Code development.
- Converts Roblox XML place files (.rbxlx) to Rojo project structures
- Preserves full game hierarchy (including Workspace elements)
- Creates correct directory/file structure for all instances
- Extracts and preserves all scripts (Script, LocalScript, ModuleScript)
- Handles properties like CFrame, Size, Color, etc. properly
- Generates complete
default.project.jsonfor Rojo sync - Works as a standalone Windows executable (no installation required)
- Download the latest release from the releases section
- Extract the ZIP file to a location of your choice
- Run the executable from the command line
- Clone or download this repository
- Make sure all these files are in the same directory:
rbxlx_to_rojo.py(main script)roblox_parser.py(RBXLX file parser)rojo_project_generator.py(Rojo project generator)utils.py(utility functions)
- Install the required dependencies:
pip install lxml - Run the script directly:
python rbxlx_to_rojo.py path/to/your/place.rbxlx -o output_directory
Troubleshooting: If you get a "No module named" error, make sure all the required files are in the same directory as the main script.
- Clone this repository
- Install required dependencies:
pip install lxml pillow pyinstaller - Run the build script:
python build.py - Find the executable in the
distfolder
rbxlx_to_rojo.exe path/to/your/place.rbxlx -o output_directory
# Method 1: Using the -o option
python rbxlx_to_rojo.py path/to/your/place.rbxlx -o output_directory
# Method 2: Using positional arguments (simpler)
python rbxlx_to_rojo.py path/to/your/place.rbxlx output_directory
input_file: Path to the Roblox place file (.rbxlx) to convert-o, --output-dir: Directory where the Rojo project should be created (default: current directory)-v, --verbose: Enable verbose output--version: Show the version number and exit
After conversion, you'll have a complete Rojo project structure:
output_directory/
├── default.project.json
└── src/
├── ReplicatedStorage/
├── ServerScriptService/
├── StarterGui/
├── Workspace/
└── ...
You can now:
- Open the output directory in Visual Studio Code with the Rojo extension installed
- Use the Rojo extension to sync changes back to Roblox Studio
- Edit scripts and assets in your preferred code editor
- Manage your game with version control (Git)
The converter:
- Parses the .rbxlx file to extract all instances and their properties
- Builds a hierarchical representation of the game structure
- Creates appropriate directories and files for each instance
- Generates meta files to store properties like CFrame, Size, etc.
- Extracts script source code into proper .lua files
- Creates a default.project.json file that maps the directory structure to Roblox instances
- Windows operating system or just Python
- No additional runtime dependencies (executable is self-contained)
This project is released under the GNU License.