TS, MTS and M2TS to MP4 Converter
Convert TS, MTS and M2TS recordings to MP4 in your own browser, with nothing uploaded. The video inside a camcorder or set-top recording is usually already H.264, and then this is a lossless remux that finishes in seconds; an older MPEG-2 TV recording is the exception and has to be re-encoded.
TS, MTS or M2TS to MP4
Drop the file in. It is remuxed in this tab, not uploaded anywhere.
Loading the converter...
How to convert TS, MTS or M2TS to MP4
Drop in the file
Drag a .ts, .mts or .m2ts file onto the box above, or click to browse for it. From an AVCHD camcorder, open the BDMV folder and take the .MTS files out of the STREAM subfolder first. Nothing leaves your computer at any point.
Check what it says it will do
The converter reads the container, video codec, resolution, frame rate and audio codec straight from your file, then states in words whether it is copying the streams or re-encoding them. For a normal H.264 transport stream it will say copied.
Convert and save
Press Convert. A remux takes seconds no matter how long the recording is, because nothing is decoded. The MP4 is written with its index at the front, so it seeks instantly and streams properly, then downloads straight to your device.
What a .ts file actually is
A TS file is an MPEG transport stream: a long chain of fixed 188-byte packets, each tagged with the identifier of the stream it belongs to, interleaved so that a receiver can join anywhere and start decoding within a fraction of a second. It was designed for broadcast, where there is no start of file and no end of file, only a signal arriving. MTS and M2TS are the same format with a four-byte arrival timestamp attached to the front of every packet, giving 192-byte packets instead of 188. That is the flavour Blu-ray discs and AVCHD camcorders write.
MP4 is the opposite idea: a file with a table of contents, the moov atom, listing where every frame lives and how long it lasts. Players read that index once and can then jump anywhere instantly. The catch is that the index can only be written when the recording ends — which is exactly why the things that write TS write TS. A dashcam that loses power or a recorder that crashes leaves a transport stream that still plays up to the last complete packet, whereas a half-written MP4 with no moov atom is usually a dead file.
So the reason you are here is not that TS is a bad format. It is that TS is a delivery and recording format, and everything downstream — editors, phones, browsers, smart TVs, messaging apps — expects the indexed one.
| TS | MTS / M2TS | MP4 | |
|---|---|---|---|
| Structure | 188-byte packets | 192-byte packets (188 plus a timestamp) | Indexed boxes with a moov atom |
| Usually written by | DVRs, TV tuners, IPTV, dashcams, OBS | AVCHD camcorders, Blu-ray | Phones, cameras, editors, everything else |
| Survives a crash mid-recording | Yes | Yes | Often not |
| Seeking | Player has to scan | Player has to scan | Instant, from the index |
| Typical video inside | H.264, sometimes MPEG-2 | H.264 (AVCHD), sometimes HEVC | H.264 or HEVC |
| Typical audio inside | AAC, AC-3 or MP2 | AC-3 or PCM | AAC |
Why this is a copy, not a conversion
Nearly every TS, MTS and M2TS that lands on this page already contains H.264 video, and H.264 is perfectly legal inside an MP4. There is nothing to convert. The converter unwraps the packets, writes the same compressed frames into MP4 boxes and builds the index, moving it to the front of the file with faststart so the result streams properly too. No pixel is decoded or re-compressed: the output is bit-for-bit the picture you started with, and it finishes in seconds whether the recording is two minutes or two hours.
Every re-encode throws information away, however high you set the quality, so the right answer for a TS file is usually to refuse the re-encode entirely. The converter above works that out from your actual file before you press anything: it reads the container, video codec and profile, resolution, frame rate and audio codec, then says in plain words whether it will copy or re-encode. If it says copied, the quality question is settled.
The cases where it is not a straight copy
Two kinds of TS file break the easy path, and both come from television rather than from a camera.
| What is inside your TS | What happens |
|---|---|
| H.264 video, AAC audio (dashcams, OBS, IPTV, most AVCHD after 2010) | Pure remux. Lossless, seconds. |
| H.264 video, AC-3 audio (AVCHD camcorders, some broadcasts) | Picture copied. AC-3 goes into the MP4 as-is, which VLC and most TVs handle but QuickTime and some browsers do not. Set audio to re-encode if you need it to play anywhere. |
| H.264 video, MP2 audio (European DVB broadcasts) | Picture copied, sound re-encoded to AAC. Still fast. |
| MPEG-2 video (older digital TV recordings, DVD rips) | Full re-encode to H.264. Slow in a browser tab, and the only case on this page where quality settings matter. |
| HEVC video (newer 4K broadcasts and cameras) | Copied into the MP4. If the target device then refuses to play it, the codec is the problem, not the container. |
MPEG-2 is the one to watch: an MP4 player cannot be relied on to decode it, so the converter re-encodes rather than pretending a copy will work, and a long MPEG-2 recording is the slowest job this tool does. If the sound comes out silent rather than missing, suspect the audio codec, not the conversion — the guide on audio that plays in one app but not another covers it. Unsure what is in the file at all? Check the codec first; it reads the file in your browser without converting anything.
MTS, M2TS and the AVCHD folder problem
Camcorder footage arrives with an extra obstacle. AVCHD is not a file, it is a folder structure copied from Blu-ray: a BDMV directory with the actual video buried in a STREAM subfolder as numbered .MTS files, alongside index and playlist files that no general-purpose player uses. If you dragged the whole card into a folder and cannot see anything to convert, open the STREAM folder and take the .MTS files out. Those are your recordings.
The second quirk is splitting. Camera cards are formatted FAT32, which cannot hold a file larger than 4 GB, so a long take is written as several consecutive .MTS files meant to be played back to back. This converter handles one file at a time and cannot join them: there is no concatenation and no batch queue. Convert each part separately, or join them in a desktop tool first if you need one continuous clip.
What does not survive the conversion
A remux keeps the first video stream and the first audio stream. Everything else is left behind, and the converter says so before it runs:
- Subtitle tracks. Broadcast recordings often carry DVB subtitles or teletext. They are dropped.
- Extra audio tracks. A recording with a second language or a commentary track keeps only the first.
- Data streams. This is the important one for dashcams. If your camera embeds GPS coordinates, speed or G-sensor readings as a private data stream inside the TS, that stream will not be in the MP4. Export the trip data with the camera's own player first if you need it, or keep the original TS alongside the MP4.
- Broadcast metadata such as programme information and the original service name.
Keep the original until you have checked. A remux is lossless for the picture, but it is not a perfect archive of a broadcast or dashcam recording. Play the MP4 through before you delete anything.
The honest limits of doing this in a tab
The converter runs FFmpeg compiled to WebAssembly inside this page. Nothing is uploaded, there is no server and no account, and once your first conversion has fetched the engine, it keeps working with the network off. The trade is memory: a 32-bit WebAssembly heap cannot address more than about 2 GB, so larger files are refused outright, and above roughly 300 MB the page warns you that it wants around three times the file size in free memory.
That ceiling bites less here than you would expect, because a remux never decodes anything: an hour-long transport stream that fits under the limit finishes about as fast as your disk can write it. The build is single-threaded, though, so the MPEG-2 case above is genuinely slow — think roughly real-time at 720p and worse at 1080p. That is where the phone app, with your device's hardware encoder and no size ceiling, earns its place.
The situations that send people to this page
Four, mostly. A dashcam or DVR card full of .ts clips that Windows Photos, Premiere or CapCut refuses to open. An AVCHD camcorder whose .MTS files the editor imports as audio only, or not at all. A screen recording made in MPEG-TS for crash safety that now has to become a normal deliverable — the same argument for remuxing rather than re-encoding applies to an MKV recording. And a TV recording that has to play from a USB stick, where the container is only half the battle and what a TV will actually decode from USB is the rest.
Two neighbours are worth knowing. If your new MP4 still will not play on a Windows PC or an older TV, the file is probably HEVC and the fix is converting the codec to H.264, a real re-encode. If the destination is Final Cut, wrapping the same streams in a MOV is another instant copy. And if the sound slides out of sync as the clip runs on, a variable frame rate is the suspect, not the container.
Questions about TS, MTS and M2TS files
Short answers here, the full story in the guides.
Does converting TS to MP4 lose quality?
No, not when it is a remux, which is what almost every TS file gets. The H.264 video already inside your transport stream is copied frame for frame into the MP4 container without being decoded or re-compressed, so the picture is bit-for-bit identical. Quality is only ever lost if the file holds MPEG-2 video, which has to be re-encoded.
What is the difference between TS, MTS and M2TS?
They are all MPEG transport streams. Plain TS uses 188-byte packets and comes from tuners, IPTV, dashcams and OBS. MTS and M2TS add a four-byte arrival timestamp to each packet, making them 192 bytes, and come from AVCHD camcorders and Blu-ray. MTS is what the camcorder writes to the card; M2TS is the same stream after some software has copied it off.
Why can't I find my MTS files on the camcorder card?
They are inside the AVCHD folder structure, which is copied from Blu-ray. Look for a BDMV directory and open its STREAM subfolder: the numbered .MTS files in there are your recordings. The index and playlist files beside them are not needed for conversion. Copy the .MTS files out, then drop them into the converter one at a time.
Will the GPS data from my dashcam survive?
No. A remux keeps the first video stream and the first audio stream, and any private data stream carrying GPS coordinates, speed or G-sensor readings is dropped. If you need the trip data, export it with the camera's own viewer before converting, or keep the original .ts file alongside the MP4. The converter lists every track it is about to leave behind.
How big a TS file can I convert in the browser?
Up to 2 GB. The converter runs inside a 32-bit WebAssembly heap, which cannot address more than that, and above roughly 300 MB it warns you that it wants about three times the file size in free memory. A remux is not affected by length, only by size, so a long recording that fits will still finish in seconds.
Is my recording uploaded to a server?
No. FFmpeg is compiled to WebAssembly and runs in this tab, reading the file from your disk into your own browser's memory. There is no server, no account and no upload. The first conversion downloads the engine once; after that you can disconnect from the internet and it still works. A file that is never uploaded cannot be retained or scanned by anyone.
The MP4 came out silent. What went wrong?
Almost certainly the audio codec rather than the conversion. AVCHD camcorders and broadcasts often use AC-3, which is copied into the MP4 as-is and which QuickTime and some browsers refuse to decode. Run it again with the audio option set to re-encode and you will get AAC, which plays everywhere. Nothing about the picture changes.
Other conversions
MOV to MP4
Convert MOV to MP4 free in your browser.
Open the converter →MKV to MP4
Convert MKV to MP4 free in your browser, with no upload and no daily limit.
Open the converter →AVI to MP4
Convert AVI to MP4 free in your browser with real quality control.
Open the converter →WebM to MP4
Convert WebM to MP4 free in your browser.
Open the converter →MP4 to MOV
Convert MP4 to MOV free in your browser for QuickTime, iMovie and Final Cut.
Open the converter →HEVC to H.264
Convert HEVC (H.265) video to H.264 MP4 free in your browser, nothing uploaded.
Open the converter →Read next
Check what codec your video actually uses
Something will not play, import or upload, and every fix they have read starts with an assumption about the file. They want to know what is actually inside it without installing MediaInfo or learning VLC's codec panel.
Read the guide →Video plays but there's no sound: fixing an unsupported audio codec
The picture is fine, the sound is silent, and every result tells them to install AC3Filter, a codec pack, or VLC. Nobody offers a fix for the file itself, so the problem follows the file to the next device.
Read the guide →Getting an MKV to play on a smart TV from USB
They put a movie on a USB stick, the TV either skips the file or plays the picture with a 'sound format not supported' banner, and the only pages that come up are ad-heavy affiliate posts from a decade ago.
Read the guide →Converting camcorder footage on your phone
Video Converter converts between MP4, MOV, MKV, AVI and 3GP with your device's own hardware encoder, so there is no 2 GB ceiling and no waiting through a software encode, and every job stays in History. It is free on Android; on iPhone the first conversion is free and further conversions need the paid upgrade.