# Malformed HTML file on export

**URL:** <https://community.mp3tag.de/t/malformed-html-file-on-export/42908>\
**Category:** Support\
**Created:** [September 10, 2018, 2:38pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908 "2018-09-10T14:38:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gedeon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@Gedeon](https://community.mp3tag.de/u/Gedeon)\
**Post date:** [September 10, 2018, 2:38pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908/1 "2018-09-10T14:38:06Z")

</div>

Hi,

Sorry for my english, and thanks for this very good program.  
If I would export many folders in an HTML file, with option to add content to existing file (to have all content in one file), the result is one HTML file with many headers, body and so on...  
OK, its conform to the checkbox, but this file is corrupted.

A file like ("\<" and "\>" are replaced by "-")  
-html-  
-head-  
-/head-  
-body-  
-table\>Folder 1 content\</table-  
-table\>Folder 2 content\</table-  
-table\>Folder 3 content\</table-  
......  
-table\>Folder N content\</table-  
-/body-  
-html-

should be exist.

Thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [September 10, 2018, 4:05pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908/2 "2018-09-10T16:05:02Z")

</div>

It is very hard to tell where the bug should be without a look at the original export script.

---

<div class="post-metadata">

**Author:** ![Gedeon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@Gedeon](https://community.mp3tag.de/u/Gedeon)\
**Post date:** [September 10, 2018, 5:55pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908/3 "2018-09-10T17:55:55Z")

</div>

I use this commands 🙂  
File / Export =\> html\_mp3tag  
Append data : checked  
One file per directory : checked

No file can be attached in this interface, so I send an short extract of my file (3584 Body tag in my file) by mail (just 6 x Body tag in this file).

Thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [September 10, 2018, 6:05pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908/4 "2018-09-10T18:05:20Z")

</div>

I just used the shipped html\_mp3tag export script on 2 folders with no problems.

Yet, if you want to use one file per folder, then the name of the export file should contain a variable that is unique for that folder like e.g. %artist%\_%album%.  
I do not think that the options to append a file and create a file per folder go together very well.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/malformed-html-file-on-export/42908/5 "2026-02-09T12:27:39Z")

</div>


