Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mp3cat

> 编程语言
Open source

A command line utility for joining MP3 files.

198 stars0 likes1 views
WebsiteGitHub

About

A command line utility for joining MP3 files.

MP3Cat

MP3Cat is a simple command line utility for concatenating MP3 files without re-encoding.

Download

You can download a pre-compiled binary from the releases page.

Build

MP3Cat is written in Go. If you have a Go compiler installed you can run:

go install github.com/dmulholl/mp3cat@latest

This will download, compile, and install the latest version of the application to your $GOPATH/bin directory.

Usage

Run mp3cat --help to view the command line help:

Usage: mp3cat [files]

  This tool concatenates MP3 files without re-encoding.

Arguments:
  [files]                 List of files to merge.

Options:
  -d, --dir         Directory of files to merge.
  -o, --out         Output filepath.

Flags:
  -f, --force             Overwrite an existing output file.
  -h, --help              Display this help text and exit.
  -q, --quiet             Run in quiet mode.
  -v, --version           Display the version number.

You can specify the input as a list of filenames, e.g.

$ mp3cat one.mp3 two.mp3 three.mp3

Or, using globbing, e.g.

$ mp3cat *.mp3

Alternatively, you can specify an entire directory of .mp3 files to concatenate, e.g.

$ mp3cat --dir /path/to/directory

The output filename defaults to output.mp3 but you can specify a custom filename using the -o/--out option, e.g.

$ mp3cat *.mp3 -o joined.mp3

This utility works most reliably with constant-bit-rate input — it will add a VBR header if it detects multiple bit-rates in the input files but variable-bit-rate MP3s have patchy player support and should generally be avoided if at all possible.

Status

This application is in maintenance mode — it's intentionally simple and I'm not planning to add any extra features. If you need something more complex check out mp3binder which is an active fork with additional functionality.

License

This work has been placed in the public domain.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言