Compressed files usually have a file extension that indicates their compression format. For example, ZIP files have a .zip extension, while RAR files have a .rar extension.