Upload files

  • Only ask users to upload something if it is essential to the delivery of your service.
  • In the help text, explain what can be uploaded here - file size, number of files, etc., for example "you can upload a maximum of six documents, maximum for each file size 50MB".

File upload errors

To prevent errors, only allow the relevant format of file to be uploaded. Make sure errors follow the guidance, and have specific error messages for specific error states.

If no file has been selected

Say ‘Select a [whatever they need to select]’.
For example, ‘Select a report’.

If the file is the wrong file type

Say ‘The selected file must be a [list of file types]’.
For example, ‘The selected file must be a JPG, BMP, PNG, TIF or PDF’.

If the file is too big

Say ‘The selected file must be smaller than [largest file size]’.
For example, ‘The selected file must be smaller than 50MB’.

For further guidance, see file uploads.

Page last reviewed: 21 January 2026