# Corrupted Files

This page explains music files with corrupted data.

If Tagger is unable to read a file, it will be ignored and a dialog will be displayed listing corrupted files for you to manage and fix accordingly.

This dialog will offer the option to have Tagger run the appropriate command to try and fix the corrupted file.

## Invalid Data

An invalid tag header or junk data in a file can cause issues when reading information about a file and even cause playback issues. Some websites add extra junk data in files which in turn causes corruption.

FFmpeg can be used to fix corruption issues. Run the following command to re-encode a file's tag and remove junk data:

    ffmpeg -i in.mp3 out.mp3

where in.mp3 is the file path of the corrupted file and out.mp3 is the path to export the re-encoded file.

You can also use fre:ac to re-encode files without convertion to another format.

## Invalid Album Art

An invalid or corrupted embedded album art format can cause issues in displaying music files in Tagger.

FFmpeg can be used to fix album art issues. Run the following command to remove album art data from a file:

    ffmpeg -map 0:a -c:a copy -map_metadata -1 -i in.mp3 out.mp3

where in.mp3 is the file path of the corrupted file and out.mp3 is the path to export the re-encoded file.