mp3rgain icon
mp3rgain icon

mp3rgain

Free, open-source CLI and GUI that losslessly normalizes MP3/AAC volume without re-encoding — a modern, cross-platform replacement for mp3gain and aacgain.

mp3rgain screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Platforms

  • Windows  Winget install available
  • Mac  Homebrew install available
  • Linux  AUR, PPA, NIX install available
  • Docker
3likes
0comments
0articles

mp3rgain News & Activities

Highlights All activities

Recent activities

mp3rgain information

GitHub repository

  •  102 Stars
  •  4 Forks
  •  3 Open Issues
  •   Updated  
View on GitHub
mp3rgain was added to AlternativeTo by M-Igashi on and this page was last updated .
No comments or reviews, maybe you want to be first?

Official Links

What is mp3rgain?

mp3rgain is a modern reimplementation of the classic mp3gain / aacgain tools, written in Rust. It adjusts the volume of MP3 and AAC/M4A files by rewriting the global_gain field in each frame — the audio is never decoded or re-encoded, so quality is preserved bit-exactly and every change can be undone with a single command.

Unlike tools that only write ReplayGain tags (which many hardware players, car stereos, and apps ignore), mp3rgain bakes the corrected volume into the file itself, so it plays at the right level everywhere. It uses the ReplayGain 1.0 algorithm (89 dB reference) for Track and Album gain analysis, fully compatible with the original mp3gain.

Key features:

  • Truly lossless gain adjustment for MP3 and AAC/M4A (the only actively maintained CLI for lossless AAC bitstream gain)
  • Fully undoable — mp3gain-compatible undo tags restore originals exactly
  • Drop-in mp3gain/aacgain replacement: identical CLI flags, TSV output, and tags (works with beets and existing scripts)
  • Zero dependencies: a single static binary, no ffmpeg required
  • Parallel multi-threaded analysis
  • Native GUI app (mp3rgui) with drag-and-drop for macOS, Windows, and Linux
  • ~2 MB multi-arch Docker image for containerized batch jobs (e.g. Plex library maintenance)
  • Installable via Homebrew, winget, AUR, PPA, Debian, Nix, MacPorts, Docker, and Cargo