LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if it was possible in any way to see the actual code that is generated by the Lego Mindstorms IDE.

I know there isn't a direct 'export to code' option within the tool but I wondered if there was a third party tool by any chance.

On a related note, it seems the files that are saved (.ev3) are just raw data. Is there any specification for the file format?

Any info would be greatly appreciated!

share|improve this question
up vote 7 down vote accepted

The .ev3 file is actually just a zip file. You can use any zip utility to browse the contents or unzip it. It will look something like this:

├── Activity.x3a
├── ActivityAssets.laz
├── Program.ev3p
├── Project.lvprojx
├── ___CopyrightYear
└── ___ProjectTitle

The ___* files are just plain text files, ActivityAssets.laz is another zip file and the rest are xml files.

share|improve this answer
Heh, I didn't know. – nicael Jun 20 '14 at 5:54
Awesome, thanks! This should at least get me started. – Doowybbob Jun 20 '14 at 21:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.