KDE's Kid3 can do this. It is open-source software (GPL) and available on all major platforms.
The advantage over the other answers is that Kid3 is scriptable through its command-line interface. It also offers support for a variety of data formats and does a pretty good job at preserving information when converting between different tag types.
To copy the tags from file 1.flac
to file 1.mp3
, use the following command:
kid3-cli.exe . -c "select '1.flac'" -c "tag 2" -c "copy" -c "select '1.mp3'" -c "tag 2" -c "paste"
The tag 2
commands in the command sequence here select the second tag set in the file. This is mostly useful for MP3 files, where ID3v1 is tag 1
and ID3v2 is tag 2
. Vorbis tags only have a tag 2
. If you are unsure which is the correct source tag for your file, you can check in the Kid3 GUI.