Choose the same procedure
Use the same checksum method for both files, for example SHA-256. Calculate the values using a trusted local tool. Do not upload sensitive files to any online checksum service.
Compare files separately
Calculate the checksum of the unchanged original first, then calculate the checksum of the downloaded copy using the same method. Compare the complete character strings. Editing the content or exporting the file again can legitimately produce a different checksum.
Understand boundaries
The same checksums provide a strong indication of identical file contents. They do not prove who created a file or whether its contents are harmless. Also check whether you can open the file with the required program.
Example
For an unmodified ZIP file, the locally calculated SHA-256 values match before upload and after download. The separate opening test also checks the archive format.