Add Music to Video

Choose a video and a music file; the video gets the music as its soundtrack (any existing audio is replaced), looped to the video length or ending with the music.

  • Runs in your browser
  • Free to use
ctrl + enterFFmpeg (about 30 MB) is downloaded the first time, then cached.

About this tool

Add Music to Video gives a clip a new soundtrack in your browser: FFmpeg copies the video stream untouched and replaces the audio with the MP3, WAV or M4A you choose, looped to the video length or ending with the song. Ideal for screen recordings, product clips and social videos.

Related: Audio Remover, Audio Extractor, Add Music to Photos.


How to use it — quick steps

  1. 01

    Add the video and the music

    Drop or choose the video (up to 150 MB) and the audio file (up to 50 MB); both get a preview player.

  2. 02

    Choose how to fit the music

    Loop it until the video ends, or stop the video when the music ends; the old soundtrack is replaced.

  3. 03

    Press "Add music"

    FFmpeg copies the video stream and encodes the music; the result appears with a player and download.


Key features of this tool

  • Video copied, not re-encoded

    Only the audio is encoded (AAC, or Opus for WebM), so the picture stays identical and the job is fast.

  • Loop or cut

    A short track can be looped seamlessly to cover the whole video, or the video can end with the music.

  • FFmpeg in your browser

    The real FFmpeg, compiled to WebAssembly and loaded on first use (about 30 MB, then cached); files are processed locally and never uploaded.


Frequently asked questions

Can I keep the original audio and mix the music in?

Not in this tool: the music replaces the existing track. Extract the original audio first if you need it.

What if the music is longer than the video?

The output ends with the video; the music is cut there.

Why is the first use slow?

FFmpeg (about 30 MB) is downloaded the first time and cached; after that it starts in a second or two. Encoding itself runs on one CPU core, so long videos take a while.

Are my files or data uploaded?

No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial