Rename Music Files by Artist, Album & Track on Mac

Batchio's Audio Metadata rule reads ID3 tags and other audio metadata embedded in your music files, then writes the values directly into filenames. Organize your library by artist, album, track number, title, genre, or year without touching a single file manually.

How do you rename music files using metadata?

Add an Audio Metadata rule in Batchio, select the tag you want to insert (such as artist or track title), choose a position (prefix, suffix, or replace), and the app reads each file's embedded audio tags and writes the value into the filename automatically.

Music files downloaded from different sources often arrive with cryptic filenames like track01.mp3 or 01 Unknown Artist.flac, even though the correct metadata is embedded inside the file. Batchio extracts that metadata using the native macOS audio framework and lets you build clean, descriptive filenames from the actual tags. You can process an entire album or an entire library in a single batch operation.

The workflow is straightforward. Drag your music files into Batchio, add one or more Audio Metadata rules, and the live preview shows the resolved values for every file. If you want filenames like 01 Artist - Title.mp3, stack a track number rule with an artist rule and a title rule. Each rule inserts its tag in the position you specify, and you can include literal separator characters between them.

What audio metadata fields does Batchio read?

Batchio reads title, artist, album, track number, genre, and year from embedded audio tags. These fields cover the most common metadata stored in MP3, FLAC, AAC, AIFF, and WAV files.

Title and artist are the most frequently used fields for renaming because they produce immediately recognizable filenames. Album is useful when you want to group files into folders or prepend the album name to every track. Track number lets you preserve the original playback order in the filename, which keeps files sorted correctly in Finder even without a media player.

Genre and year are valuable for large collections where you categorize music by era or style. A DJ might rename tracks to include the genre and year for quick visual scanning during live sets. Each field is extracted from the file's embedded tags using Apple's AVFoundation framework, which supports all major audio formats natively on macOS. You can combine any number of these fields in a single renaming pass by stacking multiple Audio Metadata rules.

How does Batchio handle files without audio tags?

When a file is missing the selected audio tag, Batchio inserts customizable fallback text in its place. You set the fallback string in the rule settings so that files without metadata still receive a complete, predictable filename.

Not every audio file has complete metadata. Ripped CDs, recorded voice memos, and files downloaded from obscure sources often lack artist names, album titles, or genre tags. Without a fallback, these files would end up with gaps or empty sections in their filenames. The fallback text feature in Batchioprevents this by inserting a default value you define, such as "Unknown Artist" or "No Album", wherever the requested tag is empty.

The live preview highlights files that use the fallback text with a distinct indicator so you can identify them at a glance. This makes it easy to separate well tagged files from those that need metadata cleanup. If you want to add structure to files that have no audio tags at all, consider combining the Audio Metadata rule with the Numbering Sequence rule to at least give them an ordered, sequential filename.

Can you combine audio metadata with numbering and text rules?

Yes. Batchio processes rules in sequence, so you can stack Audio Metadata with Numbering Sequence, Change Case, EXIF Metadata, or any other rule type. Each rule operates on the output of the previous one, letting you build complex filenames in a single pass.

A common music organization workflow starts with the track number as a prefix, followed by the artist and title from Audio Metadata rules, and finishes with a Change Case rule to normalize capitalization. The result is consistent filenames like 01 Radiohead - Everything In Its Right Place.flac across your entire library. Because each rule is composable, you can rearrange or remove steps without starting over.

For mixed media collections that contain both photos and music files, you can add EXIF Metadata rules alongside Audio Metadata rules. Each rule type only applies to files that contain the relevant metadata. Photos receive camera based names while audio files pick up artist and album tags, all processed in the same batch. Our guide to renaming music by artist and title walks through the full workflow for organizing a music library.

Ready to Organize Your Music Library?

Download Batchio free on the Mac App Store. All 9 rule types included. Pro upgrade $4.99.

Coming Soon to the Mac App Store
Marcel Iseli
Marcel Iseli

Creator of Batchio · Indie App Developer

LinkedIn ↗

Marcel Iseli is an indie app developer and the creator of Batchio. He builds native macOS utilities focused on productivity and file management, with a focus on lightweight, subscription-free tools.