LinuxCommandLibrary

id3tag

command-line tool for viewing and editing ID3 tags in MP3 files

TLDR

View ID3 tags

$ id3tag [file.mp3]
copy
Set title
$ id3tag -t "[title]" [file.mp3]
copy
Set artist
$ id3tag -a "[artist]" [file.mp3]
copy
Set album
$ id3tag -A "[album]" [file.mp3]
copy
Set year and track number
$ id3tag -y [2024] -T [1] [file.mp3]
copy
Set genre
$ id3tag -g "[Rock]" [file.mp3]
copy
Remove all tags
$ id3tag -D [file.mp3]
copy

SYNOPSIS

id3tag [options] file...

DESCRIPTION

id3tag is a command-line tool for viewing and editing ID3 tags in MP3 files. Supports both ID3v1 and ID3v2 tags. Can set title, artist, album, year, track number, genre, and comments. Useful for batch tagging with shell scripts.

PARAMETERS

-t title

Set song title.
-a artist
Set artist name.
-A album
Set album name.
-y year
Set release year.
-T num
Set track number.
-g genre
Set genre.
-c comment
Set comment.
-D
Delete all tags.
-v
Verbose output.

SEE ALSO

id3v2(1), eyeD3(1), mp3info(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community