# Would like to have "Length" of track in html report

**URL:** <https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691>\
**Category:** Support\
**Created:** [January 14, 2018, 10:42pm UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691 "2018-01-14T22:42:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![treadhead194](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@treadhead194](https://community.mp3tag.de/u/treadhead194)\
**Post date:** [January 14, 2018, 10:42pm UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691/1 "2018-01-14T22:42:53Z")

</div>

I'm trying to get the "Length", time, in the html report of my mp3s. The HTML\_Standard does have the column heading "Length" but does not report it I'm guessing that the string I have in there is incorrect to report the "Length" but I have no clue as to how to change it. The string that I have in the body of the report is:  
\<td$if($odd(%\_counter%), class="odd",)\>$replace(%length%,&,&).

I know this must be wrong because the "Length" has to do with time and it's probably not reported as text, so my question is how do I change the string to report correctly?

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [January 15, 2018, 4:50am UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691/2 "2018-01-15T04:50:22Z")

</div>

It is **%\_length%** , not %length%.

---

<div class="post-metadata">

**Author:** ![treadhead194](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@treadhead194](https://community.mp3tag.de/u/treadhead194)\
**Post date:** [January 15, 2018, 11:24am UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691/3 "2018-01-15T11:24:54Z")

</div>

Thanks. I do not know coding soooooo.......

---

<div class="post-metadata">

**Author:** ![The\_Archivist](https://community.mp3tag.de/user_avatar/community.mp3tag.de/the_archivist/32/6616_2.png) [@The\_Archivist](https://community.mp3tag.de/u/The_Archivist)\
**Post date:** [July 10, 2019, 10:50pm UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691/4 "2019-07-10T22:50:53Z")

</div>

Don't worry, finding that subtle difference isn't obvious anywhere (and even in the dialogs inside of MP3Tag, it does not suggest that string, only the one without the underscore (i.e: %length%).

---

<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:** [July 11, 2019, 5:15am UTC](https://community.mp3tag.de/t/would-like-to-have-length-of-track-in-html-report/19691/5 "2019-07-11T05:15:13Z")

</div>

> [@The\_Archivist](#):
>
> and even in the dialogs inside of MP3Tag, it does not suggest that string, only the one without the underscore

This is true if you have used a user-defined field with the name %length%.  
To test this, you could reset the list of fields to its original contents with the functions in the right-arrow-menu next to the list.  
Otherwise you find the reference to %\_length% in the help on exports:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

and also in the list of information fields - not in the list of tag fields.

---

<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/would-like-to-have-length-of-track-in-html-report/19691/6 "2026-02-09T12:27:11Z")

</div>


