If you have access to the source code (C++, C#, Rust, etc.), you can recompile it into WebAssembly
If you have the source code or want to host the existing .exe on a server so users can access it via a browser, you can use "remoting" software. This essentially streams the application interface to a web link. convert exe to web application link
Best for: Long-term scalability and public-facing products. If you have access to the source code (C++, C#, Rust, etc
Then access: http://yourserver.com/run-exe convert exe to web application link