# Set artist and title tags from filename

**URL:** https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390
**Category:** Support
**Created:** [January 3, 2011, 3:13pm UTC](https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390 "2011-01-03T15:13:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kanin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/3da27b/32.png) [@Kanin](https://community.mp3tag.de/u/Kanin)
#### Post date: [January 3, 2011, 3:13pm UTC](https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390/1 "2011-01-03T15:13:30Z")

</div>

I wonder how do I set artist and title tag from the filename?  
For an example the filename is "Oilygear - Zinger" and the artist and title tags are blank. Can I somehow copy the word before the dash and place it in the artist tag and the word after the dash in the song tag?  
Becouse I've got multiple files like this so it would just be easier to not do this manually.

---

<div class="post-metadata">

### Author: ![stanman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@stanman](https://community.mp3tag.de/u/stanman)
#### Post date: [January 3, 2011, 3:20pm UTC](https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390/2 "2011-01-03T15:20:43Z")

</div>

Go to Convert \> Filename - Tag and for format string put:

%artist% - %title%

---

<div class="post-metadata">

### Author: ![Kanin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/3da27b/32.png) [@Kanin](https://community.mp3tag.de/u/Kanin)
#### Post date: [January 3, 2011, 3:24pm UTC](https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390/3 "2011-01-03T15:24:56Z")

</div>

Oh, I've never noticed that, thanks!

---

<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:22pm UTC](https://community.mp3tag.de/t/set-artist-and-title-tags-from-filename/11390/4 "2026-02-09T12:22:48Z")

</div>


