Forum Discussion
Alexander95s
Dec 01, 2026Copper Contributor
How can I trim mp3 file on Windows 11?
Recently, recorded a few MP3 files on my Windows 11 laptop. Some of them needs manual editing, mainly cutting out unwanted sections at the beginning and end. Some of the MP3 recordings are quite long...
Samuelook
Dec 01, 2026Brass Contributor
Hi, SoX is able to edit an MP3 as long as you have an appropriate version which includes MP3 functionality. Often the default version does not include this for licensing reasons. Below are steps to both identify if MP3 editing is available and to then learn how to trim mp3 file:
1. Open a command prompt and type in:
sox --help
Then, look at the section labelled "AUDIO FILE FORMATS" and check for mp3.
2. Assuming that it is possible to trim MP3s, you can now do so. The example below will extract 30 seconds from 60 seconds into the file:
sox input.mp3 output.mp3 trim 60 30
If mp3 not be present then a Windows compiled binary with LAME and MAD libraries must be obtained. Once this has been done, trim MP3s can again be achieved by using the above command.
Notes:
- Obtain a Windows compiled binary which has been compiled with LAME and MAD libraries if mp3 is not present.
- Always back up your original file.
- Include the full file path if the MP3 is not within the current directory.
Provided that you have an appropriate version, how to trim mp3 file can again be achieved by using the aforementioned command.