# How to auto number filenames

**URL:** https://community.mp3tag.de/t/how-to-auto-number-filenames/65537
**Category:** Support
**Created:** [August 9, 2024, 2:57pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537 "2024-08-09T14:57:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mountart](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mountart/32/13152_2.png) [@mountart](https://community.mp3tag.de/u/mountart)
#### Post date: [August 9, 2024, 2:57pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/1 "2024-08-09T14:57:54Z")

</div>

Hi, I can't seem to find anyway to auto number filenames, can someone help?

---

<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: [August 9, 2024, 2:59pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/2 "2024-08-09T14:59:58Z")

</div>

As Mp3tag is a tagging program, there is a function to get numbers into the tag field TRACK, see the tracknumbering wizard Ctrl-K.  
You could then generate new filenames from tag data.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 9, 2024, 3:12pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/3 "2024-08-09T15:12:18Z")

</div>

You can also use **Convert → Tag - Filename** with

`$num(%_counter%,2) %_filename%`

if you just want to prepend a number to the existing filename, but leave the metadata untouched. `%_counter%` in this context represents the current selection index of the file.

---

<div class="post-metadata">

### Author: ![mountart](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mountart/32/13152_2.png) [@mountart](https://community.mp3tag.de/u/mountart)
#### Post date: [August 9, 2024, 3:13pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/4 "2024-08-09T15:13:34Z")

</div>

Ah, yes I saw the auto number feature for tags. But, would you know how to generate new filenames from the tag data?

---

<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: [August 9, 2024, 3:20pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/5 "2024-08-09T15:20:29Z")

</div>

> [@mountart](#):
>
> But, would you know how to generate new filenames from the tag data?

Maybe this part of the documentation can help you:

> **[Rename Files – Mp3tag Documentation](https://docs.mp3tag.de/converters/rename-files/)**
>
> Documentation on Tag to Filename, a converter to rename files based on tags. Mp3tag is the universal Tag Editor.

and from the "First steps" **Renaming Files based on Tags**

> **[First Steps – Mp3tag Documentation](https://docs.mp3tag.de/getting-started/first-steps/#renaming-files-based-on-tags)**
>
> A collection of tasks with step-by-step instructions intended for novice users of Mp3tag. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![mountart](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mountart/32/13152_2.png) [@mountart](https://community.mp3tag.de/u/mountart)
#### Post date: [August 9, 2024, 3:33pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/6 "2024-08-09T15:33:34Z")

</div>

This is way too complicated for me. Not really sure why this is so complicated. But thanks.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [August 9, 2024, 3:46pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/7 "2024-08-09T15:46:56Z")

</div>

> [@mountart](#):
>
> This is way too complicated for me. Not really sure why this is so complicated.

Which part is too complicated? @Florian provided the most simple process using your existing filenames and adding a preceding number. @ohrenkino provided the full documentation for you after you requested more info on how to do this from the existing tags.

Perhaps what is missing from here is where you want these preceding numbers to come from. Is there a specific number you wish to include, like disc and track numbers? Or is there some other method you are looking to add?

Once you can answer this a more specific solution can be posted.

---

<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: [September 8, 2024, 3:46pm UTC](https://community.mp3tag.de/t/how-to-auto-number-filenames/65537/8 "2024-09-08T15:46:57Z")

</div>

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