# Unrequired additional New Line at end of tag if text file import

**URL:** <https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318>\
**Category:** Support\
**Created:** [November 12, 2014, 12:51pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318 "2014-11-12T12:51:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![emaxxxxxxxx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5f8ce5/32.png) [@emaxxxxxxxx](https://community.mp3tag.de/u/emaxxxxxxxx)\
**Post date:** [November 12, 2014, 12:51pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/1 "2014-11-12T12:51:21Z")

</div>

hello everyone,

Why Mp3tag always add an extra New Line in a tag when I import a text file inside that tag?  
For example:

- I have a FLAC file named "file.flac", and a text file named "file.log"
- When I import the text file named "file.log" inside a tag named "LOG" inside the FLAC file named "file.flac", then Mp3tag add systematically a New Line at the end of the "LOG" tag!  
How to fix this, because I have hundreds of files to process, so I don't want to remove each New Line manually!!!

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)\
**Post date:** [November 12, 2014, 1:48pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/2 "2014-11-12T13:48:38Z")

</div>

I assume you have a blank line at the end of the file?  
E.g. (EOF = End of File).  
Line 1....  
Line 2....  
EOF  
You can try  
Line 1....  
Line 2....EOF

If that works you can open all text files in notepad++ and remove in batch all trailing blank lines.

---

<div class="post-metadata">

**Author:** ![emaxxxxxxxx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5f8ce5/32.png) [@emaxxxxxxxx](https://community.mp3tag.de/u/emaxxxxxxxx)\
**Post date:** [November 13, 2014, 1:49pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/3 "2014-11-13T13:49:03Z")

</div>

> [@Victor Kostas](#):
>
> I assume you have a blank line at the end of the file?  
> E.g. (EOF = End of File).  
> Line 1....  
> Line 2....  
> EOF  
> You can try  
> Line 1....  
> Line 2....EOF
> 
> If that works you can open all text files in notepad++ and remove in batch all trailing blank lines.

Thanks for your reply, but let me explain the problem in a better way:  
The content of the text file is:  
Line 1...  
Line 2 ...  
So when I use Mp3tag('Actions' menu) to import this text file inside a tag, Then the content of the tag is:  
Line 1...  
Line 2...Additional character  
NB: Inside Mp3Tag, this additional character is an 'empty square' symbol(character). And if I copy it inside Notepad++, it is a CRLF character.  
So my question is: Why Mp3Tag adds that additional character at the end of the tag ? or how to prevent this?  
I hope it's clearer this time, Thanks in advance!

---

<div class="post-metadata">

**Author:** ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)\
**Post date:** [November 13, 2014, 2:14pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/4 "2014-11-13T14:14:49Z")

</div>

> [@emaxxxxxxxx](#):
>
> Thanks for your reply, but let me explain the problem in a better way:  
> The content of the text file is:  
> Line 1...  
> Line 2 ...  
> So when I use Mp3tag('Actions' menu) to import this text file inside a tag, Then the content of the tag is:  
> Line 1...  
> Line 2...Additional character  
> NB: Inside Mp3Tag, this additional character is an 'empty square' symbol(character). And if I copy it inside Notepad++, it is a CRLF character.  
> So my question is: Why Mp3Tag adds that additional character at the end of the tag ? or how to prevent this?  
> I hope it's clearer this time, Thanks in advance!

That (probably) means your file has an empty trailing line. Can you attach a test file please?

---

<div class="post-metadata">

**Author:** ![emaxxxxxxxx](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5f8ce5/32.png) [@emaxxxxxxxx](https://community.mp3tag.de/u/emaxxxxxxxx)\
**Post date:** [November 14, 2014, 4:18pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/5 "2014-11-14T16:18:31Z")

</div>

> [@Victor Kostas](#):
>
> That (probably) means your file has an empty trailing line. Can you attach a test file please?

Good point, you're right:  
I just did another test, and the text file has an empty trailing line!!!  
So it's ok now 🙂  
In fact the imported text file was a log file from "Exact Audio Copy", and it was encoded "UTF-16 LE". So when I paste the tag from Mp3Tag to Notepad++, I must put it inside a new "UTF-16 LE" text file. My mistake was because I've put it inside a "UTF-8" new text file.(Then the checksum comparison test was failing between the original log file and the new utf8 new file!!!)

Thanks again for your help!!!  
Mp3Tag is the best!!!!!!!

---

<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:25pm UTC](https://community.mp3tag.de/t/unrequired-additional-new-line-at-end-of-tag-if-text-file-import/16318/6 "2026-02-09T12:25:22Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


