Remove location metadata from video
Updated: November 24, 2026
Before sharing a video recorded somewhere private, make a separate copy and check the file for coordinates. Some devices write location to the container’s metadata. You can leave those tags out of an export and inspect the resulting file before you upload it.
Inspect the original
Open the file with a tool that lists format and stream tags. Look for names containing location, GPS, or ISO6709. A rehearsal clip from a home, for example, may have a location tag and show the front entrance in the picture. Note what needs attention without copying the coordinates into a shared document.
ffprobe -v error -show_entries format_tags:stream_tags -of json private.mp4Make a publishing copy
The FFmpeg example selects the first actual video stream and any audio streams. It disables automatic tag and chapter copying and keeps the selected streams without re-encoding them. The example assumes those streams can be written to MP4. If you need an additional track, inspect it before including it. Save the output under a different name.
If someone else handles the upload, give them the reviewed copy and record its filename with the handoff. Run the inspection again whenever you make a fresh export from the original. A replacement file may have different metadata even when the picture and sound are unchanged.
ffmpeg -i private.mp4 -map 0:V:0 -map '0:a?' -map_metadata -1 -map_metadata:s -1 -map_chapters -1 -c copy share.mp4Check the actual upload file
Inspect the copy. Check that the location fields you saw earlier are gone, that the tracks you need remain, and that the orientation is correct. Play through it to check for visible addresses, license plates, or details spoken aloud. Fix any of those in an editor before publishing. Upload the reviewed copy and keep the original private.
Frequently asked questions
Use a metadata tool that understands your file format and review the picture and sound. Removing file tags cannot remove information recorded in the footage.