RepairAnyFile
All supported formats
video.mp4

Repair Corrupted MP4 Videos & Truncated Atoms Online

Walks ISO Base Media (`ftyp`, `moov`, `mdat`) atoms, repairs truncated or zeroed `mdat` media sizes, and checks for missing `moov` index atoms.

Select or drop MP4 files

Accepts .mp4 files (or any supported format). Runs 100% locally in your browser.

No MP4 file handy? Try a broken sample:
0 bytes uploaded • Zero server storage

MP4 Errors You Might See

  • MP4 video won't play or shows "Invalid data found when processing input"
  • Phone or screen recording cut off before writing the final `mdat` size
  • Players report missing `moov` atom on crashed camera recordings

What We Repair Locally

  • Verifies `ftyp`, `moov`, and `mdat` ISO BMFF atom structure
  • Recalculates zeroed or truncated `mdat` media atom sizes to match EOF
  • Probes playable video metadata and renders an in-browser video player

How MP4 Repair Works

1

Inspect MP4 Atoms

Walks `ftyp`, `moov`, and `mdat` box headers.

2

Fix mdat Size

Updates truncated or zeroed `mdat` byte lengths to match EOF.

3

Verify Playback

Probes video dimensions/duration and renders a local player.

What Cannot Be Repaired Automatically

Related MP4 Error Guides

Other video Formats

Frequently Asked Questions

Are my private videos uploaded to a server?
No. All MP4 inspection and repair runs locally inside your browser Web Worker.
What if my MP4 is missing its moov atom?
If the camera crashed before writing `moov`, RepairAnyFile flags it honestly as `Partially Repaired` because codec parameters and frame timestamps are absent.