Start a new topic

Export HMI to XML

I'm working on NETMF driver for Nextion displays. Driver is open source and available on

I would like to auto generate source file based on HMI file in which I would include:

- Page list

- Font list

- Component list

- Pictues list

Right now developer need to build this file by hand.

Can you please upgrade Nextion editor with export to XML function or document HMI file structure?

2 people like this idea

So here is the first draft of the HMI file format.
There are some fields I had no idea about, but it's still better than nothing...


(58.4 KB)

3 people like this

Hello Jernejk,

Recently I started to work on a HMI tool. My main goal is to be able to export fonts and images from HMI files, and later goal is to export/import complete pages.

As ITead support probably will be zero on passing the file structure and documentation, the only way is trial&error. Sadly my free time is limited but I try to document everything as much as I can. I will gladly share whatever I find if you are interested (i'm not up to make an XML exporter, so you have to make the HMI to XML conversion tool if you want one)

2 people like this

My NX3224T024 damage (MCU) and after change i can't find any info about recovery this module. So i buy ER-TFTM070-4 display, add simple STM32F103 controller and works on other version but compatible with Nextion Editor. Now sources for editor publish on github (see link above) and i debug firmware. As for .NETMF (if i need in future) possible make PCB with F4 (or F7) MCU except F103 and write image for .NETMF (or micropython or uC). But now need complete with Nextion. Also possible use uGFX but more complex.

2 people like this

Source available. Use as you want

2 people like this

I publish some initial info about HMI/TFT info .


2 people like this
I didn't read here for a long time...
What is the future goal of all this ?
To have an open-source / alternative Nextion-Editor ?
or to have an open-source / alternative Firmware on the MCU of the Nextion-displays ?
or maybe both ?


It would be nice if a group of people could come together / work together,
who have
the skills to develop an alternative NEXTION editor (open source),
and an alternative firmware (open source) for NEXTION displays (STM32),
since ITEAD obviously not have the resources to develop the whole project to a next level...


My goal is to build auto generated file directly from HMI which allows NETMF developer to access Nextion display through strongly typed objects.

This is almost done, so if you are NETMF developer please stick to the driver's homepage.

Hi Ferenc,

Thank you for you kind reply. I already asked Itead for file structure of HMI file, but they refused to give one. I will be glad, if you are prepared to share with me any information about HMI file structure and how to access to information about pages and controls.



If ITEAD publish current sources - development can more fastly.

I'm afraid that we have even less resources than ITEAD. If you managed to open source any of ITEAD parts (Editor or Firmware or even both) this would allow open source community to grow. Otherwise it is too much work to achieve what ITEAD already did.

But I'm also afraid that ITEAD si not very open source oriented... :(

>>"But I'm also afraid that ITEAD si not very open source oriented... :("
yes that's right unfortunately,
they do not understand, that they can sell really much much more of their NEXTION-hardware,
if the underlying Software and Firmware were a completely open source ecosystem ...
no one would "copy" their NEXTION-hardware because their price is already as low as it can be !


@Dirk: I totally agree with copy of NEXTION hardware and I hope someone from ITEAD is checking this thread and will reconsider their decisions about going open source...


i have sources for Nextion Editor and now change HMI format to XML (i know all HMI format and can publish if need).

Now i work on firmware codes because can't find sources for original ITEAD.

I use STM32F103 MCU with 7" display on SSD1963 from and custom controller board. Possible publish on github if interest for others.


P.S. Not a good that not works from outside CN

Login or Signup to post a comment