# Combine/merge two tags into one value

**URL:** https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719
**Category:** Mac
**Created:** [November 10, 2023, 12:12am UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719 "2023-11-10T00:12:21Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [November 10, 2023, 12:12am UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/1 "2023-11-10T00:12:21Z")

</div>

Hey was wondering if there's any way to combine two tag fields into one; to make sense of it I'm looking to combine the %catalognumber% and %album% tag's to the %album% tag;

so say I have for...

%catalognumber% = CAT001  
%album% = Greatest Hits

ideal output would be....

%album% = CAT001 Greatest Hits

and wold be cool to retain the original %catalognumber% value as is.

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: [November 10, 2023, 3:56am UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/2 "2023-11-10T03:56:29Z")

</div>

You can use the Converter\>Tag-Tag option. Set the Field to ALBUM and use the Format string  
`%catalognumber% %album%`  
to get the change you want for the full album name.

The converter function has the added benefit of a preview to see the expected results.

---

<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: [November 10, 2023, 6:27am UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/3 "2023-11-10T06:27:13Z")

</div>

> [@ankurbelnkrank](#):
>
> if there's any way to combine two tag fields into one

Just a footnote: it is usually very tricky to separate different pieces of data unless they are separated by a separator that does not originally appear in the data.  
So, after you have merged the 2 fields and you want to separate them again and get rid of the redundant part of the original catalog number, it would make things much easier if the separator was not a space character but something like an underscore.  
My suggestion would be to modify the

> [@MotleyG](#):
>
> Format string  
> `%catalognumber% %album%`

to:  
Format string: `%catalognumber% _ %album%`

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [November 10, 2023, 12:09pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/4 "2023-11-10T12:09:24Z")

</div>

Oh wow, I was overthinking that haha, thank you so much. Just wish I could use brackets in the string...

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [November 10, 2023, 12:11pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/5 "2023-11-10T12:11:13Z")

</div>

Good thing to note, thanks. I'll be keeping the fields separate in the directory titles and will be able to use that to convert back if need by, with the string " [%catalognumber%] %ALBUMARTIST% - %album%/dummy% " using Filename -\> Tag

---

<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: [November 10, 2023, 12:37pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/6 "2023-11-10T12:37:40Z")

</div>

Looks like you have figured it now, you can add brackets and most other characters during this process as well. Just insert them into the converter as desired. These will also appear in the preview to confirm you will get the desired results.

And as @ohrenkino has already suggested, including an identifiable separator helps should you reconsider this change and wish to split the data again in the future. Use something that is not likely to be used elsewhere in typical tag info.

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [November 10, 2023, 12:53pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/7 "2023-11-10T12:53:49Z")

</div>

I'm afraid that doesn't seem to be possible. This is what I see when entering brackets:

![Screen Shot 2023-11-10 at 6.49.36 AM](https://community.mp3tag.de/uploads/default/original/2X/c/c859607eb9594c1f8162a29c4028e5e3030ac5f2.png)

---

<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: [November 10, 2023, 1:24pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/8 "2023-11-10T13:24:09Z")

</div>

> [@ankurbelnkrank](#):
>
> This is what I see when entering brackets:

This is where the preview comes in very handy. Some characters have reserved uses. So to use them literally they need to be enclosed in single quotes. Try this as your format  
`'['%catalognumber%']' %album%`

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [November 10, 2023, 1:44pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/9 "2023-11-10T13:44:59Z")

</div>

Beautiful, another problem solved. Thanks so much!

---

<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: [December 10, 2023, 1:45pm UTC](https://community.mp3tag.de/t/combine-merge-two-tags-into-one-value/62719/10 "2023-12-10T13:45:17Z")

</div>

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