Add Audio to Video
Put a new soundtrack on a video in your browser, with an optional start delay. Audio is decoded locally and saved into an MP4.
Loading the tool…
Is this tool not working?
Tell us what went wrong and we’ll fix it. The report is sent with the page you’re on (/add-audio-to-video/), so you don’t need to name the tool.
About the Add Audio to Video
Add Audio to Video lays a soundtrack over a clip and writes a new MP4, entirely inside your browser. Choose a video and an MP3, WAV, M4A, OGG, FLAC or AAC file, optionally set a start delay in seconds, and the tool replaces the video’s original audio with the new one. It does not mix the two: the old track is dropped, which makes the result predictable and avoids the level and sync problems that a naive mix would cause. If you want to keep the original sound as well, you need a mixer rather than this tool, and the page says so before you commit. The soundtrack is decoded with the Web Audio API on your device, so the browser decides which codecs it can open; anything it cannot decode is reported as an error rather than replaced with silence. Once decoded, the audio is trimmed to the space between your start offset and the end of the video. If the soundtrack is shorter, silence is appended so the audio track still runs to the end. If it is longer, the extra tail is cut with a short fade-out instead of an abrupt click. A start delay leaves the opening of the video silent, which is useful when a title card should breathe before the music arrives. The soundtrack is encoded by Mediabunny through WebCodecs, using AAC where the browser supports it and falling back to Opus in MP4 where it does not, with a plain note on the result when that happens. AAC is preferred because phones, browsers and TVs all accept it; Opus in MP4 plays in Chrome and Firefox but not on some older hardware, so the page never hides the difference. Mediabunny writes exact sample timestamps so the new sound stays locked to the frames it belongs to. The page never stretches the picture to fit the audio and never changes the frame rate. The picture is usually copied unchanged: because the video is written by a composable conversion, the existing video frames are reused whenever their codec fits MP4, and re-encoded only when it does not. That means a long H.264 clip can get a new soundtrack in seconds, with the image bit-for-bit identical to the source. The page reads both files locally, shows the video length, resolution and codec alongside the soundtrack’s length, sample rate and channel count, and previews the timing plan before you start. Nothing is uploaded, there is no signup, no watermark and no daily limit, and the original files are never modified. Large files are limited by browser memory rather than by a service, and the progress bar and cancel button keep the job under your control. Preview the result to check that the music starts where you intended and ends cleanly, then download the MP4.
How to use it
- Drop a video (MP4, WebM, MOV or MKV) onto the left panel and a soundtrack (MP3, WAV, M4A, OGG, FLAC or AAC) onto the right. Both are inspected on your device.
- Read the summary: it shows the video length and codec, and the soundtrack length, sample rate and channels. Unsupported audio produces a plain error.
- Set Start soundtrack at to a number of seconds. Zero starts on the first frame; a delay leaves the opening silent. The note explains whether the audio will be trimmed or padded.
- Press Add audio to video. The picture is copied where MP4 allows and the soundtrack is encoded as AAC, or as Opus if this browser lacks an AAC encoder; watch the progress bar and use Cancel if needed.
- Preview the MP4 to confirm the timing and the clean fade at the end, then download it. Your original video and audio files stay untouched.
Worked example
Good to know
This tool processes everything locally with JavaScript. Nothing you paste or upload is transmitted to Hellagape or to any third party, and closing the tab clears the data. There is no daily limit and no account requirement. Results are provided for information only; for legal, financial or medical decisions, confirm the outcome with a qualified professional.
FAQ
Add Audio to Video questions
Does this keep the original audio as well as the new soundtrack?
No. The original audio track is removed and the new one takes its place. That is deliberate: mixing two soundtracks needs volume, panning and ducking controls, and simply stacking them usually clips or buries the voice. Use an audio mixer first if you need both.
Are my video and audio files uploaded?
No. Both are opened from your disk with the File API. Web Audio decodes the soundtrack and Mediabunny writes the MP4 in your browser. There is no server in the path, so the tool works offline after the page loads, and closing the tab leaves nothing behind.
What happens if the music is shorter or longer than the video?
A shorter soundtrack is padded with silence so the audio track still ends with the picture. A longer one is trimmed to the available time with a 0.4-second fade-out, so it does not end in a click. The page shows which case applies before you start.
Which audio formats can I use?
MP3, WAV, M4A, OGG, FLAC and AAC are offered, subject to what your browser can decode with the Web Audio API. If decoding fails, the page reports the failure instead of producing a video with no sound. The output is AAC in an MP4 where the browser can encode it, otherwise Opus in MP4 with a note on the result.
Does adding audio re-encode the video?
Usually not. The video is added through a composable conversion, so compatible streams such as H.264 are copied into the new MP4 with no quality loss. A source codec MP4 cannot carry is re-encoded once; the page names the codecs so you can tell which path was used.
Can I fade the music in, change its volume or loop it?
No. The tool offers a start offset and a short fade-out when the soundtrack has to be trimmed, but no volume, fade-in, looping or equalisation controls. Those belong in an audio editor; prepare the soundtrack there and then add it to the video here.
Keep going