Skip to content

Blog / What Is an L5X File?

Allen-Bradley — PLC File Formats

What Is an L5X File?

An L5X file is the XML export format for Studio 5000 PLC projects. It contains the complete project structure — programs, tags, routines, UDTs, and I/O configuration — as human-readable text. Unlike the binary ACD file, L5X is ideal for version control in Git.

Key Takeaways
  • An L5X file is a human-readable XML export from Studio 5000, containing programs, tags, routines, UDTs, and I/O configuration.
  • L5X is ideal for version control in Git — it is text-based, diffable, and can be meaningfully compared between versions.
  • Unlike ACD files, L5X files are not version-locked — they can be imported into any compatible Studio 5000 version.
  • L5X files do not include online edit history or pending edits — these live only in the ACD working project file.
  • You can view L5X files at plc.company without Studio 5000 — same ladder logic viewer, tag browser, and AI explanations as ACD.

What Is an L5X File?

An L5X file is an XML export of a Studio 5000 Logix Designer project. The name stands for Logix 5000 XML. When you save a project as L5X, Studio 5000 converts the entire project structure into human-readable XML format. This file contains the complete project definition — programs, routines, tags, UDTs, AOIs, and I/O configuration — exactly as it exists in the ACD working file.

The key advantage of L5X is portability and readability. Because it is plain XML, L5X files can be opened in any text editor, compared side-by-side using standard Git diff tools, and shared across teams without requiring Studio 5000 to be installed on every machine. In our testing with customers who manage large PLC portfolios, we found that L5X became the standard format for version control because it enabled meaningful code review workflows.

What L5X Files Contain

L5X files contain the complete logical structure of a PLC project. When you export a project as L5X, you get:

  • Controller Properties — The controller type, firmware version, I/O configuration, and global settings.
  • Programs and Tasks — All MainProgram and user-defined programs, including task assignment and execution order.
  • Routines — Ladder logic, structured text, and function block diagram routines as XML with full instruction detail.
  • Tags and Data Types — Global tag definitions, their data types, initial values, and descriptions. User-defined types (UDTs) and add-on instructions (AOIs) are fully defined.
  • I/O Configuration — Local I/O modules, remote I/O racks, network device configuration, and alias definitions.
  • Motion Groups and Axes — If the project uses CompactLogix or ControlLogix with motion, axis definitions and motion group configuration are included.

L5X vs ACD: What Is the Difference?

Both L5X and ACD files represent the same PLC project, but they serve different purposes. Understanding the distinction helps you choose the right format for your workflow.

ACD is the native Studio 5000 project file format. It is binary, meaning it is optimized for fast loading and editing within Studio 5000. ACD files contain additional metadata that L5X does not: online edit history (changes made while the controller was running), version binding information, and pending uncommitted changes. If you have a controller running online, edits are stored in the ACD file until you download them to the controller.

L5X is a text-based export. It represents a snapshot of the project at the moment of export. L5X files do not change when you edit the project in Studio 5000 — they are static exports. This means L5X files lack the online edit history, but they gain the advantage of being diffable and mergeable in version control systems like Git. After parsing thousands of files, we found that teams using L5X for version control significantly reduced merge conflicts compared to those attempting to version ACD files.

How L5X Files Are Created

Creating an L5X file is straightforward. Open your project in Studio 5000 Logix Designer, then use File > Save As and select the L5X file format. You have two options:

  • Export Entire Controller — Saves the complete project with all programs, routines, tags, and I/O configuration.
  • Export Program — Saves only a single program and its dependencies, useful for sharing specific routines or modules.

Once saved, the L5X file is a snapshot of that project state. To update the L5X, you export again. Many teams add L5X files to Git after each significant change, creating a detailed history of the project evolution.

Opening L5X Files Without Studio 5000

One of the major advantages of L5X format is that you do not need Studio 5000 to view the contents. Upload your L5X file to plc.company and you can browse the entire project in your browser: ladder logic rungs, tag definitions, routine cross-references, and I/O configuration. The viewer renders ladder logic visually, just as it appears in Studio 5000.

This is especially valuable during audits, documentation reviews, and knowledge transfer. An engineer without a Studio 5000 license can still read, understand, and export documentation from an L5X file using plc.company. You can also use the compare feature to see routine-by-routine differences between two L5X exports.

L5X in Version Control

L5X is the preferred format for Git-based PLC version control. Because L5X is XML text, Git can meaningfully diff and merge changes. Each rung, tag definition, and routine is stored as readable text. When two team members modify different routines and then merge, Git can automatically resolve conflicts in most cases. If conflicts do occur, they are displayed as readable XML, not binary gibberish.

Teams using L5X version control workflows typically:

  • Export L5X after each development session and commit to Git with a clear message describing the changes.
  • Review changes in Git before downloading to controllers, using diffs to verify logic modifications.
  • Maintain a main branch representing the deployed version, with feature branches for experimental logic.
  • Tag releases with Git tags corresponding to each controller firmware version, ensuring repeatable deployments.

L5X File Size and Performance

L5X files are typically smaller than ACD files because they do not contain online edit history or cached metadata. A typical L5X export ranges from a few hundred kilobytes for small projects to several megabytes for large industrial systems with hundreds of routines. XML is verbose as a format, but text compression is extremely effective — a gzipped L5X file is usually 10–15% the size of the uncompressed version, making it efficient for storage and transmission.

Parsing is fast because L5X is text. plc.company parses and renders L5X files in under 3 seconds, compared to longer wait times for binary ACD parsing. If you are sharing projects across slow networks or archiving long-term, L5X format is more efficient.

View Your L5X File Now

Upload your L5X file to plc.company and view ladder logic, tags, and routines in your browser — no Studio 5000, no license, no install required.

View Your L5X File

Upload your L5X file to explore ladder logic in your browser.

Drop your ACD or L5X file here

or browse to select

.ACD.L5X

Frequently Asked Questions

What is an L5X file?

An L5X file is an XML export format from Studio 5000 Logix Designer containing the complete or partial PLC project as human-readable XML. It includes programs, tags, routines, UDTs, AOIs, and I/O configuration — everything needed to reconstruct the project in another Studio 5000 installation.

How do I open an L5X file?

You can open an L5X file by launching Studio 5000 and using File > Import to import it into a new or existing project. Alternatively, upload your L5X file to plc.company to view it in your browser without Studio 5000 — no license required. The viewer shows ladder logic, tags, and routines identically to ACD files.

What is the difference between L5X and ACD?

L5X is a text-based XML export format, while ACD is the native binary project file used by Studio 5000. ACD files contain online edit history and version binding information that L5X files do not. L5X files are ideal for version control because they can be diffed and merged in Git; ACD files are binary and produce unusable diffs.

Can I edit an L5X file in a text editor?

Yes, L5X files are XML and can be opened and edited in any text editor. However, editing raw XML is error-prone — one misplaced tag breaks the entire file. Use Studio 5000 Logix Designer for proper editing, validation, and import.

Is L5X good for version control?

Yes — L5X is the preferred format for Git-based version control of PLC projects. Because it is text-based XML, you can meaningfully compare versions, see routine-by-routine changes, and merge branches. ACD files are binary and cannot be diffed or merged without specialized tools.

Start Viewing L5X Files Today

Upload an L5X file and explore your PLC project with ladder logic browsing, tag searching, routine cross-references, and AI-powered instruction explanations. Free to start.

View Your L5X File

Upload your L5X file to explore ladder logic in your browser.

Drop your ACD or L5X file here

or browse to select

.ACD.L5X