# Write to the COMPILATION tag (What mapping should I use)

**URL:** <https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266>\
**Category:** Support\
**Created:** [May 18, 2021, 1:50pm UTC](https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266 "2021-05-18T13:50:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [May 18, 2021, 1:50pm UTC](https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266/1 "2021-05-18T13:50:56Z")

</div>

I would like to write the `COMPILATION` tag in mp3tag.

The trouble is if I save the file and open the properties in foobar2000 the tag appears as `ITUNESCOMPILATION`.

I'm not sure what mapping I need in order for this to work in mp3tag.

---

<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:** [May 18, 2021, 2:02pm UTC](https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266/2 "2021-05-18T14:02:06Z")

</div>

I don't think that you need any mapping at all. foobar2000 decides to display the compilation field as `ITUNESCOMPILATION`, but if you write from Mp3tag `COMPILATION` is the way to go (it writes to `TCMP` for ID3v2 and `cpil` for MP4).

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [May 18, 2021, 2:18pm UTC](https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266/3 "2021-05-18T14:18:50Z")

</div>

The trouble is I'm writing to FLAC and MP3.

If I write to the `COMPILATION` tag for FLAC, it's fine but then in foobar2000 it's different to the `ITUNESCOMPILATION` for the MP3s.

I suppose all I can do is map `VorbisComment` like so?

![image](https://community.mp3tag.de/uploads/default/original/2X/4/479080c720bf3ab368475f4445979b69daaf4919.png)

---

<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:29pm UTC](https://community.mp3tag.de/t/write-to-the-compilation-tag-what-mapping-should-i-use/53266/4 "2026-02-09T12:29:15Z")

</div>


