Skip to content
toolsdocks

Add audio or music to a video

Replace the sound of a video with an MP3, M4A or WAV file and export the result without a watermark or upload. The editor replaces the sound with one file; it does not mix two tracks.

Runs on your device

More options in the full Browser video editor.

Loading tool…

How to use it

  1. Choose a video.
  2. Open the Audio panel and select Replace audio.
  3. Choose an MP3, M4A, WAV, Ogg, FLAC or AAC file; it starts at 0:00.
  4. Select Export video.

Worked example

A silent 1:20 screen recording plus song.mp3 exports as a 1:20 MP4 with the song; if the song is longer than the video it is cut at the end.

Formats and limits

InputMP4, MOV, WebM, MKV
OutputMP4, WebM
LimitsThe export is built in memory, so very long or high-resolution projects may fail on devices with little RAM. Needs a browser with WebCodecs (current Chrome, Edge, Safari 17+ or Firefox 130+). Other browsers are told so before any work starts.
EngineMediabunny decoding → canvas compositor (crop, rotation, letterboxing, fades, text) → WebCodecs encoding; audio decoded, retimed and faded in a Web Worker

Limitations

  • One replacement track; it is not mixed with the clips' own sound.
  • The audio starts at 0:00 and cannot be offset.
  • The timeline is not saved: reloading the page clears it.
  • Needs a browser with WebCodecs: current Chrome or Edge, Safari 17 or later, or Firefox 130 or later. Other browsers are told so before any work starts.

Questions

Can I mix music under the original sound?

No. The editor replaces the sound of the whole edit with one audio file. Mixing two tracks is not available.

The music is shorter or longer than the video.

A shorter track ends early and the rest is silent. A longer track is cut where the video ends.

Can I start the music later than 0:00?

No. The replacement audio starts at 0:00; trim the audio file first with the audio editor if it needs a different start.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the Browser video editor ready for this task. See the privacy policy for how toolsdocks handles data.