A problem with the HTML file changes its format when uploaded to the server

When I upload my html file to my website and open the source code using inspect in browser, it appear like this:

%3Cdiv%2Fid%3D'pnz'%2Fclass%3D

where is the problem?

Thank you.