Command-line tool
mkvtoolnix
brew/mkvtoolnix
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Matroska media files manipulation tools mkv mkvextract mkvinfo mkvmerge mkvpropedit
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id MoritzBunkus.MKVToolNix -e scoop bucket add extras; scoop install extras/mkvtoolnix
macOS
brew install mkvtoolnix
Linux
brew install mkvtoolnix
Display information about a Matroska file
mkvmerge --identify path/to/file.mkv
Extract the audio from track 1 of a specific file
mkvextract tracks path/to/file.mkv 1:path/to/output.webm
Extract the subtitle from track 3 of a specific file
mkvextract tracks path/to/file.mkv 3:path/to/subs.srt
Related command-line tools
- MKVToolNix
GUI including a set of tools to create, alter and inspect Matroska files (MKV) - gmkvextractgui
A GUI for mkvextract utility (part of MKVToolNix) which incorporates most (if not all) functionality of mkvextract and… - mkclean
Optimizes Matroska and WebM files - mkvdts2ac3
Convert DTS audio to AC3 within a matroska file - mkvalidator
Tool to verify Matroska and WebM files for spec conformance - ogmtools
OGG media streams manipulation tools - dwarf
Object file manipulation tool - distant
Operate on a remote computer through file and process manipulation
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents