# Create Artist & Title from filename?

**URL:** https://community.mp3tag.de/t/create-artist-title-from-filename/57845
**Category:** Support
**Created:** [July 6, 2022, 9:39am UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845 "2022-07-06T09:39:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Raystr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@Raystr](https://community.mp3tag.de/u/Raystr)
#### Post date: [July 6, 2022, 9:39am UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/1 "2022-07-06T09:39:32Z")

</div>

Hi Everyone, pretty new to all of this - can someone help me please? I have song titles like this: The Beatles - Strawberry Fields Forever.mp3 and want to create artist & title from the file name but no idea what to do. Can someone get me on the right course of action please? Thank You so much.

Ratystr

---

<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: [July 6, 2022, 9:49am UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/2 "2022-07-06T09:49:22Z")

</div>

You could read the first steps on how to import parts of the filename into tags:

> **[First Steps – Mp3tag Documentation](https://docs.mp3tag.de/getting-started/first-steps/#importing-parts-of-the-file-name-to-the-tag)**
>
> A collection of tasks with step-by-step instructions intended for novice users of Mp3tag. Mp3tag is the universal Tag Editor.

If you need any further help, let us know what exactly doesn't work for you.

---

<div class="post-metadata">

### Author: ![Raystr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@Raystr](https://community.mp3tag.de/u/Raystr)
#### Post date: [July 6, 2022, 1:23pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/3 "2022-07-06T13:23:55Z")

</div>

Really Helpful - Thank You so much!

---

<div class="post-metadata">

### Author: ![Raystr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@Raystr](https://community.mp3tag.de/u/Raystr)
#### Post date: [July 6, 2022, 2:08pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/4 "2022-07-06T14:08:41Z")

</div>

I'm getting there! but when I put in the following %artist% %title% it results in the dash being copied as well eg: The Beatles - Strawberry Fields Forever, becomes The Beatles **-** (note the dash) followed by the title (which is correct), how can I do it without carrying the dash over - sorry to bother you!

---

<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: [July 6, 2022, 2:15pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/5 "2022-07-06T14:15:07Z")

</div>

No problem.

Just use a format string like  
`%artist% - %title%`  
include the space the dash and the space into your "import string".  
Every single character counts for such a convert function.

---

<div class="post-metadata">

### Author: ![Raystr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@Raystr](https://community.mp3tag.de/u/Raystr)
#### Post date: [July 6, 2022, 3:49pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/6 "2022-07-06T15:49:49Z")

</div>

Fab - I'll have a go - Thank you once againnnn  
Ray

---

<div class="post-metadata">

### Author: ![Raystr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/c4cdca/32.png) [@Raystr](https://community.mp3tag.de/u/Raystr)
#### Post date: [July 6, 2022, 5:32pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/7 "2022-07-06T17:32:04Z")

</div>

Bingo! - All sorted - Thank you so much LL, you're a lifesaver!  
Top man!

---

<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: [August 5, 2022, 5:32pm UTC](https://community.mp3tag.de/t/create-artist-title-from-filename/57845/8 "2022-08-05T17:32:06Z")

</div>

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