# Add .mp3 to a file

**URL:** <https://community.mp3tag.de/t/add-mp3-to-a-file/42688>\
**Category:** Support\
**Created:** [August 19, 2018, 2:00pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688 "2018-08-19T14:00:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 2:00pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/1 "2018-08-19T14:00:01Z")

</div>

Hi, there,  
I am here because I am trying to put "mp3" at the end of the audio files that do not have the mp3 extension. But when i try to place it by means of an action the file is also without extension because it leaves a point after mp3. For example:

Frank Sinata - Hello.mp3.

This means that the file is also left without an extension.  
I tried this in the format string: %\_FILENAME%.mp3

How can I add .mp3 to all the files that don't have it and that look good?

---

<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 19, 2018, 2:04pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/2 "2018-08-19T14:04:09Z")

</div>

there is also the variable %\_filename\_ext% that includes the extension.  
How do you get MP3tag to load and identify such files without extension?  
And wouldn't it be much easier to run a simple command shell command  
like  
`ren *. *.mp3`

---

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 2:50pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/3 "2018-08-19T14:50:44Z")

</div>

I identify the files because I have them all in the same directory. MP3Tag is able to load mp3 files without extension.

In this case with the variable %\_filename\_ext% the string format would be simply mp3? or as?  
I tried to do it, but it tells me it can't be written to the file.

Maybe it would be easier with batch but I would like to do it with mp3 tag hahaha

---

<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 19, 2018, 3:04pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/4 "2018-08-19T15:04:29Z")

</div>

see here for the description of variables:  
[https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)

---

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 3:12pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/5 "2018-08-19T15:12:51Z")

</div>

> [@Zontir](#):
>
> filename

Try to do it like this [Screenshot by Lightshot](http://prntscr.com/kkfwvz)  
and it tells me the same error that can't be written to the file

---

<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 19, 2018, 3:22pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/6 "2018-08-19T15:22:25Z")

</div>

What about  
Format value for FILENAME\_EXT  
Format string: %\_filename%.mp3

---

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 3:34pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/7 "2018-08-19T15:34:24Z")

</div>

> [@ohrenkino](#):
>
> %\_filename%.mp3

same error [Screenshot by Lightshot](http://prntscr.com/kkg45o)

---

<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 19, 2018, 3:34pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/8 "2018-08-19T15:34:56Z")

</div>

so whch other program tries to access that file?  
Can you rename it manually?

---

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 3:48pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/9 "2018-08-19T15:48:42Z")

</div>

No, no other program is using this file. And if I can rename it manually, with another program like AdvancedRenamer I can do it too.

---

<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 19, 2018, 3:50pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/10 "2018-08-19T15:50:09Z")

</div>

You can use an action "Replace with regular expression" using

`$`

as regular expression and replace the match by

`.mp3`

---

<div class="post-metadata">

**Author:** ![Zontir](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zontir/32/473_2.png) [@Zontir](https://community.mp3tag.de/u/Zontir)\
**Post date:** [August 19, 2018, 3:56pm UTC](https://community.mp3tag.de/t/add-mp3-to-a-file/42688/11 "2018-08-19T15:56:22Z")

</div>

Yess!!! Thanks you so much Sr! Just what I needed.  
Taking this opportunity, thank you very much for creating such a wonderful program.

Greetings

---

<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/add-mp3-to-a-file/42688/12 "2026-02-09T12:27:36Z")

</div>


