# Remove tags as an action

**URL:** https://community.mp3tag.de/t/remove-tags-as-an-action/57758
**Category:** General Discussion
**Created:** [June 26, 2022, 2:12pm UTC](https://community.mp3tag.de/t/remove-tags-as-an-action/57758 "2022-06-26T14:12:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ehrlacher](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5e9695/32.png) [@ehrlacher](https://community.mp3tag.de/u/ehrlacher)
#### Post date: [June 26, 2022, 2:12pm UTC](https://community.mp3tag.de/t/remove-tags-as-an-action/57758/1 "2022-06-26T14:12:03Z")

</div>

I'm usually using the built-in menu-action "Remove Tags" (CTRL+R) to delete all other tags than ID3v.2.4 from my mp3. This works fine.  
Now I want to include this action in an action group - but doesn't know how...?!

2nd question:  
If I do this action to FLAC files, all tags are gone.  
To exclude them Is there a way to write something like "if %tag% \<\> flac then "remove tags"?

Thanks!

---

<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: [June 26, 2022, 2:25pm UTC](https://community.mp3tag.de/t/remove-tags-as-an-action/57758/2 "2022-06-26T14:25:54Z")

</div>

> [@ehrlacher](#):
>
> Now I want to include this action in an action group - but doesn't know how...?!

You can use this two actions  
a) [Remove fields](https://docs.mp3tag.de/actions/remove-fields/)  
b) [Remove fields except](https://docs.mp3tag.de/actions/remove-fields-except/)

Using the first one, you can define all the tags you want to remove by name.  
Using the second one, you define all the tags you want NOT to be removed (keeped).

> [@ehrlacher](#):
>
> To exclude them Is there a way to write something like "if %tag% \<\> flac then "remove tags"?

You could use a filter first to list only the files with other extensions then FLAC.  
Something like  
`NOT %_tag% HAS FLAC`  
or  
`NOT %_extension% IS FLAC`  
Or you define a new column with a value like `%_CODEC%` or `%_FILENAME_EXT%` and sort your tracks by this column. Then you select only the ones you want to apply your action.

---

<div class="post-metadata">

### Author: ![ehrlacher](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5e9695/32.png) [@ehrlacher](https://community.mp3tag.de/u/ehrlacher)
#### Post date: [June 26, 2022, 2:36pm UTC](https://community.mp3tag.de/t/remove-tags-as-an-action/57758/3 "2022-06-26T14:36:51Z")

</div>

@LyricsLovers thanks, but this is not what I mean:  
I already have an action "remove field except ALBUM;ALBUMARTIST;ARTIST;COMPOSER;COPYRIGHT;GENRE;LYRICIST;MEDIATYPE;PICTURE;TITLE;TRACK;YEAR" but it leaves old ID3v.2.1 tags eg.

Maybe I should explain it more specific:  
I wanna only have files with ID3v2.4 tags in my collection. No other I, I D-tags.

I defined:  
Read: ID3v2  
Write: ID3v2.4 UTF-8  
Remove: ID3v1, APE

So if I get a file with (e.g.) ID3v1 tags , I press CTRL+R and SAVE and all other tags are deleted and only ID3v2.4 tags are written (shown under %\_tag\_read%[(%\_tag%)] )

This "action" (CTRL+R) I wanna include as an action in an action group...

And yes, the solution with a special column and sorting is the way I do it now - but I was looking for a solution to have MP3tag do this that it automatically "ignores" FLACs...

---

<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: [June 26, 2022, 2:42pm UTC](https://community.mp3tag.de/t/remove-tags-as-an-action/57758/4 "2022-06-26T14:42:06Z")

</div>

> [@ehrlacher](#):
>
> This "action" (CTRL+R) I wanna include as an action in an action group...

I don't think that the status has changed since:

> [@remove other tag type or like ctrl+x ctrl+v](https://community.mp3tag.de/t/remove-other-tag-type-or-like-ctrl-x-ctrl-v/13277/2):
>
> No, I'm afraid removing tags can't be done through an action. This is a long standing enhancement request and one of Mp3tag's shortcomings, IMO. Tag management, in general, is somewhat awkward and non-intuitive. There are a number of things like this cannot be done in an action. BTW, I prefer to use Save (Ctrl+S) and Remove (Ctrl+R) instead of using Cut and Paste to remove unwanted ID3 tags. It just feels safer and doesn't rely on the clipboard.
