What is the LXF file format?
.lxf is a 3D LEGO project file created by LEGO Digital Designer (LDD). Each .lxf file is a single ZIP archive containing two entries: IMAGE100.LXFML (the model, written in LXFML - an XML dialect encoding every brick, colour and position) and IMAGE100.PNG (a preview image). Older files also include a MODEL100.MODEL entry.
LEGO Digital Designer was officially retired in 2022 and is no longer supported by the developer. BrickLink Studio (Stud.io) is the free official successor and imports .lxf files directly. LXF project files are saved in a Lego Creations folder in the user's Documents folder, with Models and Buildings subfolders storing all project-related files.
Because .lxf is a valid ZIP archive, renaming it to .zip lets you inspect the LXFML XML and the preview PNG inside with any archive manager.
Security & safety
RISK: LOWAn .lxf is a zip wrapping an XML model - data only, no executable code - so it is safe to open in LEGO software or extract as a zip. The only caution is that LDD itself is discontinued and no longer distributed by LEGO; avoid downloading "LDD installers" from random third-party sites (potential bundled adware/malware) - use the official BrickLink Studio instead, which is free, supported, and imports .lxf files.
Format details
in a nutshellPrograms that open LXF files
Technical details
deep spec| Container format | ZIP archive - a valid ZIP starting with the PK magic signature |
| Magic bytes | 50 4B 03 04 at offset 0 - standard ZIP local file header |
| Compression | DEFLATE (per-entry ZIP compression) |
| Byte order | Little-endian (ZIP structures) |
| MIME type | application/zip |
| Primary model entry | IMAGE100.LXFML - UTF-8 XML describing every brick, colour and position |
| Preview entry | IMAGE100.PNG - rendered thumbnail embedded in the archive |
| Legacy entry | MODEL100.MODEL - present in files saved by older LDD versions |
| XML dialect | LXFML (LEGO eXchange Format Markup Language) |
| LXFML version range | 1.0 (2005) through 5.0 (LDD 4.3, 2016) |
| Brick encoding | Part ID, official LEGO colour code, and 4×4 transformation matrix per brick |
| File integrity | Per-entry CRC-32 (ZIP standard) |
| Typical file size | Tens of KB to a few MB, scaling with brick and submodel count |
| Supported platforms | Windows, macOS (original LDD); cross-platform via BrickLink Studio |
| Current importer | BrickLink Studio (Stud.io) - official successor, imports .lxf natively |
| Released | 2004 (LEGO Digital Designer); LXFML markup defined 2005 |
| Latest version | LXFML 5.0 (LDD 4.3, the final LDD release, 2016) |
| Specification | wiki.ldraw.org |
LXF conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about LXF files.