# Batch convert Title field to add leading number?

**URL:** https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469
**Category:** Support
**Created:** [April 21, 2024, 12:17pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469 "2024-04-21T12:17:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pitweasel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@pitweasel](https://community.mp3tag.de/u/pitweasel)
#### Post date: [April 21, 2024, 12:17pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/1 "2024-04-21T12:17:36Z")

</div>

Hi everyone,

My car has an annoying feature where it uses the Title field from the ID3 data to sort things, so songs in an album come up alphabetically. To solve this, I need the Title to read as Track Number - Song Name (something like 01 - The Package, 02 - Weak and Powerless, etc). This is how the files are already named, so I just need to find a way to automatically insert the file name into the Title field of the tags.

[This thread](https://community.mp3tag.de/t/adding-track-numbers-into-name-field/6220/11) that I found seems to show the scripts needed to do it. And [this thread](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016) talks about using the "converter" menu, but that only gives me options to change the "Track" field, but not the "Title" field.

Can someone help me with the final push? I think the scripts above are what I need, but I don't understand how to use them.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![anon32189785](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@anon32189785](https://community.mp3tag.de/u/anon32189785)
#### Post date: [April 21, 2024, 12:40pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/2 "2024-04-21T12:40:15Z")

</div>

- Open [tag - tag]  
 ![tag-tag 01](https://community.mp3tag.de/uploads/default/original/3X/0/6/06b53b484a10bb98934d2d5ffb4b1cbbaefbf447.jpeg)
- select field TITLE
- then insert "$num(%track%,2) - %title%" as Format String  
 ![tag-tag 02](https://community.mp3tag.de/uploads/default/original/3X/8/b/8ba4ebabde7c42eab28563abb9881b7376f7c97b.jpeg)

Of course: don't forget to actually select the files the TITLES of which you want to change. And make sure you have track numbers 😉

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 21, 2024, 12:44pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/3 "2024-04-21T12:44:24Z")

</div>

If you have your files already named

```auto
01 - The Package.mp3
02 - Wead and Powerless.mp3

```

and you want to have the same information as content in TITLE,  
you can use the menu Convert Filename -\> Tag (press Alt+2)  
with the Format string  
`%TITLE%`

![image](https://community.mp3tag.de/uploads/default/original/3X/f/2/f2be706027690f3504f6098a7a9f495a732e4091.png)

If you want to create your TITLE content from the existing content of the tag TRACK and the existing content in TITLE, then you can use @anon32189785's suggestion.

---

<div class="post-metadata">

### Author: ![pitweasel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@pitweasel](https://community.mp3tag.de/u/pitweasel)
#### Post date: [April 21, 2024, 1:11pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/4 "2024-04-21T13:11:23Z")

</div>

Thank you both so much!!

@LyricsLover, since my current method of ripping CDs does put the track number in the file name, your solution works and is incredibly simple!

@anon32189785, if I ever end up with a different file naming system but the tags are already in place, it looks like this would work, so thank you so much for the directions!

---

<div class="post-metadata">

### Author: ![Ragiggman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Ragiggman](https://community.mp3tag.de/u/Ragiggman)
#### Post date: [April 21, 2024, 3:23pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/5 "2024-04-21T15:23:45Z")

</div>

Hi. Further to the original thread you mentioned, I eventually wrote it all up on my blog with step-by-step instructions and screenshots. Here:

> **[USB MP3 Tracks Play in Wrong Order – Work-around](https://petervodden.blog/portfolio/usb-mp3-tracks-play-in-wrong-order-work-around/)**
>
> Work-around for Problem: Car media player plays MP3 music tracks from a USB-stick in the wrong sequence.

---

<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: [April 21, 2024, 3:31pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/6 "2024-04-21T15:31:12Z")

</div>

And another alternative:  
If you want to add some files in a different order than TRACK suggests and/or the import from the filename into the TITLE spoils some special characters or leaves out information that has not been incorporated in the filename, then try:  
Convert\>Tag-Tag for TITLE  
Format string: `$num(%_counter%,2) __ %title%`  
The double underscore caters for the time when you want to remove the leading number again and get the pure TITLE.

---

<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: [May 21, 2024, 3:31pm UTC](https://community.mp3tag.de/t/batch-convert-title-field-to-add-leading-number/64469/7 "2024-05-21T15:31:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
