Video to MP4
Set a start point and length; ffmpeg re-encodes the section to MP4 that plays everywhere.
How Video to MP4 works
Cut a clip and save it as a standard MP4 (H.264). Set a start point and length; ffmpeg re-encodes the section to MP4 that plays everywhere. Everything happens inside this page: the tool reads your input, runs the calculation or conversion locally, and hands the result back to you. Nothing is transmitted, because there is no backend to transmit it to.
That design choice is deliberate. Most free tool sites upload your files to a server, process them there, and quietly keep a copy. Toolcin cannot do that — the site is a set of static files. If your connection dropped the moment the page finished loading, every tool would still work.
Trim and re-encode to H.264
Start and duration are given as timestamps (00:00:00 and 00:00:05 by default) and ffmpeg re-encodes that segment to H.264 in an MP4 container. Unlike a stream copy, a re-encode lands on exact frame boundaries.
MP4 with H.264 is the format every browser, phone and social platform accepts — which is why it is worth re-encoding even when the source is already MP4.
Re-encode versus stream copy
A stream copy is instant and lossless but can only cut near keyframes, so the start may be a second off. A re-encode is slower and slightly lossy but frame-accurate.
This page re-encodes, so the cut is where you asked for it.
| Method | Speed | Accuracy |
|---|---|---|
| Stream copy | Seconds | Keyframe-accurate only |
| Re-encode (this page) | Roughly real time | Frame-accurate |
Practical notes
Re-encoding a second time on an already-compressed clip costs quality; go back to the original when you can. Keep the tab visible, and expect the engine's one-time 31 MB download on first use.
Good to know
- Works offline once loaded, including on flights and in locked-down networks.
- No file size limit beyond your device's own memory.
- Free to use, with no account and no usage counter.
- Results are produced locally, so they are not logged or shared with anyone.
Questions
Is my video uploaded?
No. ffmpeg.wasm downloads once (about 31 MB) and then converts the file inside your browser.
Why is the first conversion slow?
The engine and its WebAssembly core must download before encoding starts. Later runs use the browser cache.
Does it keep the audio?
Yes, the audio stream is carried through the re-encode.
Can I change the resolution?
Not on this page; only the time range.
Keep going
More files tools
PDF Watermark
Add a diagonal text watermark to every page of a PDF. Set the text, size and opacity; pdf-lib stamps each page in your browser and downloads the result.
Open toolPDF Page Numbers
Add page numbers to a PDF, with three formats and positions. Choose start number, position and style (1, 1 of 10, Page 1); every page is numbered locally.
Open toolCreate ZIP
Bundle any number of files into a single ZIP archive. Files are deflated in your browser with JSZip and downloaded as one archive.
Open toolUnzip File
Open a ZIP file and download the files inside it. The archive is read locally; click any entry to save it to your device.
Open toolAudio Converter
Convert WAV, M4A or OGG audio into MP3. ffmpeg.wasm encodes to MP3 with the LAME encoder inside your browser.
Open toolGIF to MP4
Turn an animated GIF into an MP4 video. The GIF is decoded and re-encoded to H.264 MP4 locally with ffmpeg.wasm.
Open tool