# Changing a file's type

Perforce file types determine how a file is stored in the depot and synced to the workspace, and whether it can be diffed.

To change a file's Perforce file type (or other storage attributes):

1. Context-click the desired file and choose Check Out. The file is checked out.
2. Context-click the file and choose Change Attributes... The Attributes dialog is displayed.
3. Set the desired attributes and click OK to dismiss the dialog.
4. Submit the changelist containing the file.

For details about file types and attributes, refer to the Perforce Command Reference.