The accepted list by portal
Formats are from IRCC's Help Centre answer on accepted file formats by portal (qnum 1124).
What's not accepted
Excel spreadsheets (.xls, .xlsx), ZIP archives, and most other file types are rejected by IRCC upload fields. Provincial portals such as OINP can accept Excel and other formats listed on ontario.ca. A format that works on one portal can still fail on another, so check the table above for the account you use. If a bank or employer sends you data as a spreadsheet for an IRCC upload, export or print it to PDF before you upload it.
Official IRCC references: IRCC application forms and guidesImmigration and citizenship on canada.ca