I am looking for software (or a Python library if such software is not available) that can convert the following type of .xml files into readable text. The library should be able to convert the readable text back to the original format.

<?xml version="1.0" encoding="utf-8"?>
<xmlarchive generator="IPS_KERNEL" created="1404545473" ipbLongVersion="34012" ipbHumanVersion="3.4.6">

The reason behind this question is that I'm installing some plugin for my forum (IPB), the plugin is provided as XML files, but I would like to make some modifications to it as I'm not happy with the default settings.

Thank you very much in advance for your help!

  • Do you know what the encoding of this content is? It doesn't look like Base64 which is what I would normally expect to see. Commented Mar 8, 2023 at 18:40
  • As stated above, you need to know the encoding method. Otherwise how is the software supposed to know what it should do? The only other possibilit is brute forcing most common methods or combinations of them, but it could as well be a very unique implementation.
    – Destroy666
    Commented Mar 9, 2023 at 0:12
  • But it does look to be just base64 if you remove the repeating trailing &#13; So you can just use pure Python script.
    – Destroy666
    Commented Mar 9, 2023 at 0:18

1 Answer 1


You can write a script with pure Python 3. These modules can help you:

As mentioned in the comment, to decode the value of content, you need to remove all the &#13; first, which seem to be carriage returns as HTML entities.

  • Thanks for your answer!
    – f10w
    Commented Mar 11, 2023 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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