Audio Tag Editor
Operator: Abdulla Al Fahad. How tools are built and checked
Fixing one wrong field in a tag should not disturb the frames you never touched, the cover, or a single byte of the audio. This editor rewrites only the fields you change and puts the new tag in front of the original audio, so nothing is re-encoded.
It covers the fields people actually fix in a library: title, artist, album, album artist, year, track, disc, genre, comment, lyrics and cover art, in MP3 files (ID3v2) and FLAC files (Vorbis comments and the picture block).
Key features
- Title, artist, album, album artist, year, track, disc, genre, comment and lyrics for MP3 and FLAC
- Cover art as a JPEG or PNG, added, replaced or removed on one file or many
- Batch editing: tick files and change a field on all of them, or number them 1/12 to 12/12 in list order
- File names built from a pattern such as {track} - {title}
- A ZIP of the results, each rewritten file read back to confirm its fields
Where each field lives in ID3 and FLAC tags
In an MP3 the fields live in ID3v2 frames: TIT2 title, TPE1 artist, TALB album, TPE2 album artist, TDRC (v2.4) or TYER (v2.3) year, TRCK track, TPOS disc, TCON genre, COMM comment, USLT lyrics and APIC picture, where picture type 3 is the front cover. A numeric genre such as (17) is shown by name. In v2.3 text is written as Latin-1 where it fits and as UTF-16 with a byte-order mark otherwise; in v2.4 it is UTF-8. The new tag is followed by 512 bytes of padding, and an ID3v1 tag at the end of the file is left alone.
In a FLAC file the fields are Vorbis comments, KEY=value pairs with case-insensitive keys: TITLE, ARTIST, ALBUM, ALBUMARTIST, DATE, TRACKNUMBER with TRACKTOTAL, DISCNUMBER with DISCTOTAL, GENRE, COMMENT and LYRICS. The cover is a PICTURE block (metadata block type 6), written as picture type 3, the front cover; a block can be at most 16 MB. STREAMINFO, seek table, application and cue sheet blocks are copied, padding blocks are dropped and the audio frames follow unchanged. The page takes up to 200 files of up to 1 GB, with at most 64 MB of tag in each; a cover may be up to 5 MB.
An MP3 with no ID3v2 tag is accepted only if its first 64 KB contain an MPEG audio frame header whose frame length leads to a second valid header or to the end of the file (an ID3v1 tag of up to 128 bytes may follow). A renamed text file or a few stray bytes has neither and is refused.
How it works
Each file is read once. For an MP3 the first 10 bytes give the tag's length and the tag is parsed; for a FLAC the block headers are walked and only the comment and picture blocks are decoded. Your edits are kept apart from what was read, and a field counts as edited only when its text differs from the original.
When a file is written, the frames or comments of edited fields are replaced and every other one is copied as it was, chapter frames included. If the tag version you ask for differs from the file's, version-specific frames are converted or dropped: a v2.4 year becomes a v2.3 year when its first four characters are a year, UTF-8 frames are re-encoded for v2.3 where their layout is known, and the frames that cannot move, chapters among them, are named in the result, such as TDOR in 04 Time.mp3.
The new file is a Blob made of the new tag plus a slice of the original file, so the audio is never copied into memory. It is then read back with the same parser, and any edited field that does not come back as typed is listed.
Common use cases
- Numbering a 12-file album: tick all, press Number the ticked files in list order for 1/12 to 12/12, set the album artist and cover once, then use the pattern {track} - {title} to get 03 - Title.mp3.
- Adding lyrics to one song so a phone player can show them: paste them into the Lyrics box, which becomes a USLT frame in an MP3 and a LYRICS comment in a FLAC.
- Fixing a ripped disc where every track says Unknown Artist: tick all of the files and type the artist once.
- Removing the cover from 40 podcast episodes: tick all, press Remove the cover, and a 300 KB picture on each file saves 12 MB in all.
How to use this tool
- Drop MP3 or FLAC files, or choose them with the file picker.
- Tick the files to change; one ticked file shows its own values, several show a field's shared value or 'different values'.
- Edit the fields; typing sets that field on every ticked file.
- Choose a cover, remove it, or press Number the ticked files in list order.
- Optionally pick the MP3 tag version and type a file name pattern.
- Press Write tags and make the ZIP, then download it.
Example
04 Time.mp3, ripped from The Dark Side of the Moon with an ID3v2.4 tag (title Time, artist Pink Floyd, year 1973-03-01, original release date 1973-03-01, track 4, genre Rock). Set the track to 4/10 and the album artist to Pink Floyd, with MP3 tag version Always ID3v2.3
Track: 4 -> 4/10
Album artist: (empty) -> Pink Floyd
MP3 tag version: Always ID3v2.3Tag before and after in 04 Time.mp3
Title: Time (unchanged)
Track: 4 -> 4/10
Album artist: (empty) -> Pink Floyd
Year: 1973-03-01 -> 1973, the v2.4 date frame TDRC becoming TYER
Original release date (TDOR): dropped, and the page reports "1 frame from a different tag version could not be carried over: TDOR in 04 Time.mp3"
Audio: byte for byte the sameCommon pitfalls
A full date such as 2024-05-17 is kept as written in v2.4, but v2.3 can hold only the year here, so converting down keeps the first four digits.
Cover art must be a JPEG or PNG, because many players read only those two. A large picture is copied into every file you apply it to.
- A field shows 'different values' when the ticked files disagree. Leave it alone to keep each file's own value; type in it and the new value goes on all of them.
- Choose Always ID3v2.3 for older car stereos and hardware players, which often cope poorly with v2.4's UTF-8. Keep each file's version avoids any conversion.
Common errors and how to fix them
- song.m4a is not an MP3 or FLAC file
- M4A, Ogg and WAV store tags in other structures that this page does not edit. Convert the file to MP3 or FLAC first.
- This file has no ID3 tag and no MPEG audio frames, so it does not look like an MP3
- The file is empty, damaged or another format with an .mp3 name. Open it in a player to see whether it plays; only files that begin with an ID3 tag or a valid MPEG frame are edited.
- This is not a FLAC file (it does not start with fLaC)
- The file may be Ogg FLAC or carry the wrong extension. Plain .flac files begin with the four letters fLaC.
- The year should be four digits, optionally followed by a month and day
- Type 2024 or 2024-05-17. The same check applies to track and disc, which take 3 or 3/12.
- Some fields did not read back as typed
- Look at the fields named. Trailing spaces are trimmed and a genre typed as (17) reads back as Rock; anything else means you should write the file again from the original.
Best practices
- Fill in the album artist on compilations: most players group albums by it, and an empty one splits the album by track artist.
- Write the track total (3/12) on every file, since some players sort by the number alone and others display the total.
- A square JPEG between 500 and 1,000 pixels is a safe cover: players show it small, and it keeps every file's size down.
ID3v2.3 or ID3v2.4
Version 2.4 added UTF-8 text, replaced the separate year, date and time frames of v2.3 with the single TDRC, and lets a text frame hold several values. Version 2.3 is the older and more widely read of the two; it can store only Latin-1 or UTF-16 text. Keeping each file's own version avoids converting anything, and a file with no tag gets v2.3. Chapters embedded in a tag cannot cross versions here, so an explicit version choice drops them and the page names the frames that were left out.
Frequently asked questions
Why did my full release date turn into a year?
Converting to ID3v2.3 replaces the v2.4 date frame TDRC with TYER, which holds only four digits, so 1973-03-01 becomes 1973. Keep each file's version, or choose ID3v2.4, to keep the full date.
Can it edit M4A, Ogg or WAV files?
No. Those formats keep tags in MP4 atoms, Ogg comments or RIFF chunks, which are different structures from ID3 and FLAC blocks.
Does writing a tag change how the file sounds?
No. An MP3's audio starts right after its tag and a FLAC's frames follow its metadata; the new file contains a slice of the original audio, byte for byte.
What happens to chapters in an MP3 tag?
With the default of keeping each file's version, the CHAP and CTOC frames are copied untouched. Podcast Chapters Editor is the tool for changing them.